Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0008393/0.0008395, allocations: 101.7 kB / 15.71 MB, free: 460 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.0009599/0.0009599, allocations: 180.2 kB / 16.58 MB, free: 6.402 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.378/1.378, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9895/0.9895, allocations: 135.3 MB / 427 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 12 kB / 0.5076 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1839, allocations: 82.32 MB / 0.588 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001848/0.1858, allocations: 1.401 MB / 0.5894 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005269/0.1911, allocations: 3.873 MB / 0.5932 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1913, allocations: 3.938 kB / 0.5932 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1923, allocations: 326.7 kB / 0.5935 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.1924, allocations: 51.73 kB / 0.5936 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.1945, allocations: 0.7451 MB / 0.5943 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.1948, allocations: 167.4 kB / 0.5944 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.1948, allocations: 21.47 kB / 0.5945 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.1949, allocations: 51.78 kB / 0.5945 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.1951, allocations: 183.6 kB / 0.5947 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1952, allocations: 16 kB / 0.5947 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.1973, allocations: 1.303 MB / 0.596 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.1975, allocations: 263.2 kB / 0.5962 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1976, allocations: 129.1 kB / 0.5963 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.1989, allocations: 1.021 MB / 0.5973 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1989, allocations: 0 / 0.5973 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1989, allocations: 4 kB / 0.5973 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.1989, allocations: 0 / 0.5973 GB, free: 9.406 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.006851/0.2058, allocations: 1.222 MB / 0.5985 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.2058, allocations: 16.03 kB / 0.5986 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/0.2062, allocations: 98.64 kB / 0.5986 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.2067, allocations: 396.8 kB / 0.599 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2067, allocations: 0 / 0.599 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.2068, allocations: 11.97 kB / 0.599 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.2072, allocations: 403.1 kB / 0.5994 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2072, allocations: 0 / 0.5994 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.2073, allocations: 0 / 0.5994 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.2073, allocations: 4 kB / 0.5994 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.2077, allocations: 431.7 kB / 0.5998 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.2083, allocations: 0.6613 MB / 0.6005 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.2088, allocations: 0.5595 MB / 0.601 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.2091, allocations: 341.6 kB / 0.6014 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.2101, allocations: 1.032 MB / 0.6024 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.2106, allocations: 412.8 kB / 0.6028 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.2106, allocations: 0 / 0.6028 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001306/0.2119, allocations: 1.3 MB / 0.604 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.2119, allocations: 81.11 kB / 0.6041 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.2131, allocations: 1.273 MB / 0.6053 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.2132, allocations: 29.7 kB / 0.6054 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.2134, allocations: 281.4 kB / 0.6056 GB, free: 436 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.2134, allocations: 19.8 kB / 0.6057 GB, free: 416 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.2134, allocations: 4 kB / 0.6057 GB, free: 412 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.346/0.5595, allocations: 425.9 kB / 0.6061 GB, free: 48.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.5607, allocations: 1.359 MB / 0.6074 GB, free: 48.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.5618, allocations: 1.495 MB / 0.6089 GB, free: 48.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.5632, allocations: 1.891 MB / 0.6107 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5632, allocations: 0 / 0.6107 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003471/0.5667, allocations: 3.958 MB / 0.6146 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5667, allocations: 3.25 kB / 0.6146 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.5667, allocations: 3.156 kB / 0.6146 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.5667, allocations: 2.453 kB / 0.6146 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.5669, allocations: 20.69 kB / 0.6146 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5669, allocations: 0 / 0.6146 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.5673, allocations: 227 kB / 0.6148 GB, free: 46.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.5673, allocations: 27.2 kB / 0.6148 GB, free: 46.42 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002457/0.5676, allocations: 242.8 kB / 0.6151 GB, free: 46.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.5676, allocations: 73.91 kB / 0.6151 GB, free: 46.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.5679, allocations: 89.91 kB / 0.6152 GB, free: 46.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5679, allocations: 2.969 kB / 0.6152 GB, free: 46.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5679, allocations: 0 / 0.6152 GB, free: 46.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5679, allocations: 0 / 0.6152 GB, free: 46.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.5683, allocations: 0.5247 MB / 0.6157 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5683, allocations: 0 / 0.6157 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.116e-05/0.5683, allocations: 9.266 kB / 0.6158 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5684, allocations: 3.188 kB / 0.6158 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.5684, allocations: 4.5 kB / 0.6158 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5684, allocations: 0 / 0.6158 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5684, allocations: 2.969 kB / 0.6158 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.5691, allocations: 0.9999 MB / 0.6167 GB, free: 45.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.5692, allocations: 165 kB / 0.6169 GB, free: 45.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.946e-05/0.5693, allocations: 2.781 kB / 0.6169 GB, free: 45.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.5694, allocations: 9.672 kB / 0.6169 GB, free: 45.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.5695, allocations: 8.859 kB / 0.6169 GB, free: 45.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.5695, allocations: 19.73 kB / 0.6169 GB, free: 45.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006087/0.5701, allocations: 0.7045 MB / 0.6176 GB, free: 45.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5701, allocations: 2.812 kB / 0.6176 GB, free: 45.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009411/0.5711, allocations: 401.5 kB / 0.618 GB, free: 45.34 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 (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.0009827/0.5721, allocations: 488.3 kB / 0.6185 GB, free: 45.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.5738, allocations: 2.49 MB / 0.6209 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5738, allocations: 0 / 0.6209 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.5741, allocations: 344.5 kB / 0.6212 GB, free: 44.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.5744, allocations: 52.39 kB / 0.6213 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.5762, allocations: 2.022 MB / 0.6233 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.5765, allocations: 0.9845 MB / 0.6242 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.5766, allocations: 29.02 kB / 0.6243 GB, free: 42.76 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.5766, allocations: 4 kB / 0.6243 GB, free: 42.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.01646/0.5931, allocations: 11.19 MB / 0.6352 GB, free: 41.26 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o] Error 1