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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007023/0.007023, allocations: 102.8 kB / 15.73 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 195.2 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6267/0.6267, allocations: 95.48 MB / 365.4 MB, free: 9.777 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 71.91 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2088, allocations: 69.09 MB / 0.5711 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes): time 0.007169/0.216, allocations: 4.636 MB / 0.5756 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004287/0.2204, allocations: 2.105 MB / 0.5777 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006618/0.2211, allocations: 27.88 kB / 0.5777 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.2217, allocations: 181.9 kB / 0.5779 GB, free: 1.324 MB / 446.1 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 Buildings.Examples.VAVReheat.Controls.OperationModes(occupied, unoccupiedOff, unoccupiedNightSetBack, unoccupiedWarmUp, unoccupiedPreCool, safety) in component . Notification: Performance of FrontEnd: time 0.0003983/0.2221, allocations: 126.8 kB / 0.578 GB, free: 1.199 MB / 446.1 MB