Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Predictors.Validation.LinearInputDayOfAdjustment.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.Predictors.Validation.LinearInputDayOfAdjustment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.Validation.LinearInputDayOfAdjustment") translateModel(Buildings.Controls.Predictors.Validation.LinearInputDayOfAdjustment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.Validation.LinearInputDayOfAdjustment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 103.3 kB / 16.37 MB, free: 6.363 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.001147/0.001147, allocations: 191.5 kB / 17.3 MB, free: 5.914 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.386/1.386, 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.71/1.71, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.327e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.Validation.LinearInputDayOfAdjustment): time 0.003903/0.003953, allocations: 2.323 MB / 0.6751 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.006216, allocations: 1.341 MB / 0.6764 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.006366, allocations: 4 kB / 0.6764 GB, free: 2.266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.006671, allocations: 63.44 kB / 0.6765 GB, free: 2.203 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.00683, allocations: 75.47 kB / 0.6765 GB, free: 2.129 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009463/0.007796, allocations: 374.5 kB / 0.6769 GB, free: 1.766 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006383/0.008444, allocations: 0.5652 MB / 0.6775 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.008643, allocations: 88.86 kB / 0.6775 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.008892, allocations: 219.5 kB / 0.6778 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.009126, allocations: 195.2 kB / 0.6779 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.009183, allocations: 35.94 kB / 0.678 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.009456, allocations: 175.8 kB / 0.6781 GB, free: 0.5 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0004588/0.009924, allocations: 0.5181 MB / 0.6786 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0001722/0.0101, allocations: 307.7 kB / 0.6789 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.366e-05/0.0102, allocations: 55.88 kB / 0.679 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.898e-05/0.01026, allocations: 19.81 kB / 0.679 GB, free: 15.6 MB / 0.5606 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(dayType.skipIDayIncrement) then dayType.iDay = pre(dayType.iDay); elseif true then dayType.iDay = mod(pre(dayType.iDay), 7) + 1; end if