Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001068/0.001068, allocations: 100.9 kB / 15.71 MB, free: 452 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.001624/0.001624, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.431/1.431, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7639/0.7639, allocations: 132.3 MB / 424 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 13.34 kB / 0.504 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5037, allocations: 81.58 MB / 0.5837 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001285/0.5051, allocations: 0.9646 MB / 0.5847 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.5064, allocations: 0.8336 MB / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.5065, allocations: 0 / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.5065, allocations: 0.75 kB / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.5066, allocations: 30.95 kB / 0.5855 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.5073, allocations: 189.3 kB / 0.5857 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.142e-05/0.5074, allocations: 29.03 kB / 0.5857 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.5074, allocations: 1.344 kB / 0.5857 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.284e-05/0.5075, allocations: 18.47 kB / 0.5857 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.5076, allocations: 45.72 kB / 0.5858 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.5077, allocations: 0 / 0.5858 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.5081, allocations: 235 kB / 0.586 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.5081, allocations: 19.14 kB / 0.586 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.5082, allocations: 28.36 kB / 0.586 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.5084, allocations: 155 kB / 0.5862 GB, free: 2.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5084, allocations: 8.828 kB / 0.5862 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5084, allocations: 4.625 kB / 0.5862 GB, free: 2.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.5085, allocations: 0 / 0.5862 GB, free: 2.516 MB / 430.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.0003008/0.5088, allocations: 389.3 kB / 0.5866 GB, free: 2.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.5088, allocations: 9.25 kB / 0.5866 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.5088, allocations: 10.75 kB / 0.5866 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.987e-05/0.5089, allocations: 176.6 kB / 0.5868 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.509, allocations: 0.5938 kB / 0.5868 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.509, allocations: 0.9688 kB / 0.5868 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.5091, allocations: 59.91 kB / 0.5868 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.5091, allocations: 0.875 kB / 0.5868 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.5091, allocations: 0 / 0.5868 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.5092, allocations: 12.27 kB / 0.5868 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.5092, allocations: 27.98 kB / 0.5869 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.5094, allocations: 179.5 kB / 0.587 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/0.5095, allocations: 49.38 kB / 0.5871 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.5095, allocations: 42.98 kB / 0.5871 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.5095, allocations: 0 / 0.5871 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.5095, allocations: 32.56 kB / 0.5871 GB, free: 1.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.5096, allocations: 0 / 0.5871 GB, free: 1.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002176/0.5098, allocations: 131.4 kB / 0.5873 GB, free: 1.516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.5098, allocations: 52.06 kB / 0.5873 GB, free: 1.453 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.5099, allocations: 125.5 kB / 0.5874 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.5099, allocations: 26.45 kB / 0.5875 GB, free: 1.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.51, allocations: 96.45 kB / 0.5876 GB, free: 1.227 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.51, allocations: 25.59 kB / 0.5876 GB, free: 1.207 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.51, allocations: 4.688 kB / 0.5876 GB, free: 1.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.888e-05/0.5101, allocations: 324.5 kB / 0.5879 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.5101, allocations: 27.16 kB / 0.5879 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.5101, allocations: 28.34 kB / 0.588 GB, free: 0.875 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.967e-05/0.5102, allocations: 38.08 kB / 0.588 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5102, allocations: 0 / 0.588 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001114/0.5103, allocations: 96.86 kB / 0.5881 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.5103, allocations: 16.8 kB / 0.5881 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5104, allocations: 0 / 0.5881 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.5104, allocations: 0 / 0.5881 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.5104, allocations: 2.078 kB / 0.5881 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5104, allocations: 0 / 0.5881 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.5104, allocations: 5.281 kB / 0.5881 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.5104, allocations: 2.531 kB / 0.5881 GB, free: 0.8125 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.5105, allocations: 127.9 kB / 0.5882 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.5105, allocations: 11.7 kB / 0.5882 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.595e-05/0.5105, allocations: 11.33 kB / 0.5882 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.5106, allocations: 12.88 kB / 0.5883 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5106, allocations: 0.5156 kB / 0.5883 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5106, allocations: 1.375 kB / 0.5883 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.5107, allocations: 175.8 kB / 0.5884 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5107, allocations: 0.7031 kB / 0.5884 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.5107, allocations: 0.875 kB / 0.5884 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.5107, allocations: 0 / 0.5884 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.5107, allocations: 2 kB / 0.5884 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5107, allocations: 0 / 0.5884 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5107, allocations: 0.8125 kB / 0.5884 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.5109, allocations: 135.7 kB / 0.5886 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.5109, allocations: 83.56 kB / 0.5886 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.5109, allocations: 5.297 kB / 0.5886 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.385e-05/0.5109, allocations: 4.844 kB / 0.5887 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.511, allocations: 5.672 kB / 0.5887 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.511, allocations: 6 kB / 0.5887 GB, free: 276 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.776e-05/0.511, allocations: 105 kB / 0.5888 GB, free: 196 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.511, allocations: 4.031 kB / 0.5888 GB, free: 192 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.5114, allocations: 68.27 kB / 0.5888 GB, free: 184 kB / 430.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 (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.000291/0.5117, allocations: 170.9 kB / 0.589 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.5118, allocations: 69.05 kB / 0.5891 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5118, allocations: 1.188 kB / 0.5891 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.5119, allocations: 34.88 kB / 0.5891 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.512, allocations: 5.297 kB / 0.5891 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.5124, allocations: 238.2 kB / 0.5893 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.5128, allocations: 0.6944 MB / 0.59 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.5128, allocations: 14.62 kB / 0.59 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5128, allocations: 0 / 0.59 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Templates: time 0.004639/0.5174, allocations: 1.493 MB / 0.5915 GB, free: 15.05 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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 OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactorsCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactorsCalcHelperMain.o] Error 1