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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01508/0.01508, allocations: 106.2 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001673/0.001673, allocations: 183.8 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.055/2.055, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.382/2.382, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006789/0.0006791, allocations: 16 kB / 0.5871 GB, free: 1.992 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6751/0.6758, allocations: 98.71 MB / 0.6835 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2576/0.9335, allocations: 144 MB / 0.824 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004605/0.934, allocations: 119.9 kB / 0.8242 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1769/1.111, allocations: 29.7 MB / 0.8532 GB, free: 344 kB / 0.6667 GB Notification: Performance of FrontEnd: time 3.036e-06/1.111, allocations: 0 / 0.8532 GB, free: 344 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.146e-05/1.111, allocations: 19.94 kB / 0.8532 GB, free: 324 kB / 0.6667 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.003732/1.115, allocations: 1.203 MB / 0.8544 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.144e-05/1.115, allocations: 15.98 kB / 0.8544 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.715e-05/1.115, allocations: 34.52 kB / 0.8544 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007224/1.116, allocations: 102.6 kB / 0.8545 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/1.117, allocations: 468.7 kB / 0.855 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/1.117, allocations: 20 kB / 0.855 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/1.117, allocations: 36 kB / 0.855 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006885/1.118, allocations: 395.1 kB / 0.8554 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.118, allocations: 0 / 0.8554 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/1.118, allocations: 0 / 0.8554 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/1.118, allocations: 11.94 kB / 0.8554 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/1.119, allocations: 435.7 kB / 0.8558 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/1.12, allocations: 0.7743 MB / 0.8566 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008433/1.121, allocations: 0.5705 MB / 0.8571 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/1.122, allocations: 1.029 MB / 0.8581 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006399/1.123, allocations: 404.9 kB / 0.8585 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 3.607e-06/1.123, allocations: 3.938 kB / 0.8585 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.002169/1.125, allocations: 1.301 MB / 0.8598 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/1.125, allocations: 89.03 kB / 0.8599 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/1.127, allocations: 1.134 MB / 0.861 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/1.128, allocations: 45.69 kB / 0.861 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/1.128, allocations: 294 kB / 0.8613 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/1.128, allocations: 23.7 kB / 0.8613 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/1.128, allocations: 16 kB / 0.8613 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002345/1.128, allocations: 419.8 kB / 0.8617 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/1.131, allocations: 1.222 MB / 0.8629 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/1.133, allocations: 1.358 MB / 0.8643 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/1.136, allocations: 1.611 MB / 0.8658 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/1.136, allocations: 0 / 0.8658 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006761/1.143, allocations: 3.451 MB / 0.8692 GB, free: 15.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/1.143, allocations: 8 kB / 0.8692 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/1.143, allocations: 0 / 0.8692 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/1.143, allocations: 4 kB / 0.8692 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.144, allocations: 147.8 kB / 0.8694 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/1.144, allocations: 4 kB / 0.8694 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/1.145, allocations: 252.2 kB / 0.8696 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/1.146, allocations: 55.98 kB / 0.8697 GB, free: 14.9 MB / 0.698 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 (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.0005773/1.146, allocations: 265.6 kB / 0.8699 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/1.146, allocations: 70.69 kB / 0.87 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/1.148, allocations: 0.9445 MB / 0.8709 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.148, allocations: 0 / 0.8709 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.148, allocations: 0 / 0.8709 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.148, allocations: 3.984 kB / 0.8709 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007442/1.149, allocations: 0.5216 MB / 0.8714 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/1.149, allocations: 3.984 kB / 0.8714 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/1.149, allocations: 7.938 kB / 0.8714 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/1.149, allocations: 4 kB / 0.8714 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/1.149, allocations: 7.984 kB / 0.8714 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.149, allocations: 0 / 0.8714 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.149, allocations: 0 / 0.8714 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/1.15, allocations: 1.017 MB / 0.8724 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/1.151, allocations: 167.6 kB / 0.8726 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.151, allocations: 3.984 kB / 0.8726 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/1.151, allocations: 4 kB / 0.8726 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/1.151, allocations: 7.984 kB / 0.8726 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/1.151, allocations: 19.92 kB / 0.8726 GB, free: 11.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001415/1.153, allocations: 0.714 MB / 0.8733 GB, free: 11.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.153, allocations: 0 / 0.8733 GB, free: 11.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002156/1.155, allocations: 0.4993 MB / 0.8738 GB, free: 10.53 MB / 0.698 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.00475/1.16, allocations: 2.177 MB / 0.8759 GB, free: 8.324 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004074/1.164, allocations: 2.364 MB / 0.8782 GB, free: 5.953 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.164, allocations: 0 / 0.8782 GB, free: 5.953 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000562/1.164, allocations: 347.8 kB / 0.8786 GB, free: 5.613 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/1.165, allocations: 52.83 kB / 0.8786 GB, free: 5.562 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/1.171, allocations: 2.84 MB / 0.8814 GB, free: 2.656 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008276/1.172, allocations: 1.001 MB / 0.8824 GB, free: 1.629 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004436/1.172, allocations: 58.95 kB / 0.8824 GB, free: 1.566 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/1.173, allocations: 299.3 kB / 0.8827 GB, free: 1.273 MB / 0.698 GB Notification: Performance of SimCode: time 1.382e-06/1.173, allocations: 0 / 0.8827 GB, free: 1.273 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06294/1.236, allocations: 19.34 MB / 0.9016 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005493/1.236, allocations: 275.3 kB / 0.9019 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.839/5.075, allocations: 2.578 kB / 0.9019 GB, free: 13.82 MB / 0.7292 GB