Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.061/4.061, allocations: 433 MB / 440.3 MB, free: 24.66 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2491/4.31, allocations: 104.4 MB / 0.5319 GB, free: 4.461 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5262/4.837, allocations: 98.69 MB / 0.6283 GB, free: 0.6562 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9422/5.779, allocations: 353.1 MB / 0.9731 GB, free: 186.2 MB / 0.7683 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003971/5.779, allocations: 98.62 kB / 0.9732 GB, free: 186.2 MB / 0.7683 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.05943/5.839, allocations: 15.91 MB / 0.9887 GB, free: 178.9 MB / 0.7683 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/5.839, allocations: 15.98 kB / 0.9887 GB, free: 178.9 MB / 0.7683 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/5.839, allocations: 0 / 0.9887 GB, free: 178.9 MB / 0.7683 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/5.839, allocations: 166.9 kB / 0.9889 GB, free: 178.7 MB / 0.7683 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/5.839, allocations: 4 kB / 0.9889 GB, free: 178.7 MB / 0.7683 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/5.839, allocations: 0 / 0.9889 GB, free: 178.7 MB / 0.7683 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.25e-05/5.839, allocations: 4 kB / 0.9889 GB, free: 178.7 MB / 0.7683 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.414e-05/5.839, allocations: 29.7 kB / 0.9889 GB, free: 178.6 MB / 0.7683 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/5.839, allocations: 4 kB / 0.9889 GB, free: 178.6 MB / 0.7683 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/5.839, allocations: 0 / 0.9889 GB, free: 178.6 MB / 0.7683 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/5.839, allocations: 3.984 kB / 0.989 GB, free: 178.6 MB / 0.7683 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/5.84, allocations: 137.9 kB / 0.9891 GB, free: 178.5 MB / 0.7683 GB Notification: Performance of preOpt comSubExp (simulation): time 4.858e-05/5.84, allocations: 22.52 kB / 0.9891 GB, free: 178.4 MB / 0.7683 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/5.84, allocations: 12.67 kB / 0.9891 GB, free: 178.4 MB / 0.7683 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/5.84, allocations: 101.1 kB / 0.9892 GB, free: 178.3 MB / 0.7683 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/5.84, allocations: 34.5 kB / 0.9892 GB, free: 178.3 MB / 0.7683 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/5.84, allocations: 0 / 0.9892 GB, free: 178.3 MB / 0.7683 GB Notification: Performance of matching and sorting (n=2): time 0.0002628/5.84, allocations: 45.67 kB / 0.9893 GB, free: 178.2 MB / 0.7683 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/5.84, allocations: 55.41 kB / 0.9893 GB, free: 178.1 MB / 0.7683 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/5.84, allocations: 92.75 kB / 0.9894 GB, free: 178 MB / 0.7683 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/5.84, allocations: 25.7 kB / 0.9895 GB, free: 178 MB / 0.7683 GB Notification: Performance of collectInitialEqns (initialization): time 1.899e-05/5.84, allocations: 84.17 kB / 0.9895 GB, free: 177.9 MB / 0.7683 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/5.84, allocations: 7.781 kB / 0.9895 GB, free: 177.9 MB / 0.7683 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/5.84, allocations: 0 / 0.9895 GB, free: 177.9 MB / 0.7683 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/5.841, allocations: 322.8 kB / 0.9898 GB, free: 177.6 MB / 0.7683 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/5.841, allocations: 0 / 0.9898 GB, free: 177.6 MB / 0.7683 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/5.841, allocations: 4 kB / 0.9899 GB, free: 177.6 MB / 0.7683 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/5.841, allocations: 11.98 kB / 0.9899 GB, free: 177.6 MB / 0.7683 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/5.841, allocations: 0 / 0.9899 GB, free: 177.6 MB / 0.7683 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001792/5.841, allocations: 57.39 kB / 0.9899 GB, free: 177.5 MB / 0.7683 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/5.841, allocations: 4 kB / 0.9899 GB, free: 177.5 MB / 0.7683 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/5.841, allocations: 0 / 0.9899 GB, free: 177.5 MB / 0.7683 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/5.841, allocations: 7.984 kB / 0.9899 GB, free: 177.5 MB / 0.7683 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/5.841, allocations: 0 / 0.9899 GB, free: 177.5 MB / 0.7683 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/5.841, allocations: 0 / 0.9899 GB, free: 177.5 MB / 0.7683 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/5.841, allocations: 4 kB / 0.9899 GB, free: 177.5 MB / 0.7683 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/5.841, allocations: 0 / 0.9899 GB, free: 177.5 MB / 0.7683 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 (2): * Single equations (assignments): 2 * 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 5.242e-05/5.841, allocations: 104.9 kB / 0.99 GB, free: 177.4 MB / 0.7683 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/5.841, allocations: 0 / 0.99 GB, free: 177.4 MB / 0.7683 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/5.841, allocations: 68.73 kB / 0.9901 GB, free: 177.3 MB / 0.7683 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/5.842, allocations: 0 / 0.9901 GB, free: 177.3 MB / 0.7683 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/5.842, allocations: 4 kB / 0.9901 GB, free: 177.3 MB / 0.7683 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/5.842, allocations: 4.234 kB / 0.9901 GB, free: 177.3 MB / 0.7683 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.242e-05/5.842, allocations: 134.1 kB / 0.9902 GB, free: 177.2 MB / 0.7683 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/5.842, allocations: 4 kB / 0.9902 GB, free: 177.2 MB / 0.7683 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/5.842, allocations: 4 kB / 0.9902 GB, free: 177.1 MB / 0.7683 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/5.842, allocations: 0 / 0.9902 GB, free: 177.1 MB / 0.7683 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/5.842, allocations: 8.016 kB / 0.9903 GB, free: 177.1 MB / 0.7683 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/5.842, allocations: 0 / 0.9903 GB, free: 177.1 MB / 0.7683 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/5.842, allocations: 0 / 0.9903 GB, free: 177.1 MB / 0.7683 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001968/5.842, allocations: 84.64 kB / 0.9903 GB, free: 177 MB / 0.7683 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002533/5.842, allocations: 460.9 kB / 0.9908 GB, free: 176.6 MB / 0.7683 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/5.842, allocations: 77.11 kB / 0.9908 GB, free: 176.5 MB / 0.7683 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/5.842, allocations: 3.984 kB / 0.9908 GB, free: 176.5 MB / 0.7683 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/5.842, allocations: 0 / 0.9908 GB, free: 176.5 MB / 0.7683 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/5.842, allocations: 7.938 kB / 0.9909 GB, free: 176.5 MB / 0.7683 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/5.842, allocations: 3.906 kB / 0.9909 GB, free: 176.5 MB / 0.7683 GB Notification: Performance of sort global known variables: time 2.794e-05/5.842, allocations: 79.28 kB / 0.9909 GB, free: 176.4 MB / 0.7683 GB Notification: Performance of remove unused functions: time 0.001112/5.844, allocations: 31.5 kB / 0.991 GB, free: 176.4 MB / 0.7683 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 (2): * Single equations (assignments): 2 * 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.0003045/5.844, allocations: 163.1 kB / 0.9911 GB, free: 176.2 MB / 0.7683 GB Notification: Performance of simCode: created initialization part: time 8.571e-05/5.844, allocations: 15.38 kB / 0.9911 GB, free: 176.2 MB / 0.7683 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/5.844, allocations: 0 / 0.9911 GB, free: 176.2 MB / 0.7683 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-05/5.844, allocations: 7.984 kB / 0.9911 GB, free: 176.2 MB / 0.7683 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/5.844, allocations: 4 kB / 0.9911 GB, free: 176.2 MB / 0.7683 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/5.844, allocations: 56.47 kB / 0.9912 GB, free: 176.1 MB / 0.7683 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/5.845, allocations: 0.689 MB / 0.9919 GB, free: 175.4 MB / 0.7683 GB Notification: Performance of SimCode: time 7.41e-07/5.845, allocations: 128 / 0.9919 GB, free: 175.4 MB / 0.7683 GB