Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.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.OptimalStartHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optStaHea.tOpt|TSetHea.y|optStaHea.TZon|optStaHea.optOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optStaHea.tOpt|TSetHea.y|optStaHea.TZon|optStaHea.optOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 113.1 kB / 16.43 MB, free: 6.492 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.001047/0.001047, allocations: 185.5 kB / 17.35 MB, free: 5.742 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.15/1.15, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.171/2.171, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.604e-05, allocations: 4.812 kB / 1.055 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.005658/0.005683, allocations: 5.258 MB / 1.06 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003692/0.009387, allocations: 2.45 MB / 1.062 GB, free: 56 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007437/0.01014, allocations: 31.88 kB / 1.062 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.01056, allocations: 158.3 kB / 1.062 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.01091, allocations: 130.6 kB / 1.062 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.0121, allocations: 0.6853 MB / 1.063 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.01319, allocations: 1.512 MB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.01431, allocations: 1.199 MB / 1.066 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/0.01475, allocations: 0.5257 MB / 1.066 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.01516, allocations: 0.521 MB / 1.067 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.01533, allocations: 176 kB / 1.067 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.01563, allocations: 283.9 kB / 1.067 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0008557/0.0165, allocations: 1.688 MB / 1.069 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0004536/0.01696, allocations: 1.039 MB / 1.07 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.01713, allocations: 203.3 kB / 1.07 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001748/0.01731, allocations: 91.25 kB / 1.07 GB, free: 7.754 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.OptimalStartHeating.occSch.getOutput(time, occSch.period, occSch.occupancy, occSch.firstEntryOccupied, 2)