Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartCoolingNegativeStartTime.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.OptimalStartCoolingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optStaCoo.tOpt|TSetCoo.y|optStaCoo.TZon|optStaCoo.optOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartCoolingNegativeStartTime") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartCoolingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optStaCoo.tOpt|TSetCoo.y|optStaCoo.TZon|optStaCoo.optOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartCoolingNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 112 kB / 16.43 MB, free: 6.508 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.001072/0.001073, allocations: 183.2 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.168/2.168, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.304e-05, allocations: 2.281 kB / 1.055 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartCoolingNegativeStartTime): time 0.005444/0.005466, allocations: 5.265 MB / 1.06 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003169/0.008647, allocations: 2.442 MB / 1.062 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003848/0.009043, allocations: 35.88 kB / 1.062 GB, free: 40 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.009395, allocations: 154.3 kB / 1.062 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.009705, allocations: 130.7 kB / 1.062 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.01075, allocations: 0.6892 MB / 1.063 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001119/0.01188, allocations: 1.508 MB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.01302, allocations: 1.21 MB / 1.066 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.01347, allocations: 0.5218 MB / 1.066 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004203/0.0139, allocations: 0.5288 MB / 1.067 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.01407, allocations: 176 kB / 1.067 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.01437, allocations: 275.9 kB / 1.067 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0009126/0.01529, allocations: 1.691 MB / 1.069 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0004477/0.01575, allocations: 1.027 MB / 1.07 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.01591, allocations: 215.2 kB / 1.07 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001616/0.01608, allocations: 91.23 kB / 1.07 GB, free: 7.762 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.OptimalStartCoolingNegativeStartTime.occSch.getOutput(time, occSch.period, occSch.occupancy, occSch.firstEntryOccupied, 2)