Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001515/0.001515, allocations: 105.7 kB / 16.38 MB, free: 6.48 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.001298/0.001299, allocations: 190.5 kB / 17.31 MB, free: 5.797 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.504/1.504, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.796/1.796, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.661e-05/4.686e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType): time 0.00236/0.002428, allocations: 0.6971 MB / 0.6736 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006714/0.003113, allocations: 275.1 kB / 0.6738 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.003177, allocations: 8 kB / 0.6738 GB, free: 4.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.003322, allocations: 11.86 kB / 0.6738 GB, free: 4.871 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.0034, allocations: 23.8 kB / 0.6739 GB, free: 4.848 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.003755, allocations: 87.83 kB / 0.6739 GB, free: 4.762 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.003962, allocations: 143.6 kB / 0.6741 GB, free: 4.621 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.004031, allocations: 9.109 kB / 0.6741 GB, free: 4.609 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.004121, allocations: 63.83 kB / 0.6742 GB, free: 4.547 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.004234, allocations: 67.73 kB / 0.6742 GB, free: 4.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.004271, allocations: 12 kB / 0.6742 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.342e-05/0.004299, allocations: 8 kB / 0.6742 GB, free: 4.461 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001612/0.004464, allocations: 190 kB / 0.6744 GB, free: 4.273 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 5.654e-05/0.004527, allocations: 106.3 kB / 0.6745 GB, free: 4.168 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.004562, allocations: 19.94 kB / 0.6745 GB, free: 4.148 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.156e-05/0.004589, allocations: 7.938 kB / 0.6745 GB, free: 4.141 MB / 0.545 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