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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.29/4.29, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.213e-05, allocations: 5.094 kB / 0.5325 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.245, allocations: 98.73 MB / 0.6289 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2951/0.5401, allocations: 143.2 MB / 0.7688 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004437/0.5406, allocations: 119.9 kB / 0.7689 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7106/1.251, allocations: 29.44 MB / 0.7976 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.005e-06/1.251, allocations: 3.844 kB / 0.7976 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.058e-05/1.251, allocations: 15.75 kB / 0.7977 GB, free: 141.5 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.003957/1.255, allocations: 1.047 MB / 0.7987 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.255, allocations: 7.875 kB / 0.7987 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007471/1.256, allocations: 102.7 kB / 0.7988 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/1.257, allocations: 467.2 kB / 0.7992 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/1.258, allocations: 7.797 kB / 0.7992 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.258, allocations: 19.47 kB / 0.7993 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005963/1.258, allocations: 428.5 kB / 0.7997 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/1.259, allocations: 380.4 kB / 0.8 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.259, allocations: 3.953 kB / 0.8 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/1.259, allocations: 0 / 0.8 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/1.259, allocations: 0 / 0.8 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/1.261, allocations: 0.728 MB / 0.8007 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007942/1.261, allocations: 0.552 MB / 0.8013 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/1.262, allocations: 327.8 kB / 0.8016 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/1.263, allocations: 1.037 MB / 0.8026 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005835/1.264, allocations: 405.8 kB / 0.803 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 4.679e-06/1.264, allocations: 0 / 0.803 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.001689/1.266, allocations: 0.9609 MB / 0.8039 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/1.266, allocations: 84.89 kB / 0.804 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/1.268, allocations: 1.073 MB / 0.8051 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002278/1.268, allocations: 25.7 kB / 0.8051 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/1.269, allocations: 286.3 kB / 0.8054 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/1.269, allocations: 15.38 kB / 0.8054 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/1.269, allocations: 0 / 0.8054 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000215/1.269, allocations: 423.2 kB / 0.8058 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/1.271, allocations: 1.189 MB / 0.8069 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/1.273, allocations: 1.324 MB / 0.8082 GB, free: 135 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/1.275, allocations: 1.587 MB / 0.8098 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/1.275, allocations: 0 / 0.8098 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005138/1.28, allocations: 3.391 MB / 0.8131 GB, free: 130 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/1.28, allocations: 4 kB / 0.8131 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/1.28, allocations: 6.344 kB / 0.8131 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/1.28, allocations: 0 / 0.8131 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/1.282, allocations: 147.8 kB / 0.8132 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.282, allocations: 4 kB / 0.8132 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000993/1.283, allocations: 236.2 kB / 0.8135 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/1.283, allocations: 59.94 kB / 0.8135 GB, free: 129.5 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.0001538/1.283, allocations: 121.5 kB / 0.8136 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009477/1.284, allocations: 0.953 MB / 0.8146 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/1.284, allocations: 70.69 kB / 0.8146 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/1.285, allocations: 0.9329 MB / 0.8156 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/1.285, allocations: 4 kB / 0.8156 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.285, allocations: 7.984 kB / 0.8156 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.285, allocations: 0 / 0.8156 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/1.286, allocations: 0.4919 MB / 0.816 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.286, allocations: 4 kB / 0.816 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/1.286, allocations: 8 kB / 0.8161 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/1.286, allocations: 0 / 0.8161 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/1.286, allocations: 11.97 kB / 0.8161 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.286, allocations: 0 / 0.8161 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.286, allocations: 0 / 0.8161 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009405/1.287, allocations: 1.009 MB / 0.8171 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/1.287, allocations: 163.7 kB / 0.8172 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.287, allocations: 0 / 0.8172 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/1.287, allocations: 4 kB / 0.8172 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/1.288, allocations: 15.94 kB / 0.8172 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/1.288, allocations: 11.98 kB / 0.8172 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009024/1.288, allocations: 0.6439 MB / 0.8179 GB, free: 125 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/1.288, allocations: 0 / 0.8179 GB, free: 125 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0021/1.291, allocations: 495.3 kB / 0.8183 GB, free: 124.5 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.003832/1.294, allocations: 2.172 MB / 0.8205 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002709/1.297, allocations: 2.33 MB / 0.8227 GB, free: 120 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.297, allocations: 0 / 0.8227 GB, free: 120 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003182/1.298, allocations: 331.8 kB / 0.8231 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/1.298, allocations: 48.67 kB / 0.8231 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/1.302, allocations: 1.837 MB / 0.8249 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/1.303, allocations: 1.009 MB / 0.8259 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003631/1.303, allocations: 67.27 kB / 0.8259 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/1.303, allocations: 291.3 kB / 0.8262 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/1.303, allocations: 0 / 0.8262 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0678/1.371, allocations: 17.94 MB / 0.8437 GB, free: 98.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/1.372, allocations: 232.8 kB / 0.844 GB, free: 98.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.425/4.797, allocations: 0 / 0.844 GB, free: 98.15 MB / 0.6511 GB