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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.883/3.883, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.445e-05, allocations: 4.953 kB / 0.5383 GB, free: 10.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 98.73 MB / 0.6348 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2537/0.4597, allocations: 143.9 MB / 0.7752 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004345/0.4602, allocations: 115.9 kB / 0.7754 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7413/1.202, allocations: 29.65 MB / 0.8043 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.853e-06/1.202, allocations: 0 / 0.8043 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.472e-05/1.202, allocations: 11.81 kB / 0.8043 GB, free: 136.1 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.003049/1.205, allocations: 1.055 MB / 0.8054 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.205, allocations: 15.98 kB / 0.8054 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/1.205, allocations: 38.52 kB / 0.8054 GB, free: 135 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005422/1.205, allocations: 98.66 kB / 0.8055 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009421/1.206, allocations: 468.7 kB / 0.8059 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/1.206, allocations: 24 kB / 0.806 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/1.207, allocations: 39.94 kB / 0.806 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/1.207, allocations: 383.2 kB / 0.8064 GB, free: 134 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.207, allocations: 0 / 0.8064 GB, free: 134 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/1.207, allocations: 4 kB / 0.8064 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.207, allocations: 3.953 kB / 0.8064 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/1.207, allocations: 431.7 kB / 0.8068 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/1.208, allocations: 0.7627 MB / 0.8075 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/1.209, allocations: 0.5555 MB / 0.8081 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/1.209, allocations: 333.7 kB / 0.8084 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/1.211, allocations: 1.032 MB / 0.8094 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005735/1.211, allocations: 408.8 kB / 0.8098 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 3.426e-06/1.211, allocations: 0 / 0.8098 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.001623/1.213, allocations: 0.9764 MB / 0.8108 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/1.213, allocations: 85.06 kB / 0.8108 GB, free: 129 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/1.215, allocations: 1.116 MB / 0.8119 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001691/1.215, allocations: 41.7 kB / 0.812 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/1.216, allocations: 294 kB / 0.8122 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/1.216, allocations: 23.8 kB / 0.8123 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/1.216, allocations: 19.98 kB / 0.8123 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002018/1.216, allocations: 419.8 kB / 0.8127 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/1.219, allocations: 1.206 MB / 0.8139 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/1.221, allocations: 1.345 MB / 0.8152 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003156/1.225, allocations: 1.6 MB / 0.8167 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.225, allocations: 0 / 0.8167 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007668/1.232, allocations: 3.434 MB / 0.8201 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/1.232, allocations: 4 kB / 0.8201 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/1.232, allocations: 0 / 0.8201 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/1.232, allocations: 4 kB / 0.8201 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/1.234, allocations: 143.8 kB / 0.8202 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/1.234, allocations: 15.86 kB / 0.8203 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/1.236, allocations: 248.2 kB / 0.8205 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/1.236, allocations: 55.98 kB / 0.8205 GB, free: 119 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.0002039/1.236, allocations: 132.9 kB / 0.8207 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/1.236, allocations: 70.69 kB / 0.8207 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/1.238, allocations: 0.9368 MB / 0.8217 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.238, allocations: 0 / 0.8217 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.238, allocations: 0 / 0.8217 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.238, allocations: 4 kB / 0.8217 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008594/1.239, allocations: 0.5177 MB / 0.8222 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.239, allocations: 4 kB / 0.8222 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/1.239, allocations: 12.02 kB / 0.8222 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/1.239, allocations: 4 kB / 0.8222 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/1.239, allocations: 0 / 0.8222 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.239, allocations: 0 / 0.8222 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.239, allocations: 7.984 kB / 0.8222 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/1.24, allocations: 1.009 MB / 0.8232 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/1.241, allocations: 163.8 kB / 0.8233 GB, free: 116 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/1.241, allocations: 4 kB / 0.8233 GB, free: 116 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/1.241, allocations: 3.984 kB / 0.8233 GB, free: 116 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/1.241, allocations: 7.984 kB / 0.8233 GB, free: 116 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/1.241, allocations: 15.94 kB / 0.8234 GB, free: 116 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001671/1.243, allocations: 0.7 MB / 0.824 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.32e-07/1.243, allocations: 0 / 0.824 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002658/1.246, allocations: 0.4954 MB / 0.8245 GB, free: 114.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.004715/1.251, allocations: 2.173 MB / 0.8266 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004002/1.255, allocations: 2.347 MB / 0.8289 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.255, allocations: 4.062 kB / 0.8289 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004804/1.255, allocations: 332.1 kB / 0.8293 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/1.256, allocations: 57.91 kB / 0.8293 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/1.261, allocations: 1.869 MB / 0.8311 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/1.262, allocations: 1.005 MB / 0.8321 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004969/1.263, allocations: 54.97 kB / 0.8322 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/1.263, allocations: 299.3 kB / 0.8325 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/1.263, allocations: 4 kB / 0.8325 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07487/1.338, allocations: 19.67 MB / 0.8517 GB, free: 87.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/1.338, allocations: 247.4 kB / 0.8519 GB, free: 86.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.526/4.864, allocations: 2.922 kB / 0.8519 GB, free: 86.78 MB / 0.6511 GB