Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001098/0.001098, allocations: 107.6 kB / 16.42 MB, free: 6.516 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.001054/0.001054, allocations: 188.3 kB / 17.35 MB, free: 5.73 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.137/1.137, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001825, allocations: 282.1 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.809/0.809, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.449e-05, allocations: 2.281 kB / 0.682 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.001783/0.001806, allocations: 1.404 MB / 0.6834 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006989/0.002515, allocations: 0.4944 MB / 0.6838 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.002552, allocations: 4 kB / 0.6839 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.639e-05/0.002613, allocations: 3.938 kB / 0.6839 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.381e-05/0.002672, allocations: 15.91 kB / 0.6839 GB, free: 5.145 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.003242, allocations: 226.4 kB / 0.6841 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.003379, allocations: 107.8 kB / 0.6842 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.00342, allocations: 8 kB / 0.6842 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.371e-05/0.003499, allocations: 55.83 kB / 0.6843 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.171e-05/0.003576, allocations: 39.83 kB / 0.6843 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.003602, allocations: 12 kB / 0.6843 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.003803, allocations: 163.8 kB / 0.6845 GB, free: 4.547 MB / 494.1 MB Notification: Performance of combineBinaries: time 9.094e-05/0.003902, allocations: 114.9 kB / 0.6846 GB, free: 4.434 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 2.619e-05/0.003933, allocations: 59.12 kB / 0.6846 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.003967, allocations: 7.938 kB / 0.6846 GB, free: 4.367 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.058e-05/0.003981, allocations: 4 kB / 0.6846 GB, free: 4.363 MB / 494.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (occSchDay.tOcc, occSchDay.tNonOcc, occSchDay.occupied, occSchDay.tNext) := BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.occSchDay.getOutput(time, occSchDay.period, occSchDay.occupancy, occSchDay.firstEntryOccupied, 2)