Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001067/0.001068, allocations: 107.6 kB / 16.37 MB, free: 5.891 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.001078/0.001079, allocations: 191.4 kB / 17.31 MB, free: 5.535 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.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.745/1.745, allocations: 292.3 MB / 0.5496 GB, free: 17.62 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.662e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.002701/0.002745, allocations: 1.442 MB / 0.6742 GB, free: 4.477 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006045/0.003363, allocations: 279.2 kB / 0.6745 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.003422, allocations: 3.938 kB / 0.6745 GB, free: 4.199 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.003561, allocations: 11.88 kB / 0.6745 GB, free: 4.188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.003635, allocations: 15.86 kB / 0.6745 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.003974, allocations: 87.78 kB / 0.6746 GB, free: 4.086 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.004189, allocations: 151.6 kB / 0.6748 GB, free: 3.938 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.004253, allocations: 9.109 kB / 0.6748 GB, free: 3.926 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.004332, allocations: 67.81 kB / 0.6748 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.004448, allocations: 63.75 kB / 0.6749 GB, free: 3.797 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.004485, allocations: 12 kB / 0.6749 GB, free: 3.785 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.004513, allocations: 12 kB / 0.6749 GB, free: 3.773 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001658/0.004683, allocations: 190 kB / 0.6751 GB, free: 3.586 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 6.765e-05/0.004758, allocations: 114.3 kB / 0.6752 GB, free: 3.473 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.004792, allocations: 15.94 kB / 0.6752 GB, free: 3.457 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.899e-05/0.004815, allocations: 7.938 kB / 0.6752 GB, free: 3.449 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