Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") [: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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4779/0.4779, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001119/0.001119, allocations: 171.6 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.231/1.231, allocations: 170.5 MB / 319 MB, free: 9.598 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001683/0.001683, allocations: 105.6 kB / 381 MB, free: 18.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.012e-05/1.039e-05, allocations: 224 / 448.6 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1449, allocations: 61.53 MB / 0.4981 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.5095, allocations: 104.7 MB / 0.6004 GB, free: 13.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.5098, allocations: 87.94 kB / 0.6005 GB, free: 13.54 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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