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.0009306/0.0009306, allocations: 98.56 kB / 16.02 MB, free: 76 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.001014/0.001014, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 278.6 kB / 292.3 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9699/0.9699, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004241/0.0004242, allocations: 19.11 kB / 0.5993 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 88.54 MB / 0.6858 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001303/0.1738, allocations: 0.969 MB / 0.6868 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1753, allocations: 0.8916 MB / 0.6876 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.81e-05/0.1754, allocations: 0.875 kB / 0.6876 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.1754, allocations: 4 kB / 0.6876 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.1756, allocations: 31.95 kB / 0.6877 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.1762, allocations: 189.5 kB / 0.6878 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.642e-05/0.1763, allocations: 38.19 kB / 0.6879 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.1764, allocations: 3.984 kB / 0.6879 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.1764, allocations: 23.91 kB / 0.6879 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1766, allocations: 44.45 kB / 0.688 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1766, allocations: 6.5 kB / 0.688 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.177, allocations: 271.6 kB / 0.6882 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.1771, allocations: 19.92 kB / 0.6882 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.1771, allocations: 41.58 kB / 0.6883 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1773, allocations: 171.9 kB / 0.6884 GB, free: 12.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1774, allocations: 0 / 0.6884 GB, free: 12.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1774, allocations: 1.781 kB / 0.6884 GB, free: 12.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.1774, allocations: 0 / 0.6884 GB, free: 12.33 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.0003896/0.1778, allocations: 383.3 kB / 0.6888 GB, free: 11.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1778, allocations: 11.97 kB / 0.6888 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.1779, allocations: 9.375 kB / 0.6888 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.178, allocations: 165 kB / 0.689 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.178, allocations: 4.359 kB / 0.689 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.178, allocations: 0.9062 kB / 0.689 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1781, allocations: 67.83 kB / 0.6891 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1781, allocations: 0 / 0.6891 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.1781, allocations: 0 / 0.6891 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.1782, allocations: 8 kB / 0.6891 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.533e-05/0.1782, allocations: 35.92 kB / 0.6891 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.1784, allocations: 178.3 kB / 0.6893 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.702e-05/0.1785, allocations: 43.8 kB / 0.6893 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.1785, allocations: 42.44 kB / 0.6893 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.1785, allocations: 0 / 0.6893 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1786, allocations: 34.5 kB / 0.6894 GB, free: 11.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 9.31e-07/0.1786, allocations: 0.5625 kB / 0.6894 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002172/0.1788, allocations: 141.1 kB / 0.6895 GB, free: 11.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.1788, allocations: 51.41 kB / 0.6896 GB, free: 11.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.179, allocations: 133.8 kB / 0.6897 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.179, allocations: 25.98 kB / 0.6897 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.179, allocations: 88.14 kB / 0.6898 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.1791, allocations: 31.55 kB / 0.6898 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.1791, allocations: 13.66 kB / 0.6898 GB, free: 10.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1792, allocations: 323.9 kB / 0.6902 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/0.1793, allocations: 31.92 kB / 0.6902 GB, free: 10.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.1793, allocations: 20 kB / 0.6902 GB, free: 10.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/0.1794, allocations: 73.55 kB / 0.6903 GB, free: 10.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1794, allocations: 0.875 kB / 0.6903 GB, free: 10.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001117/0.1795, allocations: 105.5 kB / 0.6904 GB, free: 10.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1795, allocations: 8.562 kB / 0.6904 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1795, allocations: 3.984 kB / 0.6904 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1796, allocations: 1.844 kB / 0.6904 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.915e-06/0.1796, allocations: 3.984 kB / 0.6904 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1796, allocations: 4 kB / 0.6904 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.1796, allocations: 0 / 0.6904 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.1796, allocations: 0 / 0.6904 GB, free: 10.12 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 8.185e-05/0.1797, allocations: 126.6 kB / 0.6905 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.1797, allocations: 7.844 kB / 0.6905 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.363e-05/0.1797, allocations: 12.38 kB / 0.6905 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.1798, allocations: 15.98 kB / 0.6906 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1798, allocations: 0 / 0.6906 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1798, allocations: 0 / 0.6906 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.1799, allocations: 177.5 kB / 0.6907 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1799, allocations: 0 / 0.6907 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-06/0.1799, allocations: 3.984 kB / 0.6907 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1799, allocations: 7.938 kB / 0.6907 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.18, allocations: 8.094 kB / 0.6907 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.18, allocations: 3.938 kB / 0.6907 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.18, allocations: 0 / 0.6907 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.1801, allocations: 121 kB / 0.6909 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.1802, allocations: 85.05 kB / 0.6909 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.1802, allocations: 3.938 kB / 0.6909 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.037e-05/0.1802, allocations: 0 / 0.6909 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.1802, allocations: 8.016 kB / 0.691 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1802, allocations: 4 kB / 0.691 GB, free: 9.449 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.974e-05/0.1803, allocations: 103.3 kB / 0.6911 GB, free: 9.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1803, allocations: 0 / 0.6911 GB, free: 9.348 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.1806, allocations: 71.98 kB / 0.6911 GB, free: 9.277 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.0003208/0.1809, allocations: 167.2 kB / 0.6913 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.181, allocations: 59.92 kB / 0.6913 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.181, allocations: 4.062 kB / 0.6913 GB, free: 9.043 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.284e-05/0.1811, allocations: 35.98 kB / 0.6914 GB, free: 9.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.1812, allocations: 10.73 kB / 0.6914 GB, free: 9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.1816, allocations: 247.8 kB / 0.6916 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.1818, allocations: 0.7003 MB / 0.6923 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.1819, allocations: 15.5 kB / 0.6923 GB, free: 7.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1819, allocations: 0 / 0.6923 GB, free: 7.98 MB / 494.1 MB Notification: Performance of Templates: time 0.003259/0.1851, allocations: 1.489 MB / 0.6938 GB, free: 6.496 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