Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 91.53 kB / 16.02 MB, free: 80 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.00127/0.00127, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 274.2 kB / 292.3 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004711, allocations: 17.67 kB / 0.5993 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1792, allocations: 88.55 MB / 0.6858 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00214/0.1814, allocations: 1.453 MB / 0.6872 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008058/0.1895, allocations: 5.545 MB / 0.6927 GB, free: 8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1896, allocations: 4 kB / 0.6927 GB, free: 7.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.1908, allocations: 354.6 kB / 0.693 GB, free: 7.648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.191, allocations: 56.88 kB / 0.693 GB, free: 7.594 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.1944, allocations: 1.184 MB / 0.6942 GB, free: 6.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.1947, allocations: 203.3 kB / 0.6944 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.1948, allocations: 13.55 kB / 0.6944 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.1949, allocations: 51.78 kB / 0.6945 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.1951, allocations: 180.8 kB / 0.6946 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.1952, allocations: 12 kB / 0.6946 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003348/0.1985, allocations: 2.184 MB / 0.6968 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.1988, allocations: 279.8 kB / 0.697 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.1991, allocations: 331.8 kB / 0.6974 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.2013, allocations: 1.555 MB / 0.6989 GB, free: 1.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2013, allocations: 0 / 0.6989 GB, free: 1.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2013, allocations: 0 / 0.6989 GB, free: 1.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.951e-05/0.2013, allocations: 4 kB / 0.6989 GB, free: 1.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01093/0.2122, allocations: 1.296 MB / 0.7001 GB, free: 268 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2123, allocations: 12.03 kB / 0.7002 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004284/0.2127, allocations: 99.58 kB / 0.7003 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/0.2133, allocations: 406.3 kB / 0.7006 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.2134, allocations: 8.312 kB / 0.7007 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.2134, allocations: 4.375 kB / 0.7007 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.2139, allocations: 395.5 kB / 0.701 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2139, allocations: 0 / 0.701 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.2139, allocations: 3.984 kB / 0.701 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2139, allocations: 0 / 0.701 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.2144, allocations: 435.8 kB / 0.7015 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.2151, allocations: 0.6692 MB / 0.7021 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.2156, allocations: 0.5555 MB / 0.7026 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.2159, allocations: 337.7 kB / 0.703 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.2171, allocations: 1.036 MB / 0.704 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.2175, allocations: 408.8 kB / 0.7044 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.665e-06/0.2175, allocations: 0 / 0.7044 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001346/0.2189, allocations: 1.304 MB / 0.7056 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.219, allocations: 85.23 kB / 0.7057 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.2203, allocations: 1.289 MB / 0.707 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.2204, allocations: 33.7 kB / 0.707 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.2206, allocations: 281.4 kB / 0.7073 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.2207, allocations: 23.73 kB / 0.7073 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.2209, allocations: 291.7 kB / 0.7076 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2211, allocations: 318 kB / 0.7079 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.2223, allocations: 1.369 MB / 0.7092 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.2237, allocations: 1.509 MB / 0.7107 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006899/0.2306, allocations: 3.556 MB / 0.7142 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2306, allocations: 0 / 0.7142 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004502/0.2351, allocations: 4.026 MB / 0.7181 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.2352, allocations: 5.719 kB / 0.7181 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.2352, allocations: 4 kB / 0.7181 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.2352, allocations: 0 / 0.7181 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.2353, allocations: 15.98 kB / 0.7181 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.2354, allocations: 0 / 0.7181 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.2359, allocations: 232.3 kB / 0.7184 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.236, allocations: 27.98 kB / 0.7184 GB, free: 13.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003595/0.2363, allocations: 253.3 kB / 0.7186 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2364, allocations: 82.59 kB / 0.7187 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.2367, allocations: 75.83 kB / 0.7188 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2368, allocations: 4 kB / 0.7188 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2368, allocations: 3.984 kB / 0.7188 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2368, allocations: 4 kB / 0.7188 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.2373, allocations: 0.5102 MB / 0.7193 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.2373, allocations: 4 kB / 0.7193 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.2374, allocations: 7.938 kB / 0.7193 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.2374, allocations: 7.875 kB / 0.7193 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.2374, allocations: 7.984 kB / 0.7193 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.2374, allocations: 0 / 0.7193 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2374, allocations: 0 / 0.7193 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009521/0.2384, allocations: 1.01 MB / 0.7203 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.2385, allocations: 171.6 kB / 0.7205 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/0.2386, allocations: 4 kB / 0.7205 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.2388, allocations: 8 kB / 0.7205 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.2388, allocations: 7.984 kB / 0.7205 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.2389, allocations: 7.984 kB / 0.7205 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008339/0.2397, allocations: 0.7339 MB / 0.7212 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2397, allocations: 0 / 0.7212 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001668/0.2414, allocations: 0.5857 MB / 0.7218 GB, free: 9.43 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002469/0.2439, allocations: 0.6926 MB / 0.7224 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002452/0.2463, allocations: 2.546 MB / 0.7249 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2463, allocations: 0 / 0.7249 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.2467, allocations: 343.9 kB / 0.7253 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.2472, allocations: 56.66 kB / 0.7253 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.2498, allocations: 2.132 MB / 0.7274 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/0.2504, allocations: 0.9842 MB / 0.7284 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.2506, allocations: 31.41 kB / 0.7284 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2506, allocations: 3.938 kB / 0.7284 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of Templates: time 0.02579/0.2764, allocations: 14.44 MB / 0.7425 GB, free: 4.164 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o] Error 1