Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Utilities.Validation.OptimalStartHeatingCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optCoo.tOpt|optSta.optHea.tOpt|optSta.optOn|optSta.optCoo.optOn|optSta.optHea.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optCoo.tOpt|optSta.optHea.tOpt|optSta.optOn|optSta.optCoo.optOn|optSta.optHea.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.0008963, allocations: 112.2 kB / 16.43 MB, free: 6.496 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.0008455/0.0008455, allocations: 183.8 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.114/1.114, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.177/2.177, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.607e-05, allocations: 6.219 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling): time 0.006706/0.006733, allocations: 6.067 MB / 1.061 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004416/0.01116, allocations: 2.778 MB / 1.063 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.01218, allocations: 39.81 kB / 1.063 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007414/0.01293, allocations: 280.8 kB / 1.064 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009084/0.01384, allocations: 249.5 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.01611, allocations: 1.238 MB / 1.065 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002655/0.01877, allocations: 2.868 MB / 1.068 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/0.02114, allocations: 2.251 MB / 1.07 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008407/0.02199, allocations: 1.005 MB / 1.071 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007525/0.02275, allocations: 0.9994 MB / 1.072 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003166/0.02308, allocations: 344 kB / 1.072 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004545/0.02354, allocations: 455.8 kB / 1.073 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001612/0.02516, allocations: 3.167 MB / 1.076 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.3832/0.4083, allocations: 1.908 MB / 1.078 GB, free: 18.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006887/0.4091, allocations: 391.2 kB / 1.078 GB, free: 18.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0005466/0.4096, allocations: 182 kB / 1.078 GB, free: 18.57 MB / 0.8419 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.Utilities.Validation.OptimalStartHeatingCooling.occSch.getOutput(time, occSch.period, occSch.occupancy, occSch.firstEntryOccupied, 2)