GymRoom can only be used 4 days per week(GymRoom has to be free on 3 afternoons)
If you specify only the afternoon lessons in the timeoff map, then the constraint will only count days where the classroom is used in the afternoon.
So you can specify for example max 2 on afternoon lesson, this would mean that the classroom is free on 3 afternoons per week.
See also
Reducing the room usage
Slovenčina
Deutsch
España
Francais
Polish
Russian
Čeština
Greek
Lithuania
Romanian
Arabic
Português
Indonesian
Croatian
Serbia
Farsi
Hebrew
Mongolian
Bulgarian
Georgia
Azerbaijani
Thai
Turkish
Magyar