Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01021/0.01021, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001249/0.001249, allocations: 173.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.099/2.099, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.393/2.393, allocations: 252.8 MB / 0.511 GB, free: 8.285 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006663/0.0006664, allocations: 16.03 kB / 0.6244 GB, free: 21.02 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2412, allocations: 106.2 MB / 0.7281 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001816/0.2431, allocations: 1.118 MB / 0.7292 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005987/0.2491, allocations: 2.826 MB / 0.7319 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.2492, allocations: 0 / 0.7319 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.2493, allocations: 11.92 kB / 0.732 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.2496, allocations: 31.83 kB / 0.732 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00308/0.2527, allocations: 0.7178 MB / 0.7327 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.2528, allocations: 47.88 kB / 0.7327 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.2529, allocations: 7.984 kB / 0.7327 GB, free: 3.266 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.109e-05/0.253, allocations: 39.89 kB / 0.7328 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.2533, allocations: 143.7 kB / 0.7329 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.2533, allocations: 16 kB / 0.7329 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.2562, allocations: 1.252 MB / 0.7342 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002705/0.2565, allocations: 239.3 kB / 0.7344 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.2567, allocations: 117.2 kB / 0.7345 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.2587, allocations: 0.9746 MB / 0.7355 GB, free: 496 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2587, allocations: 4 kB / 0.7355 GB, free: 492 kB / 0.5573 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2587, allocations: 0 / 0.7355 GB, free: 492 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2588, allocations: 0 / 0.7355 GB, free: 492 kB / 0.5573 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.01765/0.2764, allocations: 1.16 MB / 0.7366 GB, free: 15.27 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.2765, allocations: 12.02 kB / 0.7366 GB, free: 15.26 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.2766, allocations: 38.56 kB / 0.7366 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.2771, allocations: 90.7 kB / 0.7367 GB, free: 15.12 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.2776, allocations: 359.6 kB / 0.7371 GB, free: 14.72 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.2777, allocations: 4 kB / 0.7371 GB, free: 14.71 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.2777, allocations: 4 kB / 0.7371 GB, free: 14.71 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006219/0.2784, allocations: 387.2 kB / 0.7374 GB, free: 14.32 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2784, allocations: 0 / 0.7374 GB, free: 14.32 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.2784, allocations: 7.938 kB / 0.7374 GB, free: 14.31 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2784, allocations: 7.938 kB / 0.7375 GB, free: 14.3 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006875/0.2791, allocations: 451.6 kB / 0.7379 GB, free: 13.86 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/0.28, allocations: 0.6286 MB / 0.7385 GB, free: 13.18 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007669/0.2807, allocations: 0.5555 MB / 0.739 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.2822, allocations: 1.048 MB / 0.7401 GB, free: 11.34 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005907/0.2828, allocations: 404.9 kB / 0.7405 GB, free: 10.93 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 2.354e-06/0.2828, allocations: 0 / 0.7405 GB, free: 10.93 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.001994/0.2848, allocations: 1.281 MB / 0.7417 GB, free: 9.637 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.2849, allocations: 85.09 kB / 0.7418 GB, free: 9.535 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.2867, allocations: 1.19 MB / 0.7429 GB, free: 8.328 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.032e-05/0.2868, allocations: 33.7 kB / 0.743 GB, free: 8.289 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.2871, allocations: 265.5 kB / 0.7432 GB, free: 8.023 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.2872, allocations: 19.72 kB / 0.7433 GB, free: 8.004 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.2872, allocations: 4 kB / 0.7433 GB, free: 8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.2875, allocations: 419.8 kB / 0.7437 GB, free: 7.582 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.2894, allocations: 1.361 MB / 0.745 GB, free: 6.219 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.2915, allocations: 1.493 MB / 0.7464 GB, free: 4.715 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.294, allocations: 1.895 MB / 0.7483 GB, free: 2.805 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.294, allocations: 0 / 0.7483 GB, free: 2.805 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00618/0.3002, allocations: 3.949 MB / 0.7522 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.3003, allocations: 4 kB / 0.7522 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.3003, allocations: 0 / 0.7522 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.3004, allocations: 4 kB / 0.7522 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.3006, allocations: 23.95 kB / 0.7522 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3006, allocations: 0 / 0.7522 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008812/0.3015, allocations: 224.3 kB / 0.7524 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.188e-05/0.3016, allocations: 27.97 kB / 0.7524 GB, free: 14.54 MB / 0.5886 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.000443/0.302, allocations: 237.6 kB / 0.7526 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.3021, allocations: 66.78 kB / 0.7527 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.3026, allocations: 74.84 kB / 0.7528 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3026, allocations: 4 kB / 0.7528 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3026, allocations: 0 / 0.7528 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3026, allocations: 3.984 kB / 0.7528 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.3032, allocations: 0.4928 MB / 0.7533 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3033, allocations: 0 / 0.7533 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.3034, allocations: 8 kB / 0.7533 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3034, allocations: 0 / 0.7533 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.3034, allocations: 11.98 kB / 0.7533 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3034, allocations: 4.031 kB / 0.7533 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3035, allocations: 0 / 0.7533 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.3048, allocations: 1.008 MB / 0.7543 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.305, allocations: 151.9 kB / 0.7544 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/0.3051, allocations: 11.98 kB / 0.7544 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.3054, allocations: 4 kB / 0.7544 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.3054, allocations: 7.984 kB / 0.7544 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/0.3055, allocations: 11.98 kB / 0.7545 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00113/0.3066, allocations: 0.657 MB / 0.7551 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3066, allocations: 0 / 0.7551 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001429/0.3081, allocations: 395.8 kB / 0.7555 GB, free: 11.29 MB / 0.5886 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.003694/0.3118, allocations: 2.014 MB / 0.7574 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003627/0.3154, allocations: 2.499 MB / 0.7599 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3155, allocations: 0 / 0.7599 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.316, allocations: 335.8 kB / 0.7602 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3164, allocations: 40.55 kB / 0.7602 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/0.3209, allocations: 2.579 MB / 0.7628 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007309/0.3217, allocations: 0.9796 MB / 0.7637 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003021/0.322, allocations: 28.56 kB / 0.7637 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.3225, allocations: 263.3 kB / 0.764 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/0.3225, allocations: 0 / 0.764 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05219/0.3747, allocations: 16.45 MB / 0.7801 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003957/0.3751, allocations: 278.8 kB / 0.7803 GB, free: 1.824 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.307/3.682, allocations: 0 / 0.7803 GB, free: 1.824 MB / 0.6042 GB