Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 100.1 kB / 15.88 MB, free: 12 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.002621/0.002622, allocations: 197.1 kB / 16.79 MB, free: 6.863 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.466/2.466, allocations: 222.9 MB / 240.4 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00449/0.00449, allocations: 282.7 kB / 290.9 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.692/1.692, allocations: 169.2 MB / 0.4984 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003621/0.003621, allocations: 91.3 kB / 0.5952 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3746, allocations: 86.98 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.004074/0.3787, allocations: 0.5955 MB / 0.6807 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.3807, allocations: 0.7884 MB / 0.6815 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.3807, allocations: 0.6562 kB / 0.6815 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.3808, allocations: 0 / 0.6815 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.566e-06/0.3808, allocations: 2.469 kB / 0.6815 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.3812, allocations: 11.94 kB / 0.6815 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.734e-05/0.3813, allocations: 7.984 kB / 0.6815 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.477e-05/0.3814, allocations: 3.984 kB / 0.6815 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.3814, allocations: 0 / 0.6815 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.3816, allocations: 18.05 kB / 0.6815 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.3816, allocations: 3.938 kB / 0.6815 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.929e-06/0.3817, allocations: 0 / 0.6815 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.3817, allocations: 0.625 kB / 0.6815 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.3817, allocations: 0 / 0.6815 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.068e-05/0.3818, allocations: 5.719 kB / 0.6815 GB, free: 15.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.938e-06/0.3818, allocations: 4 kB / 0.6815 GB, free: 15.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.3818, allocations: 0 / 0.6815 GB, free: 15.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3818, allocations: 0 / 0.6815 GB, free: 15.72 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004493/0.3823, allocations: 308.5 kB / 0.6818 GB, free: 15.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.848e-05/0.3823, allocations: 8.031 kB / 0.6818 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.3824, allocations: 1.656 kB / 0.6818 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.3826, allocations: 164.4 kB / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3826, allocations: 1 kB / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.3827, allocations: 5.625 kB / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3828, allocations: 38.19 kB / 0.682 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3828, allocations: 192 / 0.682 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.3829, allocations: 4.688 kB / 0.682 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3829, allocations: 0 / 0.682 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.04e-05/0.3829, allocations: 4 kB / 0.682 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.3834, allocations: 379.5 kB / 0.6824 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3836, allocations: 169.1 kB / 0.6826 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.543e-05/0.3837, allocations: 88.08 kB / 0.6826 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.831e-05/0.3837, allocations: 79.28 kB / 0.6827 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.422e-05/0.3838, allocations: 109.9 kB / 0.6828 GB, free: 14.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.274e-06/0.3838, allocations: 0 / 0.6828 GB, free: 14.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.000117/0.3839, allocations: 25.7 kB / 0.6829 GB, free: 14.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/0.3841, allocations: 126.7 kB / 0.683 GB, free: 14.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.3842, allocations: 89.86 kB / 0.6831 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.3842, allocations: 29.83 kB / 0.6831 GB, free: 13.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.3843, allocations: 92.41 kB / 0.6832 GB, free: 13.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.303e-06/0.3843, allocations: 3.984 kB / 0.6832 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.3844, allocations: 9.719 kB / 0.6832 GB, free: 13.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3846, allocations: 310.8 kB / 0.6835 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.3846, allocations: 7.938 kB / 0.6835 GB, free: 13.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-06/0.3846, allocations: 0 / 0.6835 GB, free: 13.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.3847, allocations: 4.859 kB / 0.6835 GB, free: 13.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3847, allocations: 4.062 kB / 0.6835 GB, free: 13.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001615/0.3849, allocations: 41.64 kB / 0.6835 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.3849, allocations: 6.031 kB / 0.6835 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3849, allocations: 0 / 0.6835 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3849, allocations: 0 / 0.6835 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.385, allocations: 7.984 kB / 0.6836 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.3851, allocations: 7.922 kB / 0.6836 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.3851, allocations: 3.938 kB / 0.6836 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.3851, allocations: 0 / 0.6836 GB, free: 13.41 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.000177/0.3853, allocations: 193.7 kB / 0.6838 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.3854, allocations: 105 kB / 0.6839 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.121e-05/0.3855, allocations: 104.1 kB / 0.6839 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001055/0.3856, allocations: 184.2 kB / 0.6841 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001058/0.3857, allocations: 184.2 kB / 0.6843 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/0.3858, allocations: 192.2 kB / 0.6845 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.3862, allocations: 397.2 kB / 0.6849 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.835e-05/0.3863, allocations: 105.5 kB / 0.685 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-05/0.3863, allocations: 109 kB / 0.6851 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001277/0.3865, allocations: 180.3 kB / 0.6852 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/0.3866, allocations: 184.2 kB / 0.6854 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001233/0.3868, allocations: 180.5 kB / 0.6856 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001067/0.3869, allocations: 176.3 kB / 0.6858 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3871, allocations: 315.7 kB / 0.6861 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3873, allocations: 186 kB / 0.6862 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.3874, allocations: 184.2 kB / 0.6864 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3875, allocations: 101 kB / 0.6865 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.3877, allocations: 180.2 kB / 0.6867 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.3877, allocations: 105 kB / 0.6868 GB, free: 9.891 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.787e-05/0.3878, allocations: 79.28 kB / 0.6869 GB, free: 9.812 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3878, allocations: 0 / 0.6869 GB, free: 9.812 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.3882, allocations: 0 / 0.6869 GB, free: 9.812 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002391/0.3884, allocations: 186.6 kB / 0.687 GB, free: 9.617 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.537e-05/0.3885, allocations: 3.938 kB / 0.687 GB, free: 9.613 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3885, allocations: 0 / 0.687 GB, free: 9.613 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.325e-06/0.3885, allocations: 0 / 0.687 GB, free: 9.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.3892, allocations: 0.5263 MB / 0.6875 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.3895, allocations: 179.6 kB / 0.6877 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.3899, allocations: 0.6692 MB / 0.6884 GB, free: 8.176 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.3899, allocations: 7.438 kB / 0.6884 GB, free: 8.172 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3899, allocations: 0 / 0.6884 GB, free: 8.172 MB / 494.1 MB Notification: Performance of Templates: time 0.002316/0.3922, allocations: 319 kB / 0.6887 GB, free: 7.863 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCellsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCellsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCellsCalcHelperMain.o] Error 1