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_100boreholes.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_100boreholes,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.01463/0.01464, 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.001751/0.001752, allocations: 173.3 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.115/2.115, allocations: 205.5 MB / 222.2 MB, free: 13.57 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.327/2.327, allocations: 252.8 MB / 0.511 GB, free: 8.305 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000694/0.0006943, allocations: 13.09 kB / 0.6244 GB, free: 20.98 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2534, allocations: 106.2 MB / 0.7281 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001994/0.2555, allocations: 1.11 MB / 0.7292 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006107/0.2617, allocations: 2.829 MB / 0.7319 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.769e-05/0.2618, allocations: 0 / 0.7319 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.262, allocations: 15.92 kB / 0.732 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.2622, allocations: 27.83 kB / 0.732 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.2655, allocations: 0.7139 MB / 0.7327 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.2657, allocations: 55.86 kB / 0.7327 GB, free: 3.266 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.2658, allocations: 11.97 kB / 0.7328 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.535e-05/0.2659, allocations: 35.91 kB / 0.7328 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.2662, allocations: 143.7 kB / 0.7329 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.118e-05/0.2663, allocations: 12 kB / 0.7329 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.2695, allocations: 1.26 MB / 0.7342 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.2707, allocations: 0.5963 MB / 0.7347 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.2709, allocations: 180.9 kB / 0.7349 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.2738, allocations: 1.185 MB / 0.7361 GB, free: 15.83 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2738, allocations: 0 / 0.7361 GB, free: 15.83 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.035e-06/0.2739, allocations: 0 / 0.7361 GB, free: 15.83 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.2739, allocations: 0 / 0.7361 GB, free: 15.83 MB / 0.573 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.01917/0.2931, allocations: 1.605 MB / 0.7376 GB, free: 14.17 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.2931, allocations: 12.03 kB / 0.7377 GB, free: 14.16 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.922e-05/0.2932, allocations: 34.56 kB / 0.7377 GB, free: 14.12 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000621/0.2938, allocations: 150 kB / 0.7378 GB, free: 13.97 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009259/0.2948, allocations: 0.4895 MB / 0.7383 GB, free: 13.41 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.2948, allocations: 8 kB / 0.7383 GB, free: 13.4 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.2949, allocations: 4 kB / 0.7383 GB, free: 13.4 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007022/0.2956, allocations: 391.1 kB / 0.7387 GB, free: 13 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2956, allocations: 0 / 0.7387 GB, free: 13 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.2957, allocations: 0 / 0.7387 GB, free: 13 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2957, allocations: 7.938 kB / 0.7387 GB, free: 13 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.2964, allocations: 435.7 kB / 0.7391 GB, free: 12.57 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.2977, allocations: 0.8112 MB / 0.7399 GB, free: 11.7 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009266/0.2987, allocations: 0.5633 MB / 0.7405 GB, free: 11.11 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001619/0.3004, allocations: 1.033 MB / 0.7415 GB, free: 9.859 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007216/0.3011, allocations: 416.9 kB / 0.7419 GB, free: 9.434 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 3.066e-06/0.3011, allocations: 3.938 kB / 0.7419 GB, free: 9.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.0023/0.3035, allocations: 1.327 MB / 0.7432 GB, free: 8.094 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.3036, allocations: 93.03 kB / 0.7433 GB, free: 7.984 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003204/0.3068, allocations: 1.831 MB / 0.745 GB, free: 6.105 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.569e-05/0.3069, allocations: 33.7 kB / 0.7451 GB, free: 6.066 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000551/0.3075, allocations: 477.3 kB / 0.7455 GB, free: 5.594 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.3076, allocations: 27.72 kB / 0.7456 GB, free: 5.566 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3076, allocations: 0 / 0.7456 GB, free: 5.566 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002188/0.3079, allocations: 410.9 kB / 0.7459 GB, free: 5.16 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/0.31, allocations: 1.514 MB / 0.7474 GB, free: 3.645 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.3124, allocations: 1.642 MB / 0.749 GB, free: 1.992 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/0.3152, allocations: 2.047 MB / 0.751 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.3152, allocations: 0 / 0.751 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006726/0.3219, allocations: 4.296 MB / 0.7552 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.322, allocations: 4 kB / 0.7552 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.3221, allocations: 4 kB / 0.7552 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.3221, allocations: 4.031 kB / 0.7552 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3223, allocations: 15.98 kB / 0.7553 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3224, allocations: 0 / 0.7553 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.3235, allocations: 232.3 kB / 0.7555 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.3236, allocations: 23.98 kB / 0.7555 GB, free: 11.32 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.0007173/0.3243, allocations: 373.4 kB / 0.7559 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.3245, allocations: 122 kB / 0.756 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005536/0.325, allocations: 145.1 kB / 0.7561 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.3251, allocations: 3.984 kB / 0.7561 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3251, allocations: 0 / 0.7561 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3251, allocations: 0 / 0.7561 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009125/0.326, allocations: 0.6871 MB / 0.7568 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.326, allocations: 0 / 0.7568 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.3262, allocations: 15.92 kB / 0.7568 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.3262, allocations: 8.016 kB / 0.7568 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3262, allocations: 4 kB / 0.7568 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.3263, allocations: 0 / 0.7568 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3263, allocations: 0 / 0.7568 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.3278, allocations: 1.069 MB / 0.7579 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.3282, allocations: 199.1 kB / 0.758 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.3283, allocations: 4 kB / 0.758 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.3287, allocations: 15.92 kB / 0.7581 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.3288, allocations: 4 kB / 0.7581 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.3289, allocations: 19.91 kB / 0.7581 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00207/0.3309, allocations: 1.093 MB / 0.7592 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.11e-07/0.331, allocations: 0 / 0.7592 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001557/0.3326, allocations: 431.9 kB / 0.7596 GB, free: 6.988 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.003836/0.3364, allocations: 2.056 MB / 0.7616 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003908/0.3404, allocations: 2.648 MB / 0.7642 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.3404, allocations: 0 / 0.7642 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.341, allocations: 351.8 kB / 0.7645 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.3415, allocations: 46.55 kB / 0.7645 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006789/0.3483, allocations: 3.552 MB / 0.768 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.3494, allocations: 1.18 MB / 0.7692 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003231/0.3497, allocations: 36.48 kB / 0.7692 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007252/0.3505, allocations: 427.3 kB / 0.7696 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of SimCode: time 9.11e-07/0.3505, allocations: 0 / 0.7696 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09006/0.4405, allocations: 21.67 MB / 0.7908 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003499/0.441, allocations: 263 kB / 0.791 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.529/3.97, allocations: 0 / 0.791 GB, free: 6.785 MB / 0.6198 GB