Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001152/0.001152, allocations: 112.1 kB / 16.42 MB, free: 6.023 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.001185/0.001185, allocations: 185.3 kB / 17.35 MB, free: 5.617 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.152/1.152, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.096/2.096, allocations: 437 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.036e-05, allocations: 4.391 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002079/0.002107, allocations: 1.255 MB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008675/0.002988, allocations: 488.3 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.003022, allocations: 4 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.003059, allocations: 0 / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.003129, allocations: 4 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.003516, allocations: 51.81 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.014e-05/0.003595, allocations: 15.97 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.003645, allocations: 0 / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.576e-05/0.003676, allocations: 8 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.575e-05/0.003705, allocations: 7.984 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.003721, allocations: 0 / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.003884, allocations: 63.86 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of combineBinaries: time 3.78e-05/0.003931, allocations: 23.83 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 1.031e-05/0.003947, allocations: 3.938 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.003976, allocations: 4 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.824e-06/0.003987, allocations: 4 kB / 1.021 GB, free: 7.484 MB / 0.795 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)