Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001159/0.001159, allocations: 110.3 kB / 16.42 MB, free: 6.473 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.001195/0.001195, allocations: 188.9 kB / 17.35 MB, free: 5.703 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.155/1.155, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.11/2.11, allocations: 437 MB / 0.7111 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.759e-05, allocations: 4.25 kB / 1.019 GB, free: 9.508 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00202/0.002047, allocations: 1.427 MB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007748/0.002833, allocations: 0.492 MB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.002879, allocations: 0 / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.281e-05/0.00295, allocations: 11.94 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.003005, allocations: 11.86 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.003689, allocations: 228.2 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.003845, allocations: 115.7 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.003888, allocations: 7.984 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.303e-05/0.003977, allocations: 51.91 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.004057, allocations: 35.83 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.004088, allocations: 8 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.00434, allocations: 167.8 kB / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of combineBinaries: time 8.737e-05/0.004436, allocations: 106.9 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 6.802e-05/0.004509, allocations: 55.12 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.004554, allocations: 15.94 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.422e-05/0.004573, allocations: 3.938 kB / 1.022 GB, free: 6.777 MB / 0.795 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)