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.001719/0.001719, allocations: 100.1 kB / 15.88 MB, free: 12 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.002904/0.002904, allocations: 197.3 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.566/2.566, allocations: 222.9 MB / 240.4 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004073/0.004073, allocations: 290.6 kB / 290.9 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.843/1.843, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00349/0.00349, allocations: 96.89 kB / 0.5952 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3467, allocations: 86.99 MB / 0.6801 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.004023/0.3508, allocations: 1.468 MB / 0.6816 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.3618, allocations: 4.486 MB / 0.6859 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.362, allocations: 3.938 kB / 0.6859 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.3623, allocations: 15.86 kB / 0.686 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.3627, allocations: 35.84 kB / 0.686 GB, free: 11.11 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.005751/0.3685, allocations: 1.169 MB / 0.6871 GB, free: 9.938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.3688, allocations: 123.6 kB / 0.6873 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.3689, allocations: 7.938 kB / 0.6873 GB, free: 9.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.369, allocations: 47.83 kB / 0.6873 GB, free: 9.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.3694, allocations: 160.9 kB / 0.6875 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.25e-05/0.3695, allocations: 16 kB / 0.6875 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005126/0.3746, allocations: 2.184 MB / 0.6896 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.375, allocations: 259.9 kB / 0.6899 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.3754, allocations: 278.3 kB / 0.6901 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003242/0.3786, allocations: 1.493 MB / 0.6916 GB, free: 5.379 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.3786, allocations: 8 kB / 0.6916 GB, free: 5.371 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3787, allocations: 3.938 kB / 0.6916 GB, free: 5.367 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.3787, allocations: 0 / 0.6916 GB, free: 5.367 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.01302/0.3917, allocations: 1.292 MB / 0.6929 GB, free: 4.023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.771e-05/0.3918, allocations: 12.03 kB / 0.6929 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006263/0.3924, allocations: 87.69 kB / 0.693 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/0.3931, allocations: 372.9 kB / 0.6933 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3931, allocations: 4.359 kB / 0.6933 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.082e-05/0.3932, allocations: 12.38 kB / 0.6933 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.3939, allocations: 383.5 kB / 0.6937 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3939, allocations: 4 kB / 0.6937 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.394, allocations: 0 / 0.6937 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.394, allocations: 4 kB / 0.6937 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.3947, allocations: 439.7 kB / 0.6941 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.3956, allocations: 0.6404 MB / 0.6947 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.3965, allocations: 0.5555 MB / 0.6953 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.3971, allocations: 341.7 kB / 0.6956 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001692/0.3988, allocations: 1.028 MB / 0.6966 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006238/0.3994, allocations: 408.8 kB / 0.697 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.555e-06/0.3994, allocations: 0 / 0.697 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002095/0.4015, allocations: 1.285 MB / 0.6983 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.808e-05/0.4016, allocations: 89.09 kB / 0.6983 GB, free: 14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.4035, allocations: 1.218 MB / 0.6995 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/0.4036, allocations: 29.7 kB / 0.6996 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.4039, allocations: 261.4 kB / 0.6998 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/0.404, allocations: 19.75 kB / 0.6998 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004952/0.4045, allocations: 355.6 kB / 0.7002 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4046, allocations: 314 kB / 0.7005 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.4066, allocations: 1.377 MB / 0.7018 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/0.4087, allocations: 1.501 MB / 0.7033 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.4189, allocations: 3.557 MB / 0.7068 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.419, allocations: 0 / 0.7068 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.007175/0.4262, allocations: 4.006 MB / 0.7107 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.4262, allocations: 15.92 kB / 0.7107 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/0.4263, allocations: 0 / 0.7107 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-05/0.4263, allocations: 4 kB / 0.7107 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.4266, allocations: 16 kB / 0.7107 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.4266, allocations: 3.984 kB / 0.7107 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000966/0.4276, allocations: 224.3 kB / 0.7109 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/0.4277, allocations: 23.98 kB / 0.7109 GB, free: 0.918 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: 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.0005316/0.4282, allocations: 253 kB / 0.7112 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.4283, allocations: 66.72 kB / 0.7112 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.4288, allocations: 75.06 kB / 0.7113 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4288, allocations: 4 kB / 0.7113 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.4288, allocations: 3.938 kB / 0.7113 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.4288, allocations: 4 kB / 0.7113 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007341/0.4296, allocations: 496.8 kB / 0.7118 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4296, allocations: 4.031 kB / 0.7118 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.4297, allocations: 15.92 kB / 0.7118 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.4297, allocations: 4 kB / 0.7118 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.4297, allocations: 0 / 0.7118 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4298, allocations: 0 / 0.7118 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4298, allocations: 4 kB / 0.7118 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.4312, allocations: 0.9975 MB / 0.7128 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.4314, allocations: 155.8 kB / 0.7129 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.4315, allocations: 0 / 0.7129 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.4318, allocations: 11.98 kB / 0.713 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.4318, allocations: 7.938 kB / 0.713 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.4319, allocations: 11.97 kB / 0.713 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001236/0.4332, allocations: 0.6689 MB / 0.7136 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4332, allocations: 8 kB / 0.7136 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002913/0.4361, allocations: 0.5857 MB / 0.7142 GB, free: 13.45 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.00317/0.4393, allocations: 0.6899 MB / 0.7149 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003965/0.4433, allocations: 2.549 MB / 0.7174 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.4433, allocations: 0 / 0.7174 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005304/0.4438, allocations: 336.3 kB / 0.7177 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.4444, allocations: 44.62 kB / 0.7177 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.4483, allocations: 1.978 MB / 0.7197 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008717/0.4492, allocations: 0.9681 MB / 0.7206 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.4494, allocations: 23.42 kB / 0.7206 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of SimCode: time 1.843e-06/0.4494, allocations: 0 / 0.7206 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of Templates: time 0.03665/0.4861, allocations: 13.82 MB / 0.7341 GB, free: 8.98 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