Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001235/0.001235, allocations: 114 kB / 17.1 MB, free: 5.957 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.00127/0.00127, allocations: 192.8 kB / 18.03 MB, free: 5.035 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.521/1.521, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7778/0.7778, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.576e-05, allocations: 4.359 kB / 0.5583 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002556/0.002591, allocations: 1.406 MB / 0.5596 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000923/0.003528, allocations: 0.4946 MB / 0.5601 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.003582, allocations: 2 kB / 0.5601 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.275e-05/0.003681, allocations: 6.078 kB / 0.5601 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.615e-05/0.003753, allocations: 14.88 kB / 0.5601 GB, free: 31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.004548, allocations: 234.2 kB / 0.5604 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.004742, allocations: 107.1 kB / 0.5605 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.004819, allocations: 8.297 kB / 0.5605 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.004938, allocations: 58.02 kB / 0.5605 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.005042, allocations: 38.73 kB / 0.5606 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.005078, allocations: 8.969 kB / 0.5606 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.005345, allocations: 162.8 kB / 0.5607 GB, free: 30.77 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001101/0.005462, allocations: 108.7 kB / 0.5608 GB, free: 30.7 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 3.365e-05/0.005502, allocations: 54.97 kB / 0.5609 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.005553, allocations: 16.03 kB / 0.5609 GB, free: 30.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.869e-05/0.005577, allocations: 1.719 kB / 0.5609 GB, free: 30.66 MB / 446.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) := IBPSA.Controls.SetPoints.Examples.OccupancySchedule.occSchDay.getOutput(time, occSchDay.period, occSchDay.occupancy, occSchDay.firstEntryOccupied, 2)