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.01187/0.01187, allocations: 100 kB / 15.87 MB, free: 5.863 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.004293/0.004294, allocations: 189.7 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.611/2.611, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004691/0.004691, allocations: 286.6 kB / 290.9 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.046/2.046, allocations: 169.2 MB / 0.4984 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002855/0.002856, allocations: 95.03 kB / 0.5952 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3425, allocations: 86.98 MB / 0.6801 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.005505/0.348, allocations: 1.307 MB / 0.6814 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3499, allocations: 487.9 kB / 0.6819 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.35, allocations: 0 / 0.6819 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.07e-05/0.3501, allocations: 0 / 0.6819 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.3503, allocations: 3.984 kB / 0.6819 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006883/0.351, allocations: 39.89 kB / 0.6819 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.3511, allocations: 27.97 kB / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.3512, allocations: 0 / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.3512, allocations: 8 kB / 0.6819 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.167e-05/0.3513, allocations: 4 kB / 0.6819 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.3514, allocations: 7.922 kB / 0.682 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.3517, allocations: 71.84 kB / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.441e-05/0.3518, allocations: 11.98 kB / 0.682 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.3518, allocations: 4 kB / 0.682 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.3521, allocations: 48.14 kB / 0.6821 GB, free: 15.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.3521, allocations: 3.938 kB / 0.6821 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.3521, allocations: 0 / 0.6821 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3521, allocations: 0 / 0.6821 GB, free: 15.09 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.000731/0.3529, allocations: 335.6 kB / 0.6824 GB, free: 14.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.453e-05/0.353, allocations: 12.02 kB / 0.6824 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.154e-05/0.3531, allocations: 4.938 kB / 0.6824 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.3532, allocations: 164.3 kB / 0.6826 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3533, allocations: 384 / 0.6826 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.3533, allocations: 12.36 kB / 0.6826 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.3535, allocations: 46 kB / 0.6826 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3536, allocations: 3.938 kB / 0.6826 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3536, allocations: 0 / 0.6826 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3536, allocations: 4 kB / 0.6826 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.3537, allocations: 15.98 kB / 0.6827 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.354, allocations: 161.5 kB / 0.6828 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3541, allocations: 30.58 kB / 0.6828 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.3541, allocations: 16.95 kB / 0.6829 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.3542, allocations: 4 kB / 0.6829 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003538/0.3545, allocations: 75.33 kB / 0.6829 GB, free: 14.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.3546, allocations: 0 / 0.6829 GB, free: 14.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004083/0.355, allocations: 97.61 kB / 0.683 GB, free: 13.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.3551, allocations: 55.41 kB / 0.6831 GB, free: 13.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/0.3552, allocations: 89.86 kB / 0.6832 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.3552, allocations: 37.69 kB / 0.6832 GB, free: 13.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.3553, allocations: 80.14 kB / 0.6833 GB, free: 13.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.3553, allocations: 15.81 kB / 0.6833 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.3554, allocations: 33.73 kB / 0.6833 GB, free: 13.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.3556, allocations: 314.8 kB / 0.6836 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-05/0.3557, allocations: 23.98 kB / 0.6836 GB, free: 13.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3559, allocations: 68.73 kB / 0.6837 GB, free: 13.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.3561, allocations: 97.88 kB / 0.6838 GB, free: 13.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3561, allocations: 0 / 0.6838 GB, free: 13.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003024/0.3564, allocations: 125.4 kB / 0.6839 GB, free: 12.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.3564, allocations: 7.938 kB / 0.6839 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.3565, allocations: 4 kB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.3565, allocations: 3.938 kB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.3567, allocations: 15.94 kB / 0.684 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3567, allocations: 0 / 0.684 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.3567, allocations: 7.984 kB / 0.684 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.3568, allocations: 4 kB / 0.684 GB, free: 12.9 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 0.0001778/0.357, allocations: 130.7 kB / 0.6841 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.357, allocations: 3.938 kB / 0.6841 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.357, allocations: 3.969 kB / 0.6841 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.357, allocations: 0 / 0.6841 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.3571, allocations: 4 kB / 0.6841 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.3571, allocations: 3.984 kB / 0.6841 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.3573, allocations: 161.6 kB / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3573, allocations: 3.938 kB / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-06/0.3573, allocations: 0 / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.3574, allocations: 11.92 kB / 0.6843 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3574, allocations: 0 / 0.6843 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3574, allocations: 0 / 0.6843 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3574, allocations: 3.938 kB / 0.6843 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.3577, allocations: 105.1 kB / 0.6844 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.3578, allocations: 81.05 kB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.3578, allocations: 4 kB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.784e-05/0.3578, allocations: 0 / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.3579, allocations: 8.031 kB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.3579, allocations: 0 / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.143e-05/0.358, allocations: 75.28 kB / 0.6845 GB, free: 12.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.358, allocations: 0 / 0.6845 GB, free: 12.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.3584, allocations: 27.98 kB / 0.6846 GB, free: 12.19 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.0003845/0.3588, allocations: 123.2 kB / 0.6847 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.359, allocations: 60.22 kB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3591, allocations: 0 / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.413e-05/0.3591, allocations: 20 kB / 0.6848 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.3594, allocations: 7.938 kB / 0.6848 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.3599, allocations: 148.9 kB / 0.6849 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.3604, allocations: 0.677 MB / 0.6856 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.3605, allocations: 7.438 kB / 0.6856 GB, free: 11.09 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3605, allocations: 192 / 0.6856 GB, free: 11.09 MB / 494.1 MB Notification: Performance of Templates: time 0.004086/0.3646, allocations: 0.8207 MB / 0.6864 GB, free: 10.27 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.o] Error 1