Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001084/0.001084, allocations: 106.1 kB / 16.37 MB, free: 6.363 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.001096/0.001097, allocations: 191.2 kB / 17.3 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.153/1.153, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.551/1.551, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.821e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002131/0.002165, allocations: 1.498 MB / 0.6743 GB, free: 4.391 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007415/0.002917, allocations: 426.9 kB / 0.6747 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.002965, allocations: 0 / 0.6747 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.26e-05/0.003045, allocations: 7.938 kB / 0.6747 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.862e-05/0.003135, allocations: 28.16 kB / 0.6747 GB, free: 3.938 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.003672, allocations: 247.5 kB / 0.675 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.003994, allocations: 335.5 kB / 0.6753 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.004033, allocations: 4 kB / 0.6753 GB, free: 3.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.004263, allocations: 207.6 kB / 0.6755 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.004426, allocations: 111.7 kB / 0.6756 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.004479, allocations: 20 kB / 0.6756 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.301e-05/0.004527, allocations: 20 kB / 0.6756 GB, free: 3.012 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001794/0.004711, allocations: 230.2 kB / 0.6759 GB, free: 2.785 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 4.908e-05/0.004766, allocations: 90.67 kB / 0.6759 GB, free: 2.695 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.004809, allocations: 23.94 kB / 0.676 GB, free: 2.672 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.188e-05/0.004826, allocations: 4 kB / 0.676 GB, free: 2.668 MB / 0.545 GB 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