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.001205/0.001205, allocations: 105.8 kB / 16.42 MB, free: 6.031 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.001201/0.001201, allocations: 186 kB / 17.35 MB, free: 5.602 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.17/1.17, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00189/0.00189, allocations: 289 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8318/0.8318, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.08e-05, allocations: 2.281 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001569/0.001588, allocations: 1.239 MB / 0.6833 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006721/0.002271, allocations: 487.5 kB / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.548e-05/0.002296, allocations: 0 / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.002328, allocations: 4 kB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.157e-05/0.002384, allocations: 4 kB / 0.6838 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.002641, allocations: 55.81 kB / 0.6838 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.876e-05/0.002699, allocations: 7.984 kB / 0.6838 GB, free: 5.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.29e-05/0.002738, allocations: 4 kB / 0.6838 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.00277, allocations: 11.97 kB / 0.6838 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.696e-05/0.002791, allocations: 0 / 0.6838 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.334e-06/0.002802, allocations: 0 / 0.6838 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.002938, allocations: 71.86 kB / 0.6839 GB, free: 5.129 MB / 494.1 MB Notification: Performance of combineBinaries: time 2.856e-05/0.002975, allocations: 19.83 kB / 0.6839 GB, free: 5.109 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 9.639e-06/0.00299, allocations: 8 kB / 0.6839 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.751e-05/0.003012, allocations: 0 / 0.6839 GB, free: 5.102 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.019e-06/0.003021, allocations: 0 / 0.6839 GB, free: 5.102 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)