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.001107/0.001107, allocations: 106.8 kB / 16.42 MB, free: 6.516 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.001071/0.001071, allocations: 185.5 kB / 17.35 MB, free: 5.73 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.212/1.212, 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.7884/0.7884, allocations: 143 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.825e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001803/0.00183, allocations: 1.492 MB / 0.5975 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007522/0.002593, allocations: 433.1 kB / 0.598 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.00265, allocations: 1.406 kB / 0.598 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.591e-05/0.002741, allocations: 11.81 kB / 0.598 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.535e-05/0.002842, allocations: 24.22 kB / 0.598 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.003388, allocations: 245 kB / 0.5982 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.003659, allocations: 336.2 kB / 0.5985 GB, free: 9.883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.003709, allocations: 13.47 kB / 0.5986 GB, free: 9.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.003903, allocations: 191.7 kB / 0.5987 GB, free: 9.684 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.004058, allocations: 120.8 kB / 0.5989 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/0.004126, allocations: 20 kB / 0.5989 GB, free: 9.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.576e-05/0.004187, allocations: 20 kB / 0.5989 GB, free: 9.527 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001598/0.004352, allocations: 243.1 kB / 0.5991 GB, free: 9.289 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.858e-05/0.004386, allocations: 86.62 kB / 0.5992 GB, free: 9.203 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.004427, allocations: 25.44 kB / 0.5992 GB, free: 9.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.287e-05/0.004445, allocations: 4 kB / 0.5992 GB, free: 9.176 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