Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypMon.y.1.|dayTypSat.y.1.|dayTypTwoWeeks.y.1.|dayTypMonThr.y.1.|dayTypMonThr.y.2.|dayTypMonThr.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypMon.y.1.|dayTypSat.y.1.|dayTypTwoWeeks.y.1.|dayTypMonThr.y.1.|dayTypMonThr.y.2.|dayTypMonThr.y.3.",fileNamePrefix="Buildings_10_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.001016/0.001016, allocations: 113.8 kB / 16.43 MB, free: 6.035 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.001084/0.001084, allocations: 178.3 kB / 17.35 MB, free: 5.617 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.148/1.148, allocations: 222.9 MB / 241.1 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.077/2.077, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.718e-05, allocations: 6.219 kB / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001898/0.001923, allocations: 1.439 MB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005161/0.00245, allocations: 276.7 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.002495, allocations: 0 / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.002605, allocations: 23.8 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.00267, allocations: 19.8 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.002958, allocations: 92.34 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.003134, allocations: 147.6 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.003183, allocations: 5.125 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.631e-05/0.003254, allocations: 59.84 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.00335, allocations: 71.72 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.00339, allocations: 16 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.271e-05/0.003417, allocations: 8 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0001438/0.003565, allocations: 190 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 5.02e-05/0.003621, allocations: 106.4 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.003649, allocations: 15.94 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.487e-05/0.003668, allocations: 7.938 kB / 1.021 GB, free: 7.082 MB / 0.795 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