Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001046/0.001046, allocations: 98.8 kB / 16.02 MB, free: 76 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.001093/0.001093, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001761, allocations: 274.1 kB / 292.3 MB, free: 1.805 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9766/0.9766, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004133, allocations: 20.27 kB / 0.5993 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1889, allocations: 88.55 MB / 0.6858 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001695/0.1906, allocations: 1.138 MB / 0.6869 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007579/0.1982, allocations: 4.393 MB / 0.6912 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.1983, allocations: 0 / 0.6912 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.1985, allocations: 7.922 kB / 0.6912 GB, free: 9.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.1988, allocations: 32.5 kB / 0.6913 GB, free: 9.449 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.003993/0.2028, allocations: 1.182 MB / 0.6924 GB, free: 8.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.203, allocations: 127.6 kB / 0.6925 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.677e-05/0.2031, allocations: 11.92 kB / 0.6925 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.043e-05/0.2032, allocations: 35.92 kB / 0.6926 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.2035, allocations: 160.9 kB / 0.6927 GB, free: 7.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.2036, allocations: 16 kB / 0.6928 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003954/0.2075, allocations: 2.184 MB / 0.6949 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.2078, allocations: 271.8 kB / 0.6951 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.2081, allocations: 300 kB / 0.6954 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.2108, allocations: 1.493 MB / 0.6969 GB, free: 3.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.2109, allocations: 0 / 0.6969 GB, free: 3.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.2109, allocations: 3.938 kB / 0.6969 GB, free: 3.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2109, allocations: 4 kB / 0.6969 GB, free: 3.676 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.01107/0.222, allocations: 1.238 MB / 0.6981 GB, free: 2.387 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.545e-05/0.222, allocations: 12.02 kB / 0.6981 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.2225, allocations: 87.69 kB / 0.6982 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.223, allocations: 365 kB / 0.6985 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.223, allocations: 12.38 kB / 0.6986 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.223, allocations: 4.375 kB / 0.6986 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.2235, allocations: 399.4 kB / 0.6989 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2236, allocations: 0 / 0.6989 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.2236, allocations: 0 / 0.6989 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2236, allocations: 0 / 0.6989 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/0.2241, allocations: 439.7 kB / 0.6994 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.2248, allocations: 0.6288 MB / 0.7 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005933/0.2254, allocations: 0.5672 MB / 0.7005 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.2257, allocations: 329.7 kB / 0.7008 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/0.227, allocations: 1.04 MB / 0.7019 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.2275, allocations: 416.8 kB / 0.7023 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.2275, allocations: 0 / 0.7023 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.00146/0.2289, allocations: 1.289 MB / 0.7035 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.229, allocations: 81.11 kB / 0.7036 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.2303, allocations: 1.21 MB / 0.7048 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.2304, allocations: 29.83 kB / 0.7048 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.2306, allocations: 265.4 kB / 0.7051 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.2307, allocations: 27.64 kB / 0.7051 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.2309, allocations: 291.7 kB / 0.7054 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2311, allocations: 314 kB / 0.7057 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.2324, allocations: 1.369 MB / 0.707 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.2339, allocations: 1.505 MB / 0.7085 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007212/0.2411, allocations: 3.56 MB / 0.7119 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.2411, allocations: 0 / 0.7119 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004456/0.2456, allocations: 4.003 MB / 0.7159 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2456, allocations: 11.88 kB / 0.7159 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.2456, allocations: 8.031 kB / 0.7159 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2457, allocations: 0 / 0.7159 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2458, allocations: 19.92 kB / 0.7159 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2458, allocations: 0 / 0.7159 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/0.2465, allocations: 228.3 kB / 0.7161 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/0.2466, allocations: 23.98 kB / 0.7161 GB, free: 15.34 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.0004417/0.247, allocations: 238.3 kB / 0.7164 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.103e-05/0.2471, allocations: 78.7 kB / 0.7164 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.2475, allocations: 71.02 kB / 0.7165 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.2475, allocations: 4 kB / 0.7165 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2475, allocations: 0 / 0.7165 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2475, allocations: 0 / 0.7165 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.2482, allocations: 0.4969 MB / 0.717 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2482, allocations: 0 / 0.717 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-05/0.2483, allocations: 11.92 kB / 0.717 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2483, allocations: 4.031 kB / 0.717 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.2483, allocations: 4 kB / 0.717 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.2484, allocations: 3.984 kB / 0.717 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2484, allocations: 0 / 0.717 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009549/0.2493, allocations: 0.9935 MB / 0.718 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.2494, allocations: 159.7 kB / 0.7181 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.2495, allocations: 11.98 kB / 0.7182 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.2496, allocations: 4 kB / 0.7182 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.2497, allocations: 3.984 kB / 0.7182 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.2497, allocations: 11.98 kB / 0.7182 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006594/0.2504, allocations: 0.6728 MB / 0.7188 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2504, allocations: 0 / 0.7188 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001565/0.252, allocations: 0.5818 MB / 0.7194 GB, free: 11.88 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.001734/0.2537, allocations: 0.7021 MB / 0.7201 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002257/0.256, allocations: 2.548 MB / 0.7226 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.256, allocations: 0 / 0.7226 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.2563, allocations: 343.7 kB / 0.7229 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.2566, allocations: 42.77 kB / 0.7229 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.2592, allocations: 1.974 MB / 0.7249 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007396/0.2599, allocations: 0.9682 MB / 0.7258 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.26, allocations: 23.42 kB / 0.7258 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.26, allocations: 3.938 kB / 0.7258 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of Templates: time 0.02211/0.2822, allocations: 13.79 MB / 0.7393 GB, free: 7.438 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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_1borehole_5metersCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.o] Error 1