Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 108 kB / 16.42 MB, free: 6.469 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.001417/0.001417, allocations: 190 kB / 17.36 MB, free: 5.707 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.435/1.435, 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/IDEAS 3.0.0-master/package.mo): time 0.8163/0.8163, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/2.852e-05, allocations: 2.281 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002037/0.002076, allocations: 1.237 MB / 0.5875 GB, free: 20.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.002948, allocations: 489.9 kB / 0.5879 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.00298, allocations: 0 / 0.5879 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.906e-05/0.003027, allocations: 0 / 0.5879 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.521e-05/0.00312, allocations: 7.75 kB / 0.588 GB, free: 20.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.003487, allocations: 44.69 kB / 0.588 GB, free: 20.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.866e-05/0.003575, allocations: 14.89 kB / 0.588 GB, free: 20.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.003626, allocations: 5.438 kB / 0.588 GB, free: 20.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.833e-05/0.003659, allocations: 8.891 kB / 0.588 GB, free: 20.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.843e-05/0.003692, allocations: 6.141 kB / 0.588 GB, free: 20.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.003707, allocations: 0.9062 kB / 0.588 GB, free: 20.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.003878, allocations: 72.98 kB / 0.5881 GB, free: 20.26 MB / 446.1 MB Notification: Performance of combineBinaries: time 3.582e-05/0.003924, allocations: 13.34 kB / 0.5881 GB, free: 20.25 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 1.245e-05/0.003943, allocations: 12.33 kB / 0.5881 GB, free: 20.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.003978, allocations: 0 / 0.5881 GB, free: 20.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.175e-06/0.003991, allocations: 0.9688 kB / 0.5881 GB, free: 20.24 MB / 446.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (curCel, QAggShi_flow) := IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.shiftAggregationCells(5, pre(QAggShi_flow), {1.0, 1.0, 1.0, 2.0, 2.0}, {1.0, 2.0, 3.0, 5.0, 7.0}, time)