Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.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.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.00119/0.00119, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.434/1.434, 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 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.144e-05/4.141e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType): time 0.00323/0.003294, allocations: 1.426 MB / 0.7278 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000799/0.004108, allocations: 276.4 kB / 0.728 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.00419, allocations: 3.938 kB / 0.728 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.004384, allocations: 15.86 kB / 0.728 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.216e-05/0.004474, allocations: 15.88 kB / 0.7281 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.004907, allocations: 95.77 kB / 0.7281 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.005181, allocations: 143.6 kB / 0.7283 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.005278, allocations: 17.11 kB / 0.7283 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.817e-05/0.005372, allocations: 59.83 kB / 0.7284 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.005524, allocations: 71.73 kB / 0.7284 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.005573, allocations: 8 kB / 0.7284 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.643e-05/0.005607, allocations: 12 kB / 0.7284 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001999/0.005812, allocations: 186 kB / 0.7286 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 7e-05/0.005888, allocations: 106.4 kB / 0.7287 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.00593, allocations: 19.88 kB / 0.7287 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.113e-05/0.005956, allocations: 0 / 0.7287 GB, free: 2.293 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