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.0009398/0.0009398, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009999/0.001, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.5619/0.5619, allocations: 95.58 MB / 366 MB, free: 10.4 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.0005842/0.0005843, allocations: 12 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2855, allocations: 70.36 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes): time 0.003462/0.289, allocations: 3.968 MB / 0.5089 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.2918, allocations: 2.05 MB / 0.5109 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005305/0.2923, allocations: 27.88 kB / 0.5109 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.2926, allocations: 118.9 kB / 0.511 GB, free: 10.32 MB / 382.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.0003055/0.293, allocations: 119.6 kB / 0.5111 GB, free: 10.2 MB / 382.1 MB