Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QAggShi_flow.3.|QAggShi_flow.4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QAggShi_flow.3.|QAggShi_flow.4.",fileNamePrefix="Buildings_latest_Buildings.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.0009788/0.0009788, allocations: 111.2 kB / 16.42 MB, free: 6.527 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.0008369/0.0008369, allocations: 183.2 kB / 17.35 MB, free: 5.75 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.142/1.142, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.252/2.252, allocations: 472.7 MB / 0.7459 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.32e-05, allocations: 4.531 kB / 1.07 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001833/0.001864, allocations: 1.259 MB / 1.071 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007917/0.002667, allocations: 490.6 kB / 1.072 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.002702, allocations: 0 / 1.072 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.002744, allocations: 0 / 1.072 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.418e-05/0.002823, allocations: 0 / 1.072 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.003202, allocations: 55.81 kB / 1.072 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.484e-05/0.003297, allocations: 15.98 kB / 1.072 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.681e-05/0.003359, allocations: 0 / 1.072 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.791e-05/0.003391, allocations: 4 kB / 1.072 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.208e-05/0.003428, allocations: 11.97 kB / 1.072 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.003443, allocations: 0 / 1.072 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.003637, allocations: 67.86 kB / 1.072 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of combineBinaries: time 4.376e-05/0.00369, allocations: 15.84 kB / 1.072 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.266e-05/0.003708, allocations: 7.844 kB / 1.072 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.003742, allocations: 4 kB / 1.072 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.795e-06/0.00376, allocations: 4 kB / 1.072 GB, free: 7.664 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (curCel, QAggShi_flow) := Buildings.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)