I used to go to a school where the primary (elementary) and secondary (middle+high) schools both share the same area. So basically as a secondary schooler, I could walk to the primary side without ever leaving the gated school grounds.
The adjective in Malay is "Kompleks" which directly translates to "complex" but I don't think the term "complex secondary school" is a thing.