Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001117/0.001117, allocations: 110.5 kB / 16.42 MB, free: 6.477 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.00108/0.00108, allocations: 183.2 kB / 17.35 MB, free: 5.703 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.12/1.12, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.18/2.18, allocations: 469.8 MB / 0.7431 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.076e-05, allocations: 4.531 kB / 1.066 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001812/0.001831, allocations: 1.426 MB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005074/0.002349, allocations: 279.1 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.002393, allocations: 4 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.002499, allocations: 15.81 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.638e-05/0.002555, allocations: 19.84 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.002823, allocations: 83.8 kB / 1.068 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.003004, allocations: 147.6 kB / 1.068 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.003046, allocations: 5.125 kB / 1.068 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.00311, allocations: 67.77 kB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.256e-05/0.003209, allocations: 67.73 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.003244, allocations: 12 kB / 1.068 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.41e-05/0.003273, allocations: 8 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.000136/0.003413, allocations: 194 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.664e-05/0.003465, allocations: 110.3 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.003492, allocations: 19.94 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.386e-05/0.00351, allocations: 4 kB / 1.068 GB, free: 11.23 MB / 0.8419 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