Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01777/0.01777, allocations: 100.1 kB / 15.87 MB, free: 5.867 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.00316/0.00316, allocations: 191.3 kB / 16.79 MB, free: 5.809 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.636/2.636, allocations: 222.9 MB / 240.4 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003813/0.003813, allocations: 282.8 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 1.693/1.693, allocations: 169.3 MB / 0.4984 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002768, allocations: 89.3 kB / 0.5952 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3524, allocations: 86.98 MB / 0.6801 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.003855/0.3563, allocations: 1.312 MB / 0.6814 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.3588, allocations: 0.9114 MB / 0.6823 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.3589, allocations: 0 / 0.6823 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.943e-05/0.359, allocations: 9.234 kB / 0.6823 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.3592, allocations: 27.97 kB / 0.6823 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3602, allocations: 191.6 kB / 0.6825 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.3604, allocations: 39.95 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.3604, allocations: 0 / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.394e-05/0.3605, allocations: 19.97 kB / 0.6826 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.3607, allocations: 51.83 kB / 0.6826 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.3608, allocations: 4 kB / 0.6826 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/0.3614, allocations: 271.6 kB / 0.6829 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.3615, allocations: 15.98 kB / 0.6829 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.3616, allocations: 23.8 kB / 0.6829 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.362, allocations: 164 kB / 0.6831 GB, free: 14.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3621, allocations: 3.938 kB / 0.6831 GB, free: 14.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3621, allocations: 0 / 0.6831 GB, free: 14.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.3621, allocations: 0 / 0.6831 GB, free: 14.1 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006425/0.3627, allocations: 387.3 kB / 0.6834 GB, free: 13.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.3628, allocations: 8.031 kB / 0.6835 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.3629, allocations: 12.84 kB / 0.6835 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.3631, allocations: 176.3 kB / 0.6836 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3631, allocations: 384 / 0.6836 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3631, allocations: 384 / 0.6836 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3633, allocations: 62 kB / 0.6837 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3633, allocations: 0 / 0.6837 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3634, allocations: 0 / 0.6837 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/0.3634, allocations: 11.98 kB / 0.6837 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.3635, allocations: 35.88 kB / 0.6837 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.3638, allocations: 177.6 kB / 0.6839 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.364, allocations: 46.56 kB / 0.684 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.078e-05/0.364, allocations: 40.88 kB / 0.684 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.364, allocations: 0 / 0.684 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.3641, allocations: 34.5 kB / 0.684 GB, free: 12.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.3641, allocations: 192 / 0.684 GB, free: 12.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003197/0.3644, allocations: 137.5 kB / 0.6842 GB, free: 12.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.3645, allocations: 55.44 kB / 0.6842 GB, free: 12.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3647, allocations: 129.8 kB / 0.6843 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3647, allocations: 25.7 kB / 0.6844 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.3648, allocations: 92.12 kB / 0.6844 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.3649, allocations: 35.41 kB / 0.6845 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.3649, allocations: 17.7 kB / 0.6845 GB, free: 12.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3651, allocations: 318.8 kB / 0.6848 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.3652, allocations: 27.98 kB / 0.6848 GB, free: 12.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.513e-05/0.3652, allocations: 31.98 kB / 0.6849 GB, free: 12.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3654, allocations: 68.83 kB / 0.6849 GB, free: 11.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3654, allocations: 0 / 0.6849 GB, free: 11.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.3656, allocations: 101.5 kB / 0.685 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.3656, allocations: 11.94 kB / 0.685 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3657, allocations: 0 / 0.685 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3657, allocations: 0 / 0.685 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.3657, allocations: 384 / 0.685 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3657, allocations: 0 / 0.685 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.3657, allocations: 4 kB / 0.685 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.3658, allocations: 8.062 kB / 0.685 GB, free: 11.86 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001447/0.3659, allocations: 122.4 kB / 0.6852 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.366, allocations: 15.84 kB / 0.6852 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.366, allocations: 8.375 kB / 0.6852 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/0.3661, allocations: 11.98 kB / 0.6852 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3661, allocations: 0 / 0.6852 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3661, allocations: 0 / 0.6852 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.3664, allocations: 177.5 kB / 0.6854 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3664, allocations: 4 kB / 0.6854 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.3664, allocations: 4 kB / 0.6854 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.3664, allocations: 3.938 kB / 0.6854 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3664, allocations: 0 / 0.6854 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.3665, allocations: 0 / 0.6854 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3665, allocations: 3.938 kB / 0.6854 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.3667, allocations: 125 kB / 0.6855 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.3668, allocations: 88.95 kB / 0.6856 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3668, allocations: 4 kB / 0.6856 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.184e-05/0.3668, allocations: 4.031 kB / 0.6856 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.3669, allocations: 3.984 kB / 0.6856 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.3669, allocations: 0 / 0.6856 GB, free: 11.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.536e-05/0.367, allocations: 103.3 kB / 0.6857 GB, free: 11.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.367, allocations: 3.938 kB / 0.6857 GB, free: 11.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006131/0.3676, allocations: 67.98 kB / 0.6858 GB, free: 11.03 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0005189/0.3682, allocations: 167.2 kB / 0.6859 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.3684, allocations: 67.97 kB / 0.686 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3684, allocations: 4.062 kB / 0.686 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.866e-05/0.3685, allocations: 35.98 kB / 0.686 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.3687, allocations: 0 / 0.686 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/0.3694, allocations: 257.4 kB / 0.6863 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.3699, allocations: 0.6966 MB / 0.6869 GB, free: 9.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.3699, allocations: 11.44 kB / 0.687 GB, free: 9.73 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3699, allocations: 0 / 0.687 GB, free: 9.73 MB / 494.1 MB Notification: Performance of Templates: time 0.005879/0.3758, allocations: 1.501 MB / 0.6884 GB, free: 8.238 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.AggregationWeightingFactorsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactorsCalcHelperMain.o] Error 1