Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005496/0.005496, allocations: 100.8 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.001137/0.001137, allocations: 192 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 1.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7069/0.7069, allocations: 132.2 MB / 422.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 58.06 kB / 0.5017 GB, free: 9.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1708, allocations: 80.21 MB / 0.5801 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002753/0.1736, allocations: 1.778 MB / 0.5818 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00546/0.1791, allocations: 4.404 MB / 0.5861 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.1792, allocations: 3.938 kB / 0.5861 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1803, allocations: 354.6 kB / 0.5864 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.905e-05/0.1804, allocations: 59.73 kB / 0.5865 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.1823, allocations: 0.7593 MB / 0.5872 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1825, allocations: 190.3 kB / 0.5874 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.1826, allocations: 21.42 kB / 0.5874 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.19e-05/0.1826, allocations: 51.78 kB / 0.5875 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1828, allocations: 172.8 kB / 0.5877 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.1829, allocations: 15.94 kB / 0.5877 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.1846, allocations: 1.4 MB / 0.589 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.1848, allocations: 275.8 kB / 0.5893 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.1851, allocations: 302.1 kB / 0.5896 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.1861, allocations: 1.045 MB / 0.5906 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1862, allocations: 4 kB / 0.5906 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.02e-07/0.1862, allocations: 0 / 0.5906 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1862, allocations: 0 / 0.5906 GB, free: 14.3 MB / 0.4981 GB 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.007342/0.1935, allocations: 1.281 MB / 0.5919 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1936, allocations: 8.031 kB / 0.5919 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/0.1939, allocations: 95.59 kB / 0.592 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.1944, allocations: 406 kB / 0.5924 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1944, allocations: 4.375 kB / 0.5924 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.1944, allocations: 12.12 kB / 0.5924 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.1948, allocations: 399.1 kB / 0.5928 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1949, allocations: 0 / 0.5928 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1949, allocations: 0 / 0.5928 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1949, allocations: 0 / 0.5928 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.1953, allocations: 431.8 kB / 0.5932 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.1958, allocations: 0.669 MB / 0.5938 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.1963, allocations: 0.5595 MB / 0.5944 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.1966, allocations: 341.5 kB / 0.5947 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009939/0.1976, allocations: 1.028 MB / 0.5957 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003622/0.1979, allocations: 404.8 kB / 0.5961 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.1979, allocations: 0 / 0.5961 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001176/0.1991, allocations: 1.304 MB / 0.5974 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.1992, allocations: 81.11 kB / 0.5974 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.2003, allocations: 1.277 MB / 0.5987 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.2004, allocations: 25.7 kB / 0.5987 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.2006, allocations: 289.3 kB / 0.599 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.2006, allocations: 19.75 kB / 0.599 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.2009, allocations: 347.5 kB / 0.5993 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.201, allocations: 326.1 kB / 0.5996 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.2021, allocations: 1.357 MB / 0.601 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.2032, allocations: 1.493 MB / 0.6024 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.312/0.5152, allocations: 3.544 MB / 0.6059 GB, free: 54.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.5152, allocations: 0 / 0.6059 GB, free: 54.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003269/0.5185, allocations: 3.969 MB / 0.6098 GB, free: 53.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5186, allocations: 7.312 kB / 0.6098 GB, free: 53.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.5186, allocations: 0 / 0.6098 GB, free: 53.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.5186, allocations: 3.188 kB / 0.6098 GB, free: 53.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.5187, allocations: 17.16 kB / 0.6098 GB, free: 53.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5188, allocations: 0 / 0.6098 GB, free: 53.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.5192, allocations: 234.5 kB / 0.61 GB, free: 53.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.5192, allocations: 24.58 kB / 0.61 GB, free: 53.14 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0002546/0.5195, allocations: 247.3 kB / 0.6103 GB, free: 53.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.5195, allocations: 78.62 kB / 0.6103 GB, free: 52.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.5198, allocations: 78.66 kB / 0.6104 GB, free: 52.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5198, allocations: 6.406 kB / 0.6104 GB, free: 52.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5198, allocations: 0 / 0.6104 GB, free: 52.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5198, allocations: 0.6562 kB / 0.6104 GB, free: 52.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.5202, allocations: 0.5146 MB / 0.6109 GB, free: 52.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.5202, allocations: 3.469 kB / 0.6109 GB, free: 52.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.5203, allocations: 4.312 kB / 0.6109 GB, free: 52.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5203, allocations: 3.156 kB / 0.6109 GB, free: 52.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.5203, allocations: 6.297 kB / 0.6109 GB, free: 52.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5203, allocations: 4.031 kB / 0.611 GB, free: 52.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5203, allocations: 2.078 kB / 0.611 GB, free: 52.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.521, allocations: 1.012 MB / 0.6119 GB, free: 52.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.5211, allocations: 154.2 kB / 0.6121 GB, free: 52.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.5212, allocations: 2.781 kB / 0.6121 GB, free: 52.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.5213, allocations: 11.45 kB / 0.6121 GB, free: 52.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.5213, allocations: 8.016 kB / 0.6121 GB, free: 52.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.5214, allocations: 15.72 kB / 0.6121 GB, free: 52.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005981/0.522, allocations: 0.7173 MB / 0.6128 GB, free: 52.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.522, allocations: 1.375 kB / 0.6128 GB, free: 52.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001007/0.523, allocations: 406.4 kB / 0.6132 GB, free: 52.06 MB / 0.4981 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.001081/0.5241, allocations: 494.5 kB / 0.6137 GB, free: 51.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.5258, allocations: 2.489 MB / 0.6161 GB, free: 50.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5258, allocations: 0 / 0.6161 GB, free: 50.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.5261, allocations: 347.3 kB / 0.6164 GB, free: 50.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.5265, allocations: 57.8 kB / 0.6165 GB, free: 50.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.5285, allocations: 2.091 MB / 0.6185 GB, free: 50.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.5289, allocations: 0.9867 MB / 0.6195 GB, free: 49.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.529, allocations: 23.05 kB / 0.6195 GB, free: 49.41 MB / 0.4981 GB Notification: Performance of SimCode: time 1.873e-06/0.529, allocations: 0 / 0.6195 GB, free: 49.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.01681/0.5458, allocations: 11.19 MB / 0.6305 GB, free: 47.89 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o] Error 1