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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.064/4.064, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5673/4.631, allocations: 104.4 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/4.872, allocations: 98.72 MB / 0.6283 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2702/5.142, allocations: 138.6 MB / 0.7637 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00046/5.143, allocations: 107.6 kB / 0.7638 GB, free: 14.81 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.5771/5.72, allocations: 22.54 MB / 0.7858 GB, free: 99.13 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/5.72, allocations: 15.22 kB / 0.7858 GB, free: 99.13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005795/5.721, allocations: 96.28 kB / 0.7859 GB, free: 99.08 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008286/5.721, allocations: 430.5 kB / 0.7863 GB, free: 98.81 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/5.722, allocations: 0 / 0.7863 GB, free: 98.81 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/5.722, allocations: 24.72 kB / 0.7864 GB, free: 98.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004524/5.722, allocations: 423.3 kB / 0.7868 GB, free: 98.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/5.723, allocations: 381.4 kB / 0.7871 GB, free: 98.76 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/5.723, allocations: 3.75 kB / 0.7871 GB, free: 98.76 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/5.723, allocations: 3.516 kB / 0.7871 GB, free: 98.76 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/5.723, allocations: 3.969 kB / 0.7871 GB, free: 98.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009207/5.724, allocations: 0.6937 MB / 0.7878 GB, free: 98.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/5.724, allocations: 0.5549 MB / 0.7884 GB, free: 98.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/5.724, allocations: 332.6 kB / 0.7887 GB, free: 98.44 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001935/5.726, allocations: 1.043 MB / 0.7897 GB, free: 97.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006569/5.727, allocations: 398.5 kB / 0.7901 GB, free: 97.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 4.729e-06/5.727, allocations: 0 / 0.7901 GB, free: 97.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.002189/5.729, allocations: 0.7515 MB / 0.7908 GB, free: 97.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.662e-05/5.729, allocations: 82.05 kB / 0.7909 GB, free: 97.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/5.732, allocations: 1.014 MB / 0.7919 GB, free: 96.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002675/5.733, allocations: 26.98 kB / 0.7919 GB, free: 96.81 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/5.733, allocations: 260.3 kB / 0.7922 GB, free: 96.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/5.733, allocations: 19.38 kB / 0.7922 GB, free: 96.67 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/5.733, allocations: 3.438 kB / 0.7922 GB, free: 96.67 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003062/5.734, allocations: 420.3 kB / 0.7926 GB, free: 96.35 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003167/5.737, allocations: 1.212 MB / 0.7938 GB, free: 96.35 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003018/5.74, allocations: 1.351 MB / 0.7951 GB, free: 96.31 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/5.743, allocations: 1.608 MB / 0.7966 GB, free: 95.97 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/5.743, allocations: 0 / 0.7966 GB, free: 95.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01141/5.754, allocations: 7.133 MB / 0.8036 GB, free: 95.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/5.754, allocations: 5.219 kB / 0.8036 GB, free: 95.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/5.755, allocations: 5.062 kB / 0.8036 GB, free: 95.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/5.755, allocations: 4 kB / 0.8036 GB, free: 95.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/5.756, allocations: 146.8 kB / 0.8038 GB, free: 95.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/5.756, allocations: 4.375 kB / 0.8038 GB, free: 95.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/5.757, allocations: 225.4 kB / 0.804 GB, free: 95.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/5.757, allocations: 58.17 kB / 0.804 GB, free: 95.03 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.000167/5.758, allocations: 124.6 kB / 0.8042 GB, free: 94.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/5.758, allocations: 64.34 kB / 0.8042 GB, free: 94.87 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/5.759, allocations: 0.7225 MB / 0.8049 GB, free: 94.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/5.759, allocations: 2.188 kB / 0.8049 GB, free: 94.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/5.759, allocations: 1.469 kB / 0.8049 GB, free: 94.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/5.759, allocations: 0 / 0.8049 GB, free: 94.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006554/5.76, allocations: 478.1 kB / 0.8054 GB, free: 94.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/5.76, allocations: 0 / 0.8054 GB, free: 94.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/5.76, allocations: 9.406 kB / 0.8054 GB, free: 94.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/5.76, allocations: 1.125 kB / 0.8054 GB, free: 94.65 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/5.76, allocations: 1.688 kB / 0.8054 GB, free: 94.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/5.76, allocations: 6.031 kB / 0.8054 GB, free: 94.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/5.76, allocations: 1.406 kB / 0.8054 GB, free: 94.65 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009863/5.761, allocations: 0.782 MB / 0.8062 GB, free: 94.51 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001192/5.762, allocations: 1.188 MB / 0.8073 GB, free: 94 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/5.762, allocations: 153.4 kB / 0.8075 GB, free: 93.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/5.762, allocations: 1.781 kB / 0.8075 GB, free: 93.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/5.763, allocations: 7.172 kB / 0.8075 GB, free: 93.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/5.763, allocations: 3.125 kB / 0.8075 GB, free: 93.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/5.763, allocations: 22.66 kB / 0.8075 GB, free: 93.85 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0014/5.764, allocations: 0.6096 MB / 0.8081 GB, free: 93.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003236/5.768, allocations: 0.5001 MB / 0.8086 GB, free: 93.63 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.002995/5.771, allocations: 0.601 MB / 0.8092 GB, free: 93.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004282/5.775, allocations: 2.347 MB / 0.8115 GB, free: 91.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/5.775, allocations: 0 / 0.8115 GB, free: 91.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/5.775, allocations: 344 kB / 0.8118 GB, free: 91.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/5.776, allocations: 34.69 kB / 0.8118 GB, free: 91.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/5.778, allocations: 1.468 MB / 0.8133 GB, free: 90.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000758/5.779, allocations: 1.033 MB / 0.8143 GB, free: 89.34 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/5.779, allocations: 0 / 0.8143 GB, free: 89.34 MB / 0.6511 GB