Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ModeAndSetPoints.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ModeAndSetPoints,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ModeAndSetPoints") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ModeAndSetPoints,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ModeAndSetPoints") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 103.7 kB / 16.37 MB, free: 6.367 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.0009589/0.0009589, allocations: 191.5 kB / 17.3 MB, free: 5.914 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.334/1.334, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.694/1.694, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/2.992e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ModeAndSetPoints): time 0.03266/0.03271, allocations: 28.97 MB / 0.7012 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0262/0.05897, allocations: 14.81 MB / 0.7157 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00883/0.06784, allocations: 243.1 kB / 0.7159 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006881/0.07475, allocations: 1.686 MB / 0.7176 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008833/0.08361, allocations: 1.375 MB / 0.7189 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01916/0.1028, allocations: 8.121 MB / 0.7268 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02795/0.1308, allocations: 20.94 MB / 0.7473 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0303/0.1611, allocations: 17.87 MB / 0.7647 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01294/0.1741, allocations: 7.256 MB / 0.7718 GB, free: 88 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0101/0.1843, allocations: 7.324 MB / 0.779 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.009527/0.1938, allocations: 2.773 MB / 0.7817 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006617/0.2005, allocations: 2.855 MB / 0.7845 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.5688/0.7693, allocations: 23.07 MB / 0.807 GB, free: 85.12 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.01162/0.7809, allocations: 13.72 MB / 0.8204 GB, free: 75.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007973/0.7889, allocations: 2.772 MB / 0.8231 GB, free: 75.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.003461/0.7924, allocations: 1.195 MB / 0.8243 GB, free: 74.67 MB / 0.6544 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.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ModeAndSetPoints.occSch.getOutput(time, occSch.period, occSch.occupancy, occSch.firstEntryOccupied, 2)