Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001093/0.001093, allocations: 107.1 kB / 16.37 MB, free: 6.363 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.001077/0.001077, allocations: 191.5 kB / 17.31 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.108/1.108, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.507/1.507, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.831e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes): time 0.005297/0.005328, allocations: 4.755 MB / 0.6775 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.0083, allocations: 2.183 MB / 0.6796 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003263/0.008637, allocations: 35.81 kB / 0.6796 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.009021, allocations: 178 kB / 0.6798 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.009395, allocations: 182.1 kB / 0.68 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.0107, allocations: 0.8375 MB / 0.6808 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.01199, allocations: 1.738 MB / 0.6825 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.01343, allocations: 1.549 MB / 0.684 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005199/0.01396, allocations: 0.7009 MB / 0.6847 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005075/0.01448, allocations: 0.6884 MB / 0.6854 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.01468, allocations: 196 kB / 0.6856 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.015, allocations: 295.9 kB / 0.6858 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.001151/0.01616, allocations: 2.159 MB / 0.688 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0005752/0.01674, allocations: 1.308 MB / 0.6892 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.01693, allocations: 243.2 kB / 0.6895 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001765/0.01711, allocations: 135 kB / 0.6896 GB, free: 4.625 MB / 0.5606 GB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (occSch.tOcc, occSch.tNonOcc, occSch.occupied, occSch.tNext) := Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.occSch.getOutput(time, occSch.period, occSch.occupancy, occSch.firstEntryOccupied, 2)