Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001007/0.001007, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 176 kB / 16.58 MB, free: 6.422 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.58/1.58, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.607/2.607, allocations: 390.5 MB / 0.6662 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 19.86 kB / 0.8155 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.941/0.9414, allocations: 142.3 MB / 0.9545 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001483/0.943, allocations: 0.9696 MB / 0.9554 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.944, allocations: 452 kB / 0.9558 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.9441, allocations: 0 / 0.9558 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.449e-05/0.9441, allocations: 8.734 kB / 0.9558 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.424e-05/0.9442, allocations: 5.062 kB / 0.9558 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.9445, allocations: 35.58 kB / 0.9559 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.9446, allocations: 16.83 kB / 0.9559 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.9447, allocations: 0 / 0.9559 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.26e-05/0.9447, allocations: 9.891 kB / 0.9559 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.9448, allocations: 9.438 kB / 0.9559 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.9448, allocations: 0 / 0.9559 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.945, allocations: 44 kB / 0.956 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.945, allocations: 13.7 kB / 0.956 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.9451, allocations: 35.67 kB / 0.956 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.9452, allocations: 28.08 kB / 0.956 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.9452, allocations: 1.094 kB / 0.956 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9452, allocations: 3.938 kB / 0.956 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.9452, allocations: 0 / 0.956 GB, free: 6.914 MB / 0.7169 GB 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.0003524/0.9456, allocations: 335.8 kB / 0.9564 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.9456, allocations: 8.625 kB / 0.9564 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.9457, allocations: 5.953 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.055e-05/0.9458, allocations: 163 kB / 0.9565 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.9458, allocations: 5.188 kB / 0.9565 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.9458, allocations: 2.75 kB / 0.9565 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.946, allocations: 52.67 kB / 0.9566 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.946, allocations: 0 / 0.9566 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.946, allocations: 0 / 0.9566 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.946, allocations: 0 / 0.9566 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.946, allocations: 20.67 kB / 0.9566 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.9462, allocations: 156.8 kB / 0.9568 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.33e-05/0.9462, allocations: 31.17 kB / 0.9568 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.9463, allocations: 20.31 kB / 0.9568 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.9463, allocations: 1.219 kB / 0.9568 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.9464, allocations: 65.48 kB / 0.9569 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.9465, allocations: 0 / 0.9569 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002499/0.9467, allocations: 99.64 kB / 0.957 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.9468, allocations: 63.52 kB / 0.957 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.126e-05/0.9468, allocations: 93.86 kB / 0.9571 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.9468, allocations: 32.67 kB / 0.9571 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/0.9469, allocations: 85.12 kB / 0.9572 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.9469, allocations: 16.08 kB / 0.9572 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.9469, allocations: 0 / 0.9572 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.947, allocations: 316.3 kB / 0.9575 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.947, allocations: 20.2 kB / 0.9576 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.9471, allocations: 66.88 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.166e-05/0.9472, allocations: 28.92 kB / 0.9577 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9472, allocations: 1.312 kB / 0.9577 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001681/0.9473, allocations: 121.4 kB / 0.9578 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.9474, allocations: 5.656 kB / 0.9578 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.9474, allocations: 1.562 kB / 0.9578 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9474, allocations: 3.125 kB / 0.9578 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.9475, allocations: 22.14 kB / 0.9578 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.9475, allocations: 2.359 kB / 0.9578 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.524e-05/0.9476, allocations: 6.125 kB / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.9476, allocations: 13.39 kB / 0.9578 GB, free: 5.113 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.311e-05/0.9477, allocations: 126.4 kB / 0.9579 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.9477, allocations: 12.73 kB / 0.958 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.9477, allocations: 4.969 kB / 0.958 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.9477, allocations: 1.125 kB / 0.958 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9477, allocations: 0 / 0.958 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9477, allocations: 4 kB / 0.958 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.984e-05/0.9479, allocations: 153.3 kB / 0.9581 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.9479, allocations: 1.094 kB / 0.9581 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-06/0.9479, allocations: 4 kB / 0.9581 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.9479, allocations: 1.156 kB / 0.9581 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.9479, allocations: 1.312 kB / 0.9581 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.9479, allocations: 3.984 kB / 0.9581 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9479, allocations: 0 / 0.9581 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.948, allocations: 106.6 kB / 0.9582 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.9481, allocations: 81.98 kB / 0.9583 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.9481, allocations: 4.281 kB / 0.9583 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/0.9481, allocations: 7.969 kB / 0.9583 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.9482, allocations: 9.859 kB / 0.9583 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.9482, allocations: 6 kB / 0.9583 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.228e-05/0.9482, allocations: 80.25 kB / 0.9584 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9482, allocations: 0 / 0.9584 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002487/0.9485, allocations: 22.47 kB / 0.9584 GB, free: 4.477 MB / 0.7169 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002199/0.9487, allocations: 125.7 kB / 0.9585 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.9488, allocations: 62.75 kB / 0.9586 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.9489, allocations: 1.281 kB / 0.9586 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.9489, allocations: 15.28 kB / 0.9586 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.949, allocations: 4.984 kB / 0.9586 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.9494, allocations: 146.9 kB / 0.9588 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.9495, allocations: 0.6832 MB / 0.9594 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.9496, allocations: 14.34 kB / 0.9594 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.9496, allocations: 0 / 0.9594 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of Templates: time 0.002475/0.952, allocations: 0.8121 MB / 0.9602 GB, free: 3.082 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.o] Error 1