Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001084/0.001084, allocations: 111.8 kB / 16.42 MB, free: 6.047 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.001037/0.001037, allocations: 189.9 kB / 17.36 MB, free: 5.617 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.138/1.138, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.123/2.123, allocations: 437 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.592e-05, allocations: 2.281 kB / 1.019 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.005323/0.005349, allocations: 5.273 MB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003555/0.008916, allocations: 2.486 MB / 1.027 GB, free: 1.746 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.0094, allocations: 39.81 kB / 1.027 GB, free: 1.707 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.009748, allocations: 150.3 kB / 1.027 GB, free: 1.559 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.01007, allocations: 138.6 kB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.01123, allocations: 0.6953 MB / 1.028 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.01237, allocations: 1.54 MB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.01352, allocations: 1.195 MB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004425/0.01398, allocations: 0.5335 MB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.01438, allocations: 0.5366 MB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.01457, allocations: 180 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.01488, allocations: 283.8 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.0009242/0.01582, allocations: 1.703 MB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0004464/0.01627, allocations: 1.035 MB / 1.035 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.01645, allocations: 207.3 kB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0001813/0.01664, allocations: 95.23 kB / 1.035 GB, free: 9.359 MB / 0.8106 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)