Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.007055/0.007055, allocations: 99.8 kB / 15.87 MB, free: 6.324 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.001381/0.001381, allocations: 193.9 kB / 16.79 MB, free: 6.254 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7002/0.7002, allocations: 132.2 MB / 422.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.2 kB / 0.5018 GB, free: 9.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1504, allocations: 80.2 MB / 0.5801 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002378/0.1529, allocations: 1.302 MB / 0.5813 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008905/0.1538, allocations: 492.6 kB / 0.5818 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.1538, allocations: 0 / 0.5818 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.1539, allocations: 3.984 kB / 0.5818 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.564e-05/0.1539, allocations: 4 kB / 0.5818 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1543, allocations: 43.89 kB / 0.5819 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.005e-05/0.1543, allocations: 27.91 kB / 0.5819 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.1544, allocations: 0 / 0.5819 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.173e-05/0.1544, allocations: 4 kB / 0.5819 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.1545, allocations: 15.97 kB / 0.5819 GB, free: 7.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.1545, allocations: 0 / 0.5819 GB, free: 7.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.1546, allocations: 67.8 kB / 0.582 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.1547, allocations: 11.98 kB / 0.582 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.1547, allocations: 7.938 kB / 0.582 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.1548, allocations: 51.92 kB / 0.582 GB, free: 7.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1549, allocations: 0 / 0.582 GB, free: 7.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1549, allocations: 0 / 0.582 GB, free: 7.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.1549, allocations: 0 / 0.582 GB, free: 7.152 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003313/0.1552, allocations: 343.7 kB / 0.5824 GB, free: 6.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1552, allocations: 12.03 kB / 0.5824 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.1553, allocations: 0.9375 kB / 0.5824 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.202e-05/0.1554, allocations: 160.4 kB / 0.5825 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.1554, allocations: 384 / 0.5825 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1554, allocations: 12.12 kB / 0.5825 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.1555, allocations: 53.62 kB / 0.5826 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1555, allocations: 3.984 kB / 0.5826 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1555, allocations: 0 / 0.5826 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1556, allocations: 0 / 0.5826 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.839e-05/0.1556, allocations: 11.98 kB / 0.5826 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.1557, allocations: 157.7 kB / 0.5828 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.746e-05/0.1558, allocations: 26.58 kB / 0.5828 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.1558, allocations: 28.88 kB / 0.5828 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.1558, allocations: 3.938 kB / 0.5828 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.156, allocations: 63.41 kB / 0.5829 GB, free: 6.129 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.156, allocations: 0 / 0.5829 GB, free: 6.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001986/0.1562, allocations: 93.58 kB / 0.583 GB, free: 6.031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.1562, allocations: 59.34 kB / 0.583 GB, free: 5.961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.759e-05/0.1563, allocations: 101.9 kB / 0.5831 GB, free: 5.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1563, allocations: 29.7 kB / 0.5831 GB, free: 5.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.347e-05/0.1563, allocations: 80.14 kB / 0.5832 GB, free: 5.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1563, allocations: 23.77 kB / 0.5832 GB, free: 5.711 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.1564, allocations: 33.7 kB / 0.5833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.1565, allocations: 314.8 kB / 0.5836 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.1565, allocations: 19.98 kB / 0.5836 GB, free: 5.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.954e-05/0.1566, allocations: 69.98 kB / 0.5837 GB, free: 5.246 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1567, allocations: 101.9 kB / 0.5838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1567, allocations: 0 / 0.5838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001546/0.1569, allocations: 121.3 kB / 0.5839 GB, free: 5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1569, allocations: 8 kB / 0.5839 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1569, allocations: 0 / 0.5839 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1569, allocations: 4 kB / 0.5839 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.795e-05/0.157, allocations: 12.2 kB / 0.5839 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.157, allocations: 11.94 kB / 0.5839 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.1571, allocations: 7.938 kB / 0.5839 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1571, allocations: 4 kB / 0.5839 GB, free: 4.953 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.554e-05/0.1572, allocations: 119.4 kB / 0.584 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.1572, allocations: 11.84 kB / 0.5841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.1572, allocations: 7.953 kB / 0.5841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1572, allocations: 0 / 0.5841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1572, allocations: 4 kB / 0.5841 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1572, allocations: 0 / 0.5841 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.1574, allocations: 161.5 kB / 0.5842 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1574, allocations: 0 / 0.5842 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-06/0.1574, allocations: 0 / 0.5842 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1574, allocations: 0 / 0.5842 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1574, allocations: 4 kB / 0.5842 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1574, allocations: 0 / 0.5842 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1574, allocations: 0 / 0.5842 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.1576, allocations: 113 kB / 0.5843 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.1576, allocations: 85.02 kB / 0.5844 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.1576, allocations: 4 kB / 0.5844 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.29e-05/0.1576, allocations: 0 / 0.5844 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.1577, allocations: 3.938 kB / 0.5844 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1577, allocations: 7.984 kB / 0.5844 GB, free: 4.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.344e-05/0.1577, allocations: 75.28 kB / 0.5845 GB, free: 4.273 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1577, allocations: 0 / 0.5845 GB, free: 4.273 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.158, allocations: 24 kB / 0.5845 GB, free: 4.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001941/0.1582, allocations: 123.9 kB / 0.5846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.1583, allocations: 59.84 kB / 0.5847 GB, free: 4.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1583, allocations: 4 kB / 0.5847 GB, free: 4.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.999e-05/0.1583, allocations: 16 kB / 0.5847 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.1585, allocations: 11.19 kB / 0.5847 GB, free: 4.031 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.1587, allocations: 153.7 kB / 0.5849 GB, free: 3.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.1589, allocations: 0.6809 MB / 0.5855 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.159, allocations: 7.438 kB / 0.5855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.159, allocations: 0 / 0.5855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of Templates: time 0.001979/0.161, allocations: 0.8044 MB / 0.5863 GB, free: 2.332 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.o] Error 1