Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_9_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_9_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.001737/0.001737, allocations: 108.6 kB / 16.42 MB, free: 6.523 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.001743/0.001743, allocations: 187.2 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.059/1.059, allocations: 222.9 MB / 241 MB, free: 15.15 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.752/1.752, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.737e-06/8.747e-06, allocations: 2.281 kB / 0.9514 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001666/0.001682, allocations: 1.432 MB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000644/0.002335, allocations: 498.3 kB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.002369, allocations: 0 / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.311e-05/0.002427, allocations: 11.92 kB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.926e-05/0.002471, allocations: 7.875 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.003001, allocations: 235.2 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.003125, allocations: 115.7 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.235e-05/0.003162, allocations: 11.98 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.32e-05/0.00323, allocations: 43.91 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.003297, allocations: 39.83 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.003321, allocations: 8 kB / 0.9537 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.003511, allocations: 163.8 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.076e-05/0.003598, allocations: 106.9 kB / 0.954 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.527e-05/0.003629, allocations: 63.06 kB / 0.9541 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.003661, allocations: 19.94 kB / 0.9541 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.007e-05/0.003675, allocations: 3.938 kB / 0.9541 GB, free: 5.023 MB / 0.7325 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)