Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 107.7 kB / 16.42 MB, free: 6.535 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.001848/0.001848, allocations: 183.2 kB / 17.35 MB, free: 5.723 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.486/1.486, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.9594/0.9594, allocations: 143 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.988e-05/3.989e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.00276/0.002811, allocations: 1.488 MB / 0.5975 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.003803, allocations: 430.2 kB / 0.598 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.328e-05/0.003909, allocations: 0 / 0.598 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.004053, allocations: 11.86 kB / 0.598 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.004236, allocations: 21.53 kB / 0.598 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.005073, allocations: 249.4 kB / 0.5982 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.005472, allocations: 348.1 kB / 0.5986 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/0.00554, allocations: 9.062 kB / 0.5986 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/0.005854, allocations: 191.7 kB / 0.5987 GB, free: 9.699 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.006105, allocations: 119 kB / 0.5989 GB, free: 9.586 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.449e-05/0.006197, allocations: 16 kB / 0.5989 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.006271, allocations: 21.06 kB / 0.5989 GB, free: 9.551 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001866/0.006462, allocations: 242.2 kB / 0.5991 GB, free: 9.312 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.652e-05/0.006515, allocations: 90.62 kB / 0.5992 GB, free: 9.223 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.966e-05/0.006591, allocations: 29.53 kB / 0.5992 GB, free: 9.195 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.893e-05/0.006625, allocations: 0 / 0.5992 GB, free: 9.195 MB / 446.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(calendarTime2016.firstHourSampling) then calendarTime2016.hour = integer(floor((calendarTime2016.unixTimeStampLocal - div(calendarTime2016.unixTimeStampLocal, 86400.0) * 86400.0) / 3600.0)); elseif true then calendarTime2016.hour = if pre(calendarTime2016.hour) == 23 then 0 else pre(calendarTime2016.hour) + 1; end if