Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001213/0.001213, allocations: 112.4 kB / 16.42 MB, free: 6.523 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.001297/0.001297, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002264/0.002264, allocations: 293.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9487/0.9487, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.799e-05, allocations: 2.281 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00223/0.002267, allocations: 1.235 MB / 0.6833 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008965/0.003175, allocations: 487.5 kB / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.003207, allocations: 0 / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.003243, allocations: 0 / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.003314, allocations: 0 / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.003688, allocations: 63.81 kB / 0.6838 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.003762, allocations: 11.97 kB / 0.6838 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.003814, allocations: 4 kB / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.003842, allocations: 4 kB / 0.6838 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.003874, allocations: 11.92 kB / 0.6838 GB, free: 5.191 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.003891, allocations: 0 / 0.6838 GB, free: 5.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.004061, allocations: 63.86 kB / 0.6839 GB, free: 5.129 MB / 494.1 MB Notification: Performance of combineBinaries: time 3.942e-05/0.004108, allocations: 19.83 kB / 0.6839 GB, free: 5.109 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.021e-05/0.004123, allocations: 4 kB / 0.6839 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.004156, allocations: 0 / 0.6839 GB, free: 5.105 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.636e-06/0.004171, allocations: 7.938 kB / 0.6839 GB, free: 5.098 MB / 494.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (curCel, QAggShi_flow) := BuildingSystems.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)