Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001337/0.001337, allocations: 109.5 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.001061/0.001061, allocations: 189.5 kB / 17.35 MB, free: 5.707 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.882/0.882, allocations: 143 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.025e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002164/0.002204, allocations: 1.415 MB / 0.5975 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.003096, allocations: 0.4958 MB / 0.598 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.003151, allocations: 0 / 0.598 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.768e-05/0.003255, allocations: 11.92 kB / 0.598 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.003342, allocations: 8.562 kB / 0.598 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.00405, allocations: 241.1 kB / 0.5982 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.004206, allocations: 109.8 kB / 0.5983 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.004263, allocations: 7.984 kB / 0.5983 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.004357, allocations: 47.91 kB / 0.5984 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.614e-05/0.004459, allocations: 35.84 kB / 0.5984 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.004489, allocations: 9.344 kB / 0.5984 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.004704, allocations: 167.8 kB / 0.5986 GB, free: 9.867 MB / 446.1 MB Notification: Performance of combineBinaries: time 9.138e-05/0.004803, allocations: 102.9 kB / 0.5987 GB, free: 9.766 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.008e-05/0.00483, allocations: 56.47 kB / 0.5987 GB, free: 9.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.004879, allocations: 15.94 kB / 0.5987 GB, free: 9.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.28e-05/0.004896, allocations: 0 / 0.5987 GB, free: 9.695 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) := BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.occSchDay.getOutput(time, occSchDay.period, occSchDay.occupancy, occSchDay.firstEntryOccupied, 2)