Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 107.6 kB / 16.42 MB, free: 6.465 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.001048/0.001048, allocations: 185.5 kB / 17.35 MB, free: 5.734 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.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.15/2.15, allocations: 461.9 MB / 0.7354 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.019e-05, allocations: 2.281 kB / 1.055 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.005939/0.005964, allocations: 6.027 MB / 1.06 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003599/0.009575, allocations: 2.773 MB / 1.063 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000441/0.01003, allocations: 43.81 kB / 1.063 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.0103, allocations: 122.7 kB / 1.063 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.01056, allocations: 106.9 kB / 1.063 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000858/0.01143, allocations: 498 kB / 1.064 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007235/0.01216, allocations: 0.9854 MB / 1.065 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004696/0.01264, allocations: 447.2 kB / 1.065 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.01292, allocations: 326.7 kB / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.01319, allocations: 338.2 kB / 1.066 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.534e-05/0.0133, allocations: 84 kB / 1.066 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.01351, allocations: 187.8 kB / 1.066 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0005672/0.01408, allocations: 1.166 MB / 1.067 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003093/0.0144, allocations: 0.7578 MB / 1.068 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.0145, allocations: 119.6 kB / 1.068 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.651e-05/0.0146, allocations: 51.5 kB / 1.068 GB, free: 9.758 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.OptimalStartNoHeatingNoCooling.occSch.getOutput(time, occSch.period, occSch.occupancy, occSch.firstEntryOccupied, 2)