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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001109/0.001109, allocations: 112.7 kB / 16.43 MB, free: 6.035 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.001055/0.001055, allocations: 179.1 kB / 17.35 MB, free: 5.617 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.129/1.129, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.203/2.203, allocations: 472.6 MB / 0.7459 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.725e-05, allocations: 2.281 kB / 1.07 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001868/0.001893, allocations: 1.425 MB / 1.071 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007328/0.002637, allocations: 494.3 kB / 1.072 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.002679, allocations: 3.938 kB / 1.072 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.234e-05/0.002747, allocations: 7.922 kB / 1.072 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.0028, allocations: 11.94 kB / 1.072 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.003426, allocations: 238.1 kB / 1.072 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.003563, allocations: 107.8 kB / 1.072 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.003606, allocations: 7.984 kB / 1.072 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.725e-05/0.003688, allocations: 47.91 kB / 1.072 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.00377, allocations: 39.83 kB / 1.072 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.003802, allocations: 8 kB / 1.072 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.004021, allocations: 167.8 kB / 1.072 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of combineBinaries: time 8.969e-05/0.004118, allocations: 114.9 kB / 1.073 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.362e-05/0.004147, allocations: 55.12 kB / 1.073 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.004183, allocations: 11.94 kB / 1.073 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.342e-05/0.004201, allocations: 4 kB / 1.073 GB, free: 6.988 MB / 0.8419 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)