Probably if attendance was not a requirement, the most disagreeable persons left the compound. This is a solution of course (which sounds less harsh than expulsion)
i hope that was that a deliberately joking use of the word 'compound' to refer to a school? (though probably how I felt about my first school emotionally).
we had very few expulsions at the first school during my time there. but I can remember several instances of kids bullied until they had to leave. honestly it all seems so unjust and barbaric looking back.
Typically one would just say - the school, or perhaps the grounds. Campus is also common; but generally in the context where the school has multiple campuses.