Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00109/0.00109, allocations: 104.5 kB / 16.42 MB, free: 6.422 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.001062/0.001062, allocations: 192.3 kB / 17.36 MB, free: 5.688 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.141/1.141, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.196/2.196, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.485e-05, allocations: 4.812 kB / 1.055 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001874/0.001896, allocations: 1.436 MB / 1.056 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005151/0.002423, allocations: 279.1 kB / 1.056 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.002475, allocations: 3.938 kB / 1.056 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.002581, allocations: 11.86 kB / 1.056 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.002639, allocations: 23.84 kB / 1.056 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.002923, allocations: 90.53 kB / 1.056 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.003117, allocations: 147.6 kB / 1.057 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.003162, allocations: 9.125 kB / 1.057 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.003236, allocations: 67.77 kB / 1.057 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.451e-05/0.003335, allocations: 63.73 kB / 1.057 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.003377, allocations: 12 kB / 1.057 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.327e-05/0.003405, allocations: 12 kB / 1.057 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001236/0.003535, allocations: 194 kB / 1.057 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 5.458e-05/0.003595, allocations: 114.4 kB / 1.057 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.00362, allocations: 11.94 kB / 1.057 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.512e-05/0.00364, allocations: 4 kB / 1.057 GB, free: 5.34 MB / 0.8262 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