Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"dynamic"}) [: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.542/4.542, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2914/4.833, allocations: 95.04 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5774/5.411, allocations: 92.66 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9323/6.343, allocations: 346.1 MB / 0.9226 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003744/6.344, allocations: 98.47 kB / 0.9227 GB, free: 85.04 MB / 0.6823 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.06515/6.409, allocations: 15.84 MB / 0.9381 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/6.409, allocations: 12 kB / 0.9381 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/6.409, allocations: 7.984 kB / 0.9382 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/6.409, allocations: 166.9 kB / 0.9383 GB, free: 72.22 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/6.409, allocations: 4 kB / 0.9383 GB, free: 72.22 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/6.409, allocations: 0 / 0.9383 GB, free: 72.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.978e-05/6.409, allocations: 4 kB / 0.9383 GB, free: 72.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.342e-05/6.409, allocations: 29.7 kB / 0.9383 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/6.409, allocations: 0 / 0.9383 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/6.409, allocations: 0 / 0.9383 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/6.409, allocations: 0 / 0.9383 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/6.409, allocations: 137.6 kB / 0.9385 GB, free: 72.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/6.409, allocations: 22.58 kB / 0.9385 GB, free: 71.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.412e-05/6.409, allocations: 12.48 kB / 0.9385 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/6.409, allocations: 0 / 0.9385 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/6.409, allocations: 30.56 kB / 0.9385 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/6.409, allocations: 0 / 0.9385 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003222/6.41, allocations: 49.67 kB / 0.9386 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/6.41, allocations: 77.11 kB / 0.9387 GB, free: 71.78 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/6.41, allocations: 104.5 kB / 0.9388 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/6.41, allocations: 25.7 kB / 0.9388 GB, free: 71.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.047e-05/6.41, allocations: 84.14 kB / 0.9389 GB, free: 71.56 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/6.41, allocations: 7.344 kB / 0.9389 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/6.41, allocations: 0 / 0.9389 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/6.41, allocations: 318.7 kB / 0.9392 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/6.41, allocations: 4 kB / 0.9392 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/6.41, allocations: 0 / 0.9392 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/6.41, allocations: 20.03 kB / 0.9392 GB, free: 71.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/6.41, allocations: 3.938 kB / 0.9392 GB, free: 71.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002384/6.411, allocations: 57.05 kB / 0.9393 GB, free: 71.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/6.411, allocations: 4 kB / 0.9393 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/6.411, allocations: 0 / 0.9393 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/6.411, allocations: 0 / 0.9393 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-06/6.411, allocations: 0 / 0.9393 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/6.411, allocations: 0 / 0.9393 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/6.411, allocations: 3.906 kB / 0.9393 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/6.411, allocations: 4 kB / 0.9393 GB, free: 71.14 MB / 0.6823 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.071e-05/6.411, allocations: 134.7 kB / 0.9394 GB, free: 70.99 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/6.411, allocations: 4 kB / 0.9394 GB, free: 70.99 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/6.411, allocations: 3.312 kB / 0.9394 GB, free: 70.99 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/6.411, allocations: 0 / 0.9394 GB, free: 70.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/6.411, allocations: 3.906 kB / 0.9394 GB, free: 70.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/6.411, allocations: 0 / 0.9394 GB, free: 70.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.208e-05/6.411, allocations: 133.7 kB / 0.9395 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/6.411, allocations: 0 / 0.9395 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/6.411, allocations: 3.938 kB / 0.9395 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/6.411, allocations: 0 / 0.9395 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/6.411, allocations: 11.98 kB / 0.9396 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/6.411, allocations: 0 / 0.9396 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/6.411, allocations: 0 / 0.9396 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000248/6.411, allocations: 80.31 kB / 0.9396 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003149/6.412, allocations: 468.3 kB / 0.9401 GB, free: 70.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/6.412, allocations: 81.11 kB / 0.9402 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/6.412, allocations: 0 / 0.9402 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/6.412, allocations: 3.906 kB / 0.9402 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/6.412, allocations: 7.922 kB / 0.9402 GB, free: 70.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/6.412, allocations: 4 kB / 0.9402 GB, free: 70.13 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.508e-05/6.412, allocations: 87.16 kB / 0.9403 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001419/6.413, allocations: 31.94 kB / 0.9403 GB, free: 70.02 MB / 0.6823 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003665/6.414, allocations: 166.9 kB / 0.9404 GB, free: 69.85 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001202/6.414, allocations: 33.7 kB / 0.9405 GB, free: 69.81 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/6.414, allocations: 0 / 0.9405 GB, free: 69.81 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/6.414, allocations: 41.38 kB / 0.9405 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/6.414, allocations: 0 / 0.9405 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/6.414, allocations: 63.44 kB / 0.9406 GB, free: 69.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/6.415, allocations: 0.688 MB / 0.9412 GB, free: 68.97 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/6.415, allocations: 4.125 kB / 0.9412 GB, free: 68.96 MB / 0.6823 GB