Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.96/3.96, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.333e-05/4.345e-05, allocations: 4.5 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2185, allocations: 98.73 MB / 0.6348 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2595/0.478, allocations: 139.4 MB / 0.7708 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006227/0.4787, allocations: 119.9 kB / 0.771 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6615/1.14, allocations: 21.75 MB / 0.7922 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.964e-06/1.14, allocations: 0 / 0.7922 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.378e-05/1.14, allocations: 20.59 kB / 0.7922 GB, free: 138 MB / 0.6511 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.002975/1.143, allocations: 1.016 MB / 0.7932 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.143, allocations: 9.875 kB / 0.7932 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/1.144, allocations: 38.97 kB / 0.7933 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005212/1.144, allocations: 95.28 kB / 0.7934 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000871/1.145, allocations: 426.3 kB / 0.7938 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/1.145, allocations: 28.42 kB / 0.7938 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/1.145, allocations: 35.06 kB / 0.7938 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/1.146, allocations: 381.8 kB / 0.7942 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.146, allocations: 0 / 0.7942 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/1.146, allocations: 1.156 kB / 0.7942 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/1.146, allocations: 9.078 kB / 0.7942 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005292/1.146, allocations: 430.2 kB / 0.7946 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/1.147, allocations: 0.7419 MB / 0.7953 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/1.148, allocations: 0.5517 MB / 0.7959 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/1.149, allocations: 333.2 kB / 0.7962 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/1.15, allocations: 1.035 MB / 0.7972 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005031/1.15, allocations: 393.8 kB / 0.7976 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 3.065e-06/1.15, allocations: 0 / 0.7976 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.001549/1.152, allocations: 0.968 MB / 0.7985 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/1.152, allocations: 87.47 kB / 0.7986 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/1.153, allocations: 1.058 MB / 0.7996 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/1.154, allocations: 40.02 kB / 0.7997 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/1.154, allocations: 282.6 kB / 0.7999 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/1.154, allocations: 20.91 kB / 0.8 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/1.154, allocations: 13.12 kB / 0.8 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.154, allocations: 418.7 kB / 0.8004 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/1.156, allocations: 1.208 MB / 0.8016 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/1.158, allocations: 1.341 MB / 0.8029 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/1.16, allocations: 1.603 MB / 0.8044 GB, free: 134 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/1.16, allocations: 0 / 0.8044 GB, free: 134 MB / 0.6511 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005355/1.166, allocations: 3.414 MB / 0.8078 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/1.166, allocations: 8 kB / 0.8078 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/1.166, allocations: 3.984 kB / 0.8078 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/1.166, allocations: 4 kB / 0.8078 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.167, allocations: 151.7 kB / 0.8079 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/1.167, allocations: 4 kB / 0.8079 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.168, allocations: 244.2 kB / 0.8082 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/1.168, allocations: 59.98 kB / 0.8082 GB, free: 130.9 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.0001594/1.169, allocations: 136.8 kB / 0.8083 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/1.169, allocations: 62.78 kB / 0.8084 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/1.17, allocations: 0.9358 MB / 0.8093 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.17, allocations: 0 / 0.8093 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.17, allocations: 0 / 0.8093 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.17, allocations: 4 kB / 0.8093 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/1.17, allocations: 496.7 kB / 0.8098 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.17, allocations: 0 / 0.8098 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/1.171, allocations: 7.984 kB / 0.8098 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/1.171, allocations: 0 / 0.8098 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/1.171, allocations: 4 kB / 0.8098 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.171, allocations: 0 / 0.8098 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.171, allocations: 7.969 kB / 0.8098 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009518/1.172, allocations: 1.008 MB / 0.8108 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/1.172, allocations: 147.9 kB / 0.8109 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/1.172, allocations: 7.984 kB / 0.811 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/1.172, allocations: 4 kB / 0.811 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/1.172, allocations: 11.98 kB / 0.811 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/1.172, allocations: 15.94 kB / 0.811 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009834/1.173, allocations: 0.6464 MB / 0.8116 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.173, allocations: 0 / 0.8116 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002438/1.176, allocations: 491.4 kB / 0.8121 GB, free: 126.8 MB / 0.6511 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) * 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.003956/1.18, allocations: 2.092 MB / 0.8141 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002848/1.183, allocations: 2.343 MB / 0.8164 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.183, allocations: 0 / 0.8164 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/1.183, allocations: 339.8 kB / 0.8167 GB, free: 122 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/1.183, allocations: 36.58 kB / 0.8168 GB, free: 122 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/1.187, allocations: 1.791 MB / 0.8185 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/1.188, allocations: 0.9852 MB / 0.8195 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003259/1.188, allocations: 59.3 kB / 0.8195 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/1.189, allocations: 275.3 kB / 0.8198 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/1.189, allocations: 0 / 0.8198 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05805/1.247, allocations: 16.83 MB / 0.8362 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/1.247, allocations: 243.9 kB / 0.8365 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.35/4.597, allocations: 6.562 kB / 0.8365 GB, free: 101.8 MB / 0.6511 GB