Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001702/0.001702, allocations: 106.9 kB / 16.42 MB, free: 6.504 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.001687/0.001687, allocations: 190 kB / 17.36 MB, free: 5.727 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.082/1.082, 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 9.1.3-maint.9.1.x/package.mo): time 1.794/1.794, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.447e-06/9.467e-06, allocations: 2.281 kB / 0.9514 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling): time 0.005723/0.005742, allocations: 6.059 MB / 0.9573 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003408/0.00916, allocations: 2.813 MB / 0.9601 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004076/0.009578, allocations: 39.81 kB / 0.9601 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.01004, allocations: 276.8 kB / 0.9604 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0004811/0.01053, allocations: 273.4 kB / 0.9607 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.01215, allocations: 1.263 MB / 0.9619 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.01411, allocations: 2.93 MB / 0.9648 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.01607, allocations: 2.259 MB / 0.967 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007298/0.0168, allocations: 1.032 MB / 0.968 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006981/0.01751, allocations: 1.007 MB / 0.9689 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002994/0.01782, allocations: 356 kB / 0.9693 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004097/0.01823, allocations: 455.9 kB / 0.9697 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.001581/0.01982, allocations: 3.194 MB / 0.9728 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0007952/0.02062, allocations: 1.916 MB / 0.9747 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.02093, allocations: 394.8 kB / 0.9751 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of FrontEnd: time 0.0002425/0.02118, allocations: 174.5 kB / 0.9753 GB, free: 15.12 MB / 0.7637 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)