Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004917/0.004918, allocations: 101.1 kB / 15.88 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.001087/0.001087, allocations: 190.6 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7556/0.7556, allocations: 132.2 MB / 422.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 63.56 kB / 0.5017 GB, free: 9.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1807, allocations: 80.2 MB / 0.5801 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.003464/0.1843, allocations: 1.464 MB / 0.5815 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005818/0.1902, allocations: 3.227 MB / 0.5847 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.1903, allocations: 7.938 kB / 0.5847 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.1904, allocations: 7.922 kB / 0.5847 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.1907, allocations: 23.91 kB / 0.5847 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.1932, allocations: 0.7669 MB / 0.5854 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1934, allocations: 115.7 kB / 0.5856 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.1935, allocations: 4 kB / 0.5856 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/0.1935, allocations: 43.83 kB / 0.5856 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.1938, allocations: 224.9 kB / 0.5858 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.1939, allocations: 15.94 kB / 0.5858 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.1964, allocations: 1.396 MB / 0.5872 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007276/0.1971, allocations: 0.6758 MB / 0.5879 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.1975, allocations: 441 kB / 0.5883 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.1991, allocations: 1.197 MB / 0.5894 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1992, allocations: 4 kB / 0.5894 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1992, allocations: 0 / 0.5894 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.1992, allocations: 0 / 0.5894 GB, free: 15.59 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.007827/0.207, allocations: 1.694 MB / 0.5911 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2071, allocations: 8.031 kB / 0.5911 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/0.2075, allocations: 146.9 kB / 0.5912 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.2081, allocations: 0.5289 MB / 0.5918 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2081, allocations: 8.359 kB / 0.5918 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.2081, allocations: 12.12 kB / 0.5918 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.2086, allocations: 387.1 kB / 0.5922 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2086, allocations: 4 kB / 0.5922 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.2086, allocations: 0 / 0.5922 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.2086, allocations: 0 / 0.5922 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.209, allocations: 435.8 kB / 0.5926 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.2097, allocations: 0.7996 MB / 0.5934 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.2102, allocations: 0.5633 MB / 0.5939 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.2106, allocations: 341.7 kB / 0.5942 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.2116, allocations: 1.028 MB / 0.5952 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003848/0.212, allocations: 404.8 kB / 0.5956 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.212, allocations: 0 / 0.5956 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001315/0.2134, allocations: 1.347 MB / 0.5969 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.2134, allocations: 85.11 kB / 0.597 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.2151, allocations: 1.839 MB / 0.5988 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.2152, allocations: 33.81 kB / 0.5988 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/0.2155, allocations: 485.2 kB / 0.5993 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.2156, allocations: 19.75 kB / 0.5993 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.2159, allocations: 355.5 kB / 0.5997 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.216, allocations: 301.1 kB / 0.5999 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.2173, allocations: 1.51 MB / 0.6014 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.2186, allocations: 1.646 MB / 0.603 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3135/0.5321, allocations: 3.696 MB / 0.6066 GB, free: 54.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.5322, allocations: 0 / 0.6066 GB, free: 54.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003645/0.5358, allocations: 4.316 MB / 0.6109 GB, free: 52.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5359, allocations: 4.906 kB / 0.6109 GB, free: 52.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.5359, allocations: 4.438 kB / 0.6109 GB, free: 52.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.5359, allocations: 1.688 kB / 0.6109 GB, free: 52.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.536, allocations: 14.62 kB / 0.6109 GB, free: 52.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.5361, allocations: 10.86 kB / 0.6109 GB, free: 52.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.5366, allocations: 231.4 kB / 0.6111 GB, free: 52.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.5366, allocations: 23.67 kB / 0.6111 GB, free: 52.7 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.000448/0.5371, allocations: 365.4 kB / 0.6115 GB, free: 52.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.5372, allocations: 121.3 kB / 0.6116 GB, free: 52.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.5375, allocations: 148.3 kB / 0.6117 GB, free: 52.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5375, allocations: 1.344 kB / 0.6117 GB, free: 52.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.5375, allocations: 6.312 kB / 0.6117 GB, free: 52.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5375, allocations: 0 / 0.6117 GB, free: 52.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/0.5381, allocations: 0.6778 MB / 0.6124 GB, free: 52.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5381, allocations: 1.031 kB / 0.6124 GB, free: 52.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.077e-05/0.5382, allocations: 8.875 kB / 0.6124 GB, free: 52.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5382, allocations: 1.875 kB / 0.6124 GB, free: 52.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.5382, allocations: 6.469 kB / 0.6124 GB, free: 52.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.5382, allocations: 4.734 kB / 0.6124 GB, free: 52.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5382, allocations: 0 / 0.6124 GB, free: 52.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008396/0.539, allocations: 1.064 MB / 0.6135 GB, free: 51.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.5392, allocations: 197 kB / 0.6137 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.5393, allocations: 0 / 0.6137 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.5395, allocations: 6.703 kB / 0.6137 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.5395, allocations: 16.42 kB / 0.6137 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.5396, allocations: 9.141 kB / 0.6137 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001062/0.5406, allocations: 1.108 MB / 0.6148 GB, free: 51.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5406, allocations: 0 / 0.6148 GB, free: 51.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001193/0.5418, allocations: 431.5 kB / 0.6152 GB, free: 51.37 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.001122/0.543, allocations: 496.2 kB / 0.6157 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.5449, allocations: 2.638 MB / 0.6182 GB, free: 50.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.5449, allocations: 2.938 kB / 0.6182 GB, free: 50.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.5453, allocations: 344.5 kB / 0.6186 GB, free: 50.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.5457, allocations: 45.45 kB / 0.6186 GB, free: 50.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.5485, allocations: 2.899 MB / 0.6214 GB, free: 49.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.549, allocations: 1.153 MB / 0.6226 GB, free: 48.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.5492, allocations: 25.22 kB / 0.6226 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.623e-06/0.5492, allocations: 0 / 0.6226 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.02664/0.5758, allocations: 15.03 MB / 0.6373 GB, free: 45.52 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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_100boreholesCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.o] Error 1