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.00996/0.00996, allocations: 100.5 kB / 15.73 MB, free: 5.582 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.002038/0.002038, allocations: 195.9 kB / 16.67 MB, free: 5.523 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.793/1.793, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4618/0.4618, allocations: 95.47 MB / 365.4 MB, free: 12.17 MB / 318.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.001481/0.001481, allocations: 71.91 kB / 0.5036 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5018, allocations: 69.09 MB / 0.5711 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes): time 0.007676/0.5096, allocations: 4.634 MB / 0.5756 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004683/0.5143, allocations: 2.101 MB / 0.5777 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009265/0.5153, allocations: 31.88 kB / 0.5777 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006819/0.516, allocations: 181.9 kB / 0.5779 GB, free: 13.16 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.0006672/0.5166, allocations: 122.8 kB / 0.578 GB, free: 13.04 MB / 446.1 MB