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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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 3.702/3.702, allocations: 433 MB / 440.3 MB, free: 10.8 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2393/3.942, allocations: 104.4 MB / 0.532 GB, free: 2.281 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/4.424, allocations: 98.7 MB / 0.6284 GB, free: 76 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2397/4.663, allocations: 128.2 MB / 0.7535 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006679/4.664, allocations: 115.9 kB / 0.7536 GB, free: 15.59 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.03001/4.694, allocations: 5.887 MB / 0.7594 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/4.694, allocations: 8 kB / 0.7594 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/4.694, allocations: 3.906 kB / 0.7594 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/4.694, allocations: 167 kB / 0.7596 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/4.694, allocations: 3.984 kB / 0.7596 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/4.694, allocations: 4 kB / 0.7596 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.455e-05/4.695, allocations: 12 kB / 0.7596 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.352e-05/4.695, allocations: 33.69 kB / 0.7596 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/4.695, allocations: 4 kB / 0.7596 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/4.695, allocations: 7.891 kB / 0.7596 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/4.695, allocations: 0 / 0.7596 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/4.695, allocations: 142.2 kB / 0.7598 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/4.695, allocations: 30.58 kB / 0.7598 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/4.695, allocations: 16.83 kB / 0.7598 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/4.696, allocations: 0.9818 MB / 0.7608 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/4.696, allocations: 34.56 kB / 0.7608 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 5.149e-06/4.696, allocations: 4 kB / 0.7608 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002602/4.697, allocations: 57.53 kB / 0.7609 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/4.697, allocations: 51.41 kB / 0.7609 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.622e-05/4.697, allocations: 100.9 kB / 0.761 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/4.697, allocations: 29.7 kB / 0.761 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/4.697, allocations: 80.14 kB / 0.7611 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/4.697, allocations: 7.812 kB / 0.7611 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/4.697, allocations: 0 / 0.7611 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001434/4.697, allocations: 318.8 kB / 0.7614 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.728e-05/4.697, allocations: 8 kB / 0.7614 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/4.697, allocations: 11.98 kB / 0.7614 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.287e-05/4.697, allocations: 7.938 kB / 0.7614 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/4.697, allocations: 0 / 0.7614 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001611/4.697, allocations: 53.59 kB / 0.7615 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/4.697, allocations: 4 kB / 0.7615 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/4.697, allocations: 0 / 0.7615 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/4.697, allocations: 3.984 kB / 0.7615 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/4.698, allocations: 16 kB / 0.7615 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/4.698, allocations: 0 / 0.7615 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/4.698, allocations: 4 kB / 0.7615 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/4.698, allocations: 4 kB / 0.7615 GB, free: 7.09 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.326e-05/4.698, allocations: 101 kB / 0.7616 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/4.698, allocations: 7.906 kB / 0.7616 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/4.698, allocations: 61.61 kB / 0.7617 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/4.698, allocations: 0 / 0.7617 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/4.698, allocations: 4 kB / 0.7617 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/4.698, allocations: 0 / 0.7617 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/4.698, allocations: 142.1 kB / 0.7618 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/4.698, allocations: 4 kB / 0.7618 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/4.698, allocations: 12 kB / 0.7618 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/4.698, allocations: 0 / 0.7618 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/4.698, allocations: 4 kB / 0.7619 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/4.698, allocations: 0 / 0.7619 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/4.698, allocations: 0 / 0.7619 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001799/4.699, allocations: 81.94 kB / 0.7619 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003041/4.699, allocations: 469.4 kB / 0.7624 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/4.699, allocations: 85.02 kB / 0.7625 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/4.699, allocations: 11.86 kB / 0.7625 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/4.699, allocations: 0 / 0.7625 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/4.699, allocations: 0 / 0.7625 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/4.699, allocations: 4 kB / 0.7625 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.052e-05/4.699, allocations: 87.27 kB / 0.7626 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00116/4.7, allocations: 51.86 kB / 0.7626 GB, free: 5.875 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003474/4.701, allocations: 155.9 kB / 0.7628 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000126/4.701, allocations: 23.94 kB / 0.7628 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/4.701, allocations: 0 / 0.7628 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.456e-05/4.701, allocations: 12 kB / 0.7628 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/4.701, allocations: 4.453 kB / 0.7628 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/4.701, allocations: 75.77 kB / 0.7629 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/4.702, allocations: 0.6954 MB / 0.7635 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/4.702, allocations: 0 / 0.7635 GB, free: 4.859 MB / 0.6355 GB