Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.349/2.349, allocations: 248.6 MB / 255.9 MB, free: 7.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 177.2 kB / 315.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.1 MB / 0.5658 GB, free: 348 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 87.28 kB / 0.67 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5004/0.5017, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.7244, allocations: 106.2 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7268/1.451, allocations: 140.4 MB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006909/1.452, allocations: 110.1 kB / 1.021 GB, free: 15.67 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.09832/1.55, allocations: 18.05 MB / 1.038 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.551, allocations: 15.98 kB / 1.038 GB, free: 0.7617 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/1.551, allocations: 43.44 kB / 1.038 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007592/1.551, allocations: 353 kB / 1.039 GB, free: 392 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/1.551, allocations: 8 kB / 1.039 GB, free: 384 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/1.552, allocations: 12 kB / 1.039 GB, free: 372 kB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004402/1.552, allocations: 120.7 kB / 1.039 GB, free: 300 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/1.552, allocations: 155.8 kB / 1.039 GB, free: 176 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/1.553, allocations: 4 kB / 1.039 GB, free: 172 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/1.553, allocations: 0 / 1.039 GB, free: 172 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/1.553, allocations: 4 kB / 1.039 GB, free: 168 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/1.555, allocations: 0.8216 MB / 1.04 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/1.555, allocations: 115.9 kB / 1.04 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/1.555, allocations: 95.52 kB / 1.04 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/1.555, allocations: 224 / 1.04 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/1.555, allocations: 34.56 kB / 1.04 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 2.044e-06/1.555, allocations: 7.938 kB / 1.04 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0004889/1.556, allocations: 148.2 kB / 1.04 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/1.556, allocations: 59.39 kB / 1.04 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/1.556, allocations: 329.8 kB / 1.041 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/1.556, allocations: 25.7 kB / 1.041 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/1.557, allocations: 150.4 kB / 1.041 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.138e-05/1.557, allocations: 66.45 kB / 1.041 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/1.557, allocations: 0 / 1.041 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.557, allocations: 352.8 kB / 1.041 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/1.557, allocations: 43.44 kB / 1.041 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/1.557, allocations: 35.31 kB / 1.041 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/1.557, allocations: 51.69 kB / 1.041 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.557, allocations: 0 / 1.041 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004141/1.558, allocations: 169.4 kB / 1.041 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.558, allocations: 6.812 kB / 1.041 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.558, allocations: 0 / 1.041 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.558, allocations: 0 / 1.041 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/1.558, allocations: 67.28 kB / 1.041 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/1.558, allocations: 3.984 kB / 1.041 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/1.559, allocations: 19.84 kB / 1.042 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/1.559, allocations: 3.984 kB / 1.042 GB, free: 13.94 MB / 0.6667 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 9.6e-05/1.559, allocations: 109 kB / 1.042 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/1.559, allocations: 35.53 kB / 1.042 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/1.559, allocations: 34.25 kB / 1.042 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.559, allocations: 4 kB / 1.042 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.559, allocations: 0 / 1.042 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.559, allocations: 0 / 1.042 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/1.56, allocations: 332 kB / 1.042 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.56, allocations: 0 / 1.042 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/1.56, allocations: 63.09 kB / 1.042 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/1.56, allocations: 7.984 kB / 1.042 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/1.56, allocations: 4 kB / 1.042 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.56, allocations: 0 / 1.042 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.56, allocations: 0 / 1.042 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006387/1.561, allocations: 322.5 kB / 1.042 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009267/1.562, allocations: 0.7663 MB / 1.043 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/1.562, allocations: 115.8 kB / 1.043 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/1.562, allocations: 6.984 kB / 1.043 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/1.563, allocations: 8 kB / 1.043 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/1.563, allocations: 12.05 kB / 1.043 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/1.563, allocations: 4 kB / 1.043 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0005386/1.563, allocations: 269.9 kB / 1.044 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001348/1.565, allocations: 79.16 kB / 1.044 GB, free: 12.01 MB / 0.6667 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.000522/1.565, allocations: 271 kB / 1.044 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003727/1.566, allocations: 113.1 kB / 1.044 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.566, allocations: 0 / 1.044 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/1.566, allocations: 67.47 kB / 1.044 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007481/1.567, allocations: 71.44 kB / 1.044 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/1.568, allocations: 0.5067 MB / 1.045 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000644/1.569, allocations: 0.8312 MB / 1.045 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of SimCode: time 1.102e-06/1.569, allocations: 4 kB / 1.045 GB, free: 10.25 MB / 0.6667 GB