[:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 2.705/2.705, allocations: 268.2 MB / 275.2 MB, free: 7.703 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1595/2.864, allocations: 63.85 MB / 339 MB, free: 8.051 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/3.185, allocations: 61.52 MB / 400.5 MB, free: 14.01 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/3.376, allocations: 104.8 MB / 0.4934 GB, free: 5.094 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003652/3.376, allocations: 83.95 kB / 0.4935 GB, free: 5.012 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 Error: Internal error SimCode: The model Buildings.Examples.VAVReheat.Controls.Examples.OperationModes could not be translated to FMU