Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 107.3 kB / 16.42 MB, free: 6.5 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.001037/0.001037, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.414/1.414, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.351/1.351, allocations: 251.7 MB / 0.51 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/1.976e-05, allocations: 5.938 kB / 0.7263 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.00202/0.002047, allocations: 1.43 MB / 0.7277 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00058/0.002638, allocations: 280.3 kB / 0.728 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.002688, allocations: 0 / 0.728 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.002805, allocations: 11.88 kB / 0.728 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.002858, allocations: 19.8 kB / 0.728 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.003168, allocations: 91.83 kB / 0.7281 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.003366, allocations: 147.6 kB / 0.7283 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.00342, allocations: 13.11 kB / 0.7283 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.46e-05/0.003489, allocations: 63.83 kB / 0.7283 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.672e-05/0.003591, allocations: 67.73 kB / 0.7284 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.003625, allocations: 12 kB / 0.7284 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.029e-05/0.00365, allocations: 12 kB / 0.7284 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001513/0.003805, allocations: 190 kB / 0.7286 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 5.967e-05/0.00387, allocations: 106.4 kB / 0.7287 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.003901, allocations: 11.94 kB / 0.7287 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.29e-05/0.00392, allocations: 7.938 kB / 0.7287 GB, free: 2.332 MB / 0.5606 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(dayTypMon.skipIDayIncrement) then dayTypMon.iDay = pre(dayTypMon.iDay); elseif true then dayTypMon.iDay = mod(pre(dayTypMon.iDay), 7) + 1; end if