Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(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_latest_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_latest_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.000846/0.0008461, allocations: 102.6 kB / 15.71 MB, free: 460 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.000955/0.000955, allocations: 171.9 kB / 16.58 MB, free: 6.398 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.458/1.458, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.762/2.762, allocations: 436.7 MB / 0.7114 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003691, allocations: 8 kB / 0.8717 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8435/0.8439, allocations: 153.7 MB / 1.022 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001414/0.8454, allocations: 0.9728 MB / 1.023 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008333/0.8462, allocations: 455.4 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.8462, allocations: 7.938 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.8463, allocations: 3.938 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.8463, allocations: 4 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.8467, allocations: 31.95 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.686e-05/0.8468, allocations: 15.92 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.555e-05/0.8468, allocations: 0 / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.8469, allocations: 11.98 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.8469, allocations: 11.98 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.847, allocations: 0 / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.8471, allocations: 47.89 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.8472, allocations: 7.984 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.8472, allocations: 29.7 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.8473, allocations: 35.94 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.8474, allocations: 4 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.946e-06/0.8474, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.8474, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 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.0003882/0.8478, allocations: 325.3 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.8478, allocations: 15.98 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.8479, allocations: 4 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.848, allocations: 167 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.848, allocations: 11.98 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.848, allocations: 0 / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.8482, allocations: 57.58 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.8482, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.8482, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.8482, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.888e-05/0.8482, allocations: 8 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.8484, allocations: 157.7 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.579e-05/0.8485, allocations: 30.62 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.8485, allocations: 16.95 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.8485, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.8487, allocations: 79.28 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.031e-06/0.8487, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002612/0.8489, allocations: 89.62 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.849, allocations: 63.39 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/0.8491, allocations: 89.86 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.8491, allocations: 33.7 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.8491, allocations: 80.14 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.8492, allocations: 19.8 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.8492, allocations: 3.938 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8493, allocations: 318.8 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.703e-05/0.8494, allocations: 19.98 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/0.8495, allocations: 69.98 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.243e-05/0.8495, allocations: 27.94 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8496, allocations: 4 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001634/0.8497, allocations: 117.5 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8497, allocations: 7.953 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8498, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8498, allocations: 4 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.28e-05/0.8499, allocations: 15.98 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.8499, allocations: 0 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.8499, allocations: 20.06 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.85, allocations: 4 kB / 1.025 GB, free: 13.37 MB / 0.7794 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 0.0001335/0.8501, allocations: 129.8 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.8501, allocations: 0 / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.8501, allocations: 11.86 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.8501, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.8502, allocations: 4 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.8502, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.8503, allocations: 161.7 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.8504, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-06/0.8504, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8504, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.8504, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.8504, allocations: 3.953 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.8504, allocations: 4 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.8506, allocations: 113.3 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.8506, allocations: 81.02 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.8506, allocations: 8.031 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.8507, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.8507, allocations: 11.92 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.8507, allocations: 4 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.8508, allocations: 75.28 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8508, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002399/0.851, allocations: 27.94 kB / 1.026 GB, free: 12.64 MB / 0.7794 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.0002039/0.8512, allocations: 130.1 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.8514, allocations: 51.91 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8514, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.8514, allocations: 19.94 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.8516, allocations: 4 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.8519, allocations: 150.9 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.8522, allocations: 0.677 MB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.8522, allocations: 11.44 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8522, allocations: 3.938 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.002375/0.8546, allocations: 0.8077 MB / 1.028 GB, free: 10.74 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.o] Error 1