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/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_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 4.258/4.258, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.536e-05, allocations: 3.906 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2131, allocations: 98.75 MB / 0.6289 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2504/0.4635, allocations: 138.7 MB / 0.7644 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004029/0.464, allocations: 107.9 kB / 0.7645 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6772/1.141, allocations: 21.66 MB / 0.7856 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.884e-06/1.141, allocations: 0 / 0.7856 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.6e-05/1.141, allocations: 13.25 kB / 0.7857 GB, free: 138.6 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.003169/1.144, allocations: 1.017 MB / 0.7866 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.145, allocations: 10.64 kB / 0.7867 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006112/1.145, allocations: 96.69 kB / 0.7868 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/1.146, allocations: 432.2 kB / 0.7872 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/1.146, allocations: 2.062 kB / 0.7872 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/1.146, allocations: 21.22 kB / 0.7872 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006148/1.147, allocations: 421.5 kB / 0.7876 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/1.148, allocations: 383.6 kB / 0.788 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/1.148, allocations: 7.828 kB / 0.788 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/1.148, allocations: 5.031 kB / 0.788 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/1.148, allocations: 2.031 kB / 0.788 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/1.149, allocations: 0.6895 MB / 0.7886 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/1.15, allocations: 0.5554 MB / 0.7892 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/1.15, allocations: 331.9 kB / 0.7895 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/1.151, allocations: 1.034 MB / 0.7905 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005075/1.152, allocations: 395.9 kB / 0.7909 GB, free: 136 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.625e-06/1.152, allocations: 1.375 kB / 0.7909 GB, free: 136 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.001615/1.154, allocations: 0.96 MB / 0.7918 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/1.154, allocations: 80.89 kB / 0.7919 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/1.155, allocations: 1.003 MB / 0.7929 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002349/1.156, allocations: 27.11 kB / 0.7929 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/1.156, allocations: 263.2 kB / 0.7932 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/1.156, allocations: 20.61 kB / 0.7932 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.28e-05/1.156, allocations: 1.031 kB / 0.7932 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.156, allocations: 421.1 kB / 0.7936 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/1.158, allocations: 1.186 MB / 0.7947 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/1.16, allocations: 1.325 MB / 0.796 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002762/1.163, allocations: 1.588 MB / 0.7976 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/1.163, allocations: 0 / 0.7976 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005608/1.169, allocations: 3.383 MB / 0.8009 GB, free: 134 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/1.169, allocations: 3.625 kB / 0.8009 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/1.169, allocations: 7.172 kB / 0.8009 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/1.169, allocations: 3.656 kB / 0.8009 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.17, allocations: 145.5 kB / 0.801 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.17, allocations: 3.875 kB / 0.801 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.171, allocations: 227.5 kB / 0.8013 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/1.172, allocations: 60.98 kB / 0.8013 GB, free: 133.8 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.0001635/1.172, allocations: 118.4 kB / 0.8014 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009915/1.173, allocations: 0.9545 MB / 0.8024 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/1.173, allocations: 63.81 kB / 0.8024 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/1.174, allocations: 0.9251 MB / 0.8033 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.174, allocations: 3.094 kB / 0.8033 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.174, allocations: 7.922 kB / 0.8033 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/1.174, allocations: 0 / 0.8033 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/1.175, allocations: 472.4 kB / 0.8038 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.175, allocations: 0 / 0.8038 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/1.175, allocations: 10.83 kB / 0.8038 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/1.175, allocations: 3.688 kB / 0.8038 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/1.175, allocations: 7.594 kB / 0.8038 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/1.175, allocations: 3.562 kB / 0.8038 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.175, allocations: 3.594 kB / 0.8038 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009759/1.176, allocations: 0.9958 MB / 0.8048 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/1.176, allocations: 154.4 kB / 0.8049 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.575e-05/1.176, allocations: 6.641 kB / 0.8049 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/1.177, allocations: 3.844 kB / 0.8049 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/1.177, allocations: 11.34 kB / 0.805 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/1.177, allocations: 12.48 kB / 0.805 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008677/1.178, allocations: 0.5972 MB / 0.8056 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.32e-07/1.178, allocations: 3.5 kB / 0.8056 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002138/1.18, allocations: 481.4 kB / 0.806 GB, free: 132.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.003804/1.184, allocations: 2.079 MB / 0.808 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002953/1.187, allocations: 2.323 MB / 0.8103 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.187, allocations: 0 / 0.8103 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003437/1.187, allocations: 335.7 kB / 0.8106 GB, free: 129 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/1.187, allocations: 40.39 kB / 0.8107 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/1.191, allocations: 1.776 MB / 0.8124 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/1.192, allocations: 0.9786 MB / 0.8134 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003885/1.192, allocations: 61.67 kB / 0.8134 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/1.193, allocations: 271.5 kB / 0.8137 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/1.193, allocations: 0 / 0.8137 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07045/1.263, allocations: 16.09 MB / 0.8294 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/1.264, allocations: 232.1 kB / 0.8296 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.426/4.689, allocations: 5.547 kB / 0.8296 GB, free: 111.8 MB / 0.6511 GB