Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009402/0.0009404, allocations: 96.91 kB / 16.33 MB, free: 6.41 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.00109/0.00109, allocations: 184.5 kB / 17.22 MB, free: 6.285 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.5/1.5, allocations: 223.2 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7788/0.7788, allocations: 114.4 MB / 406.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003672, allocations: 8 kB / 494.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1793, allocations: 77.27 MB / 0.5584 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001516/0.1809, allocations: 1.121 MB / 0.5595 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006169/0.1871, allocations: 3.904 MB / 0.5633 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.399e-05/0.1872, allocations: 0 / 0.5633 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.1873, allocations: 15.92 kB / 0.5633 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1875, allocations: 27.84 kB / 0.5633 GB, free: 5.812 MB / 430.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.003842/0.1914, allocations: 1.13 MB / 0.5644 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1916, allocations: 99.7 kB / 0.5645 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.187e-05/0.1916, allocations: 7.938 kB / 0.5645 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.678e-05/0.1917, allocations: 43.84 kB / 0.5646 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.192, allocations: 179.7 kB / 0.5647 GB, free: 4.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.1921, allocations: 16 kB / 0.5647 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.1959, allocations: 1.942 MB / 0.5666 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.1961, allocations: 259.2 kB / 0.5669 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.1963, allocations: 113.2 kB / 0.567 GB, free: 2.027 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.1989, allocations: 1.4 MB / 0.5684 GB, free: 0.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.199, allocations: 0 / 0.5684 GB, free: 0.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.199, allocations: 0 / 0.5684 GB, free: 0.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.199, allocations: 0 / 0.5684 GB, free: 0.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007362/0.2063, allocations: 1.257 MB / 0.5696 GB, free: 15.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.2064, allocations: 12.02 kB / 0.5696 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/0.2068, allocations: 90.73 kB / 0.5697 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.2072, allocations: 355.8 kB / 0.57 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.2072, allocations: 4 kB / 0.57 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.2073, allocations: 8 kB / 0.57 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.2077, allocations: 394.9 kB / 0.5704 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2077, allocations: 4 kB / 0.5704 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.2078, allocations: 8 kB / 0.5704 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2078, allocations: 3.938 kB / 0.5704 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.2082, allocations: 431.8 kB / 0.5708 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.2088, allocations: 0.6326 MB / 0.5715 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.2093, allocations: 0.5633 MB / 0.572 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.2096, allocations: 341.7 kB / 0.5723 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.2107, allocations: 1.032 MB / 0.5733 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/0.2111, allocations: 412.8 kB / 0.5737 GB, free: 10.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.2111, allocations: 0 / 0.5737 GB, free: 10.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001335/0.2125, allocations: 1.293 MB / 0.575 GB, free: 9.387 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.2125, allocations: 81.11 kB / 0.5751 GB, free: 9.289 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.2137, allocations: 1.203 MB / 0.5763 GB, free: 8.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.2138, allocations: 29.7 kB / 0.5763 GB, free: 8.035 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.214, allocations: 269.2 kB / 0.5765 GB, free: 7.766 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.214, allocations: 19.75 kB / 0.5766 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.214, allocations: 7.984 kB / 0.5766 GB, free: 7.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.2142, allocations: 420 kB / 0.577 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.2155, allocations: 1.369 MB / 0.5783 GB, free: 5.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.2168, allocations: 1.501 MB / 0.5798 GB, free: 4.438 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.2184, allocations: 1.914 MB / 0.5816 GB, free: 2.508 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2185, allocations: 0 / 0.5816 GB, free: 2.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3897/0.6082, allocations: 3.979 MB / 0.5855 GB, free: 31.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.6082, allocations: 9.312 kB / 0.5855 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/0.6083, allocations: 2.812 kB / 0.5855 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.6083, allocations: 1.75 kB / 0.5855 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.6085, allocations: 15.95 kB / 0.5856 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.6085, allocations: 4.438 kB / 0.5856 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.6091, allocations: 234 kB / 0.5858 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.6091, allocations: 25.03 kB / 0.5858 GB, free: 31.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003858/0.6095, allocations: 238.1 kB / 0.586 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.6096, allocations: 68.77 kB / 0.5861 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.6099, allocations: 80.5 kB / 0.5862 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6099, allocations: 1.062 kB / 0.5862 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6099, allocations: 1.094 kB / 0.5862 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.61, allocations: 2.312 kB / 0.5862 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.6105, allocations: 498 kB / 0.5867 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6106, allocations: 0.6562 kB / 0.5867 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.6106, allocations: 7.578 kB / 0.5867 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.6106, allocations: 1.578 kB / 0.5867 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.6107, allocations: 4.609 kB / 0.5867 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6107, allocations: 2.969 kB / 0.5867 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6107, allocations: 4.906 kB / 0.5867 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.6121, allocations: 0.9982 MB / 0.5876 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.87e-05/0.6122, allocations: 155.7 kB / 0.5878 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.6122, allocations: 6.062 kB / 0.5878 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.6124, allocations: 9.109 kB / 0.5878 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.6124, allocations: 10.62 kB / 0.5878 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.6125, allocations: 13.94 kB / 0.5878 GB, free: 30.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009679/0.6135, allocations: 0.6623 MB / 0.5885 GB, free: 30.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6135, allocations: 1.938 kB / 0.5885 GB, free: 30.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001953/0.6154, allocations: 0.5774 MB / 0.589 GB, free: 30.7 MB / 446.1 MB 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.002043/0.6175, allocations: 0.676 MB / 0.5897 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003626/0.6211, allocations: 2.549 MB / 0.5922 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.6211, allocations: 1.125 kB / 0.5922 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.6217, allocations: 345.3 kB / 0.5925 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.622, allocations: 38.69 kB / 0.5926 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.6249, allocations: 1.893 MB / 0.5944 GB, free: 28.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.6255, allocations: 0.9651 MB / 0.5954 GB, free: 28.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.6256, allocations: 25.17 kB / 0.5954 GB, free: 28.14 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6256, allocations: 0 / 0.5954 GB, free: 28.14 MB / 446.1 MB Notification: Performance of Templates: time 0.03228/0.6579, allocations: 13.83 MB / 0.6089 GB, free: 23.62 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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 OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.o] Error 1