Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.00107/0.00107, allocations: 190 kB / 17.36 MB, free: 5.699 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.135/1.135, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.162/2.162, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.074e-05, allocations: 2.5 kB / 1.055 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001746/0.001764, allocations: 1.418 MB / 1.056 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007081/0.002484, allocations: 0.4983 MB / 1.056 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.002521, allocations: 0 / 1.056 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.363e-05/0.002581, allocations: 7.922 kB / 1.056 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.797e-05/0.002638, allocations: 15.86 kB / 1.056 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.00322, allocations: 238.7 kB / 1.057 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.003359, allocations: 111.7 kB / 1.057 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.235e-05/0.003397, allocations: 4 kB / 1.057 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.003473, allocations: 55.89 kB / 1.057 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.003551, allocations: 35.84 kB / 1.057 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.003577, allocations: 4 kB / 1.057 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.003786, allocations: 167.8 kB / 1.057 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.505e-05/0.003878, allocations: 106.9 kB / 1.057 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.613e-05/0.003912, allocations: 67.06 kB / 1.057 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.003944, allocations: 7.938 kB / 1.057 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.045e-05/0.003959, allocations: 4 kB / 1.057 GB, free: 5.059 MB / 0.8262 GB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (occSchDay.tOcc, occSchDay.tNonOcc, occSchDay.occupied, occSchDay.tNext) := Buildings.Controls.SetPoints.Examples.OccupancySchedule.occSchDay.getOutput(time, occSchDay.period, occSchDay.occupancy, occSchDay.firstEntryOccupied, 2)