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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.715/3.715, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5562/4.271, allocations: 104.4 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/4.503, allocations: 98.73 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2514/4.754, allocations: 132.3 MB / 0.7575 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004125/4.755, allocations: 115.5 kB / 0.7576 GB, free: 5.148 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.08286/4.838, allocations: 18 MB / 0.7752 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/4.838, allocations: 8 kB / 0.7752 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/4.838, allocations: 43.44 kB / 0.7753 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/4.838, allocations: 355.6 kB / 0.7756 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/4.838, allocations: 12 kB / 0.7756 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/4.839, allocations: 12.22 kB / 0.7756 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004461/4.839, allocations: 128.8 kB / 0.7757 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/4.839, allocations: 150.4 kB / 0.7759 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/4.839, allocations: 0 / 0.7759 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/4.84, allocations: 3.984 kB / 0.7759 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/4.84, allocations: 15.94 kB / 0.7759 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/4.842, allocations: 0.819 MB / 0.7767 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/4.842, allocations: 101.8 kB / 0.7768 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/4.842, allocations: 92.91 kB / 0.7769 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/4.842, allocations: 7.938 kB / 0.7769 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/4.842, allocations: 30.56 kB / 0.7769 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.376e-06/4.842, allocations: 0 / 0.7769 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0005392/4.843, allocations: 157.5 kB / 0.7771 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/4.843, allocations: 55.41 kB / 0.7771 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/4.843, allocations: 330 kB / 0.7775 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/4.844, allocations: 25.7 kB / 0.7775 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/4.844, allocations: 160.2 kB / 0.7776 GB, free: 400 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.005e-05/4.844, allocations: 63 kB / 0.7777 GB, free: 336 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/4.844, allocations: 0 / 0.7777 GB, free: 336 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.2941/5.138, allocations: 346.8 kB / 0.778 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/5.138, allocations: 35.41 kB / 0.7781 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/5.138, allocations: 52.38 kB / 0.7781 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/5.139, allocations: 43.36 kB / 0.7781 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/5.139, allocations: 0 / 0.7781 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006899/5.139, allocations: 170.5 kB / 0.7783 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/5.139, allocations: 3.688 kB / 0.7783 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/5.139, allocations: 3.938 kB / 0.7783 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/5.139, allocations: 3.562 kB / 0.7783 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/5.14, allocations: 59.48 kB / 0.7784 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/5.14, allocations: 2.812 kB / 0.7784 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/5.14, allocations: 19.98 kB / 0.7784 GB, free: 223.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/5.14, allocations: 8.75 kB / 0.7784 GB, free: 223.7 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 (20): * Single equations (assignments): 20 * 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 8.899e-05/5.141, allocations: 108.3 kB / 0.7785 GB, free: 223.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-05/5.141, allocations: 35.75 kB / 0.7785 GB, free: 223.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/5.141, allocations: 33.88 kB / 0.7786 GB, free: 223.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/5.141, allocations: 5.938 kB / 0.7786 GB, free: 223.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/5.141, allocations: 0 / 0.7786 GB, free: 223.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/5.141, allocations: 3.844 kB / 0.7786 GB, free: 223.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/5.141, allocations: 331.7 kB / 0.7789 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/5.141, allocations: 0 / 0.7789 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/5.142, allocations: 59.69 kB / 0.779 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/5.142, allocations: 0 / 0.779 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/5.142, allocations: 0 / 0.779 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/5.142, allocations: 3.906 kB / 0.779 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/5.142, allocations: 0 / 0.779 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005921/5.143, allocations: 330.4 kB / 0.7793 GB, free: 223.2 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007362/5.143, allocations: 0.7614 MB / 0.78 GB, free: 222.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/5.144, allocations: 115.2 kB / 0.7801 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.192e-05/5.144, allocations: 0 / 0.7801 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/5.144, allocations: 14.27 kB / 0.7801 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/5.144, allocations: 13.81 kB / 0.7802 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/5.144, allocations: 5.75 kB / 0.7802 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000442/5.145, allocations: 262.7 kB / 0.7804 GB, free: 222.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001353/5.146, allocations: 82.06 kB / 0.7805 GB, free: 222.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0005813/5.147, allocations: 266.5 kB / 0.7807 GB, free: 222.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005243/5.147, allocations: 117.4 kB / 0.7809 GB, free: 222.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/5.147, allocations: 0 / 0.7809 GB, free: 222.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/5.147, allocations: 64.22 kB / 0.7809 GB, free: 222.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/5.148, allocations: 73.36 kB / 0.781 GB, free: 222.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/5.15, allocations: 0.5171 MB / 0.7815 GB, free: 222.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/5.15, allocations: 0.8418 MB / 0.7823 GB, free: 221.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/5.15, allocations: 0 / 0.7823 GB, free: 221.6 MB / 0.6511 GB