Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001726/0.001726, allocations: 111.2 kB / 16.43 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.001724/0.001724, allocations: 185.5 kB / 17.36 MB, free: 5.73 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.098/1.098, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.845/1.845, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.939e-06/9.949e-06, allocations: 4.672 kB / 0.9514 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001773/0.00179, allocations: 1.431 MB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004708/0.002271, allocations: 275.1 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.002315, allocations: 7.938 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.432e-05/0.002414, allocations: 11.86 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.002465, allocations: 31.78 kB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.002731, allocations: 83.84 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.002898, allocations: 147.6 kB / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.00294, allocations: 5.125 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.327e-05/0.00301, allocations: 71.81 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.003098, allocations: 63.75 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.003129, allocations: 12 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.83e-05/0.003152, allocations: 8 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.000135/0.003291, allocations: 194 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 4.253e-05/0.003338, allocations: 102.4 kB / 0.9538 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.003364, allocations: 15.94 kB / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.627e-05/0.003384, allocations: 11.88 kB / 0.9538 GB, free: 5.25 MB / 0.7325 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