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.Examples.InternalResistancesTwoUTube.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.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.86/3.86, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5716/4.431, allocations: 104.4 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/4.683, allocations: 98.73 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2847/4.968, allocations: 134.4 MB / 0.7596 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005096/4.968, allocations: 119.5 kB / 0.7597 GB, free: 3.02 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.4758/5.444, allocations: 22.39 MB / 0.7816 GB, free: 139 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/5.444, allocations: 10.81 kB / 0.7816 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/5.444, allocations: 71.69 kB / 0.7817 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007957/5.445, allocations: 431.2 kB / 0.7821 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/5.445, allocations: 14.19 kB / 0.7821 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-05/5.445, allocations: 35.16 kB / 0.7821 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009058/5.446, allocations: 301.6 kB / 0.7824 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/5.447, allocations: 332.3 kB / 0.7827 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/5.447, allocations: 4.562 kB / 0.7827 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/5.447, allocations: 0 / 0.7827 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/5.447, allocations: 9.906 kB / 0.7828 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/5.45, allocations: 1.449 MB / 0.7842 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/5.451, allocations: 245.4 kB / 0.7844 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/5.452, allocations: 282.4 kB / 0.7847 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/5.452, allocations: 3.938 kB / 0.7847 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/5.452, allocations: 37.44 kB / 0.7847 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=42): time 3.697e-06/5.452, allocations: 0 / 0.7847 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42): time 0.0008368/5.452, allocations: 310.7 kB / 0.785 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/5.452, allocations: 57.78 kB / 0.7851 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006469/5.453, allocations: 369.5 kB / 0.7854 GB, free: 138 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/5.453, allocations: 25.7 kB / 0.7854 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/5.453, allocations: 224.2 kB / 0.7857 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/5.454, allocations: 134.3 kB / 0.7858 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/5.454, allocations: 3.344 kB / 0.7858 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001044/5.454, allocations: 354.6 kB / 0.7861 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/5.454, allocations: 98.5 kB / 0.7862 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/5.454, allocations: 101.3 kB / 0.7863 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/5.455, allocations: 117.1 kB / 0.7864 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/5.455, allocations: 8.688 kB / 0.7864 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009077/5.456, allocations: 334.6 kB / 0.7868 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/5.456, allocations: 3.812 kB / 0.7868 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/5.456, allocations: 0 / 0.7868 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/5.456, allocations: 3.938 kB / 0.7868 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/5.457, allocations: 132.4 kB / 0.7869 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/5.457, allocations: 0 / 0.7869 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/5.457, allocations: 46.72 kB / 0.7869 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/5.457, allocations: 7.938 kB / 0.7869 GB, free: 137.3 MB / 0.6511 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 (46): * Single equations (assignments): 46 * 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 0.0001094/5.457, allocations: 113 kB / 0.787 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.986e-05/5.457, allocations: 42.44 kB / 0.7871 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/5.458, allocations: 50.09 kB / 0.7871 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/5.458, allocations: 6.438 kB / 0.7871 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/5.458, allocations: 0 / 0.7871 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/5.458, allocations: 13.11 kB / 0.7872 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/5.459, allocations: 0.5044 MB / 0.7876 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/5.459, allocations: 0 / 0.7876 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/5.46, allocations: 125.4 kB / 0.7878 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/5.46, allocations: 1.5 kB / 0.7878 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/5.46, allocations: 4.75 kB / 0.7878 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/5.46, allocations: 0 / 0.7878 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/5.46, allocations: 0 / 0.7878 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001243/5.461, allocations: 0.5781 MB / 0.7883 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001524/5.463, allocations: 1.117 MB / 0.7894 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/5.463, allocations: 134.3 kB / 0.7896 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/5.463, allocations: 0 / 0.7896 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/5.464, allocations: 20.91 kB / 0.7896 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/5.464, allocations: 20.34 kB / 0.7896 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/5.464, allocations: 10.78 kB / 0.7896 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005225/5.464, allocations: 291.8 kB / 0.7899 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001525/5.466, allocations: 156.2 kB / 0.79 GB, free: 136 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0004365/5.466, allocations: 269.9 kB / 0.7903 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007657/5.467, allocations: 281.7 kB / 0.7906 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/5.467, allocations: 0 / 0.7906 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003214/5.467, allocations: 160 kB / 0.7907 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008055/5.468, allocations: 82.66 kB / 0.7908 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/5.471, allocations: 0.882 MB / 0.7917 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007509/5.472, allocations: 0.9316 MB / 0.7926 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.392e-06/5.472, allocations: 0 / 0.7926 GB, free: 134.8 MB / 0.6511 GB