Notification: Performance of loadModel(Buildings): time 2.337/2.337, allocations: 268.2 MB / 275.3 MB, free: 6.453 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.884e-05, allocations: 0 / 339.2 MB, free: 6.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2986, allocations: 61.54 MB / 400.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.4798, allocations: 104.8 MB / 0.4937 GB, free: 4.668 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/0.4802, allocations: 91.88 kB / 0.4938 GB, free: 4.578 MB / 426.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 1.6/Examples/VAVReheat/Controls/Examples/OperationModes.mo:23:53-24:33:writable] Error: Cannot resolve type of expression mode.y == .Buildings.Examples.VAVReheat.Controls.OperationModes.occupied. The operands have types Integer, enumeration(occupied, unoccupiedOff, unoccupiedNightSetBack, unoccupiedWarmUp, unoccupiedPreCool, safety) in component . Error: Error occurred while flattening model Buildings.Examples.VAVReheat.Controls.Examples.OperationModes Notification: Performance of FrontEnd: time 0.1061/0.5863, allocations: 25.63 MB / 0.5189 GB, free: 10.84 MB / 458.7 MB