Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_HexInternalElement",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.263/4.263, allocations: 403.9 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.247/4.51, allocations: 95.04 MB / 0.4941 GB, free: 7.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/5.06, allocations: 92.68 MB / 0.5846 GB, free: 3.402 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/6.119, allocations: 397.3 MB / 0.9726 GB, free: 35.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006408/6.12, allocations: 109.2 kB / 0.9727 GB, free: 35.28 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: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 3.088/9.208, allocations: 0.5243 GB / 1.497 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/9.209, allocations: 7.062 kB / 1.497 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/9.21, allocations: 167.6 kB / 1.497 GB, free: 165.8 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05075/9.26, allocations: 12.52 MB / 1.509 GB, free: 159.4 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/9.26, allocations: 30.06 kB / 1.509 GB, free: 159.4 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/9.261, allocations: 60.25 kB / 1.509 GB, free: 159.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00217/9.263, allocations: 0.5854 MB / 1.51 GB, free: 159.1 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/9.266, allocations: 0.8501 MB / 1.511 GB, free: 158.6 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-05/9.266, allocations: 21.02 kB / 1.511 GB, free: 158.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/9.266, allocations: 2.75 kB / 1.511 GB, free: 158.5 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-05/9.266, allocations: 30.48 kB / 1.511 GB, free: 158.5 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/9.276, allocations: 5.211 MB / 1.516 GB, free: 154 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/9.278, allocations: 367.7 kB / 1.516 GB, free: 153.8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009584/9.279, allocations: 310 kB / 1.517 GB, free: 153.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005813/9.279, allocations: 287.8 kB / 1.517 GB, free: 153.3 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/9.279, allocations: 45.38 kB / 1.517 GB, free: 153.3 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=57): time 3.977e-06/9.279, allocations: 2.75 kB / 1.517 GB, free: 153.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59): time 0.01092/9.29, allocations: 1.904 MB / 1.519 GB, free: 152 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/9.29, allocations: 117.8 kB / 1.519 GB, free: 151.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/9.292, allocations: 0.6727 MB / 1.52 GB, free: 151.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002008/9.292, allocations: 26.83 kB / 1.52 GB, free: 151.4 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/9.293, allocations: 429.1 kB / 1.52 GB, free: 151.1 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/9.293, allocations: 206.9 kB / 1.52 GB, free: 150.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/9.293, allocations: 0 / 1.52 GB, free: 150.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001035/9.293, allocations: 338.9 kB / 1.521 GB, free: 150.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007061/9.294, allocations: 194.3 kB / 1.521 GB, free: 150.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008553/9.295, allocations: 435.2 kB / 1.521 GB, free: 150.1 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/9.297, allocations: 318.2 kB / 1.521 GB, free: 149.9 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/9.297, allocations: 8.219 kB / 1.521 GB, free: 149.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006144/9.303, allocations: 0.918 MB / 1.522 GB, free: 149.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005168/9.303, allocations: 2.18 MB / 1.524 GB, free: 146.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-05/9.303, allocations: 8 kB / 1.524 GB, free: 146.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007343/9.304, allocations: 134.5 kB / 1.525 GB, free: 146.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/9.306, allocations: 143.8 kB / 1.525 GB, free: 146.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/9.31, allocations: 4.651 MB / 1.529 GB, free: 141.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/9.312, allocations: 54.31 kB / 1.529 GB, free: 141.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/9.313, allocations: 35.94 kB / 1.529 GB, free: 141.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/9.313, allocations: 4 kB / 1.529 GB, free: 141.6 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003059/9.316, allocations: 0.7837 MB / 1.53 GB, free: 140.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/9.316, allocations: 6.625 kB / 1.53 GB, free: 140.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/9.316, allocations: 118.4 kB / 1.53 GB, free: 140.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/9.318, allocations: 147.8 kB / 1.53 GB, free: 140.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005772/9.323, allocations: 5.475 MB / 1.536 GB, free: 134.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/9.325, allocations: 58.88 kB / 1.536 GB, free: 134.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/9.325, allocations: 36 kB / 1.536 GB, free: 134.5 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000361/9.326, allocations: 122.4 kB / 1.536 GB, free: 134.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004183/9.326, allocations: 98.78 kB / 1.536 GB, free: 134.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00537/9.332, allocations: 0.8267 MB / 1.537 GB, free: 133.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/9.332, allocations: 4 kB / 1.537 GB, free: 133.5 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/9.332, allocations: 4 kB / 1.537 GB, free: 133.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004624/9.336, allocations: 0.7703 MB / 1.538 GB, free: 132.6 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00868/9.345, allocations: 2.035 MB / 1.54 GB, free: 130.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/9.345, allocations: 0 / 1.54 GB, free: 130.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009779/9.346, allocations: 86.55 kB / 1.54 GB, free: 130.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009169/9.347, allocations: 196.4 kB / 1.54 GB, free: 130.2 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.645e-05/9.347, allocations: 8 kB / 1.54 GB, free: 130.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/9.359, allocations: 6.71 MB / 1.546 GB, free: 123.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/9.359, allocations: 7.906 kB / 1.546 GB, free: 123 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008536/9.368, allocations: 1.297 MB / 1.548 GB, free: 121.6 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006892/9.375, allocations: 1.984 MB / 1.55 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009668/9.376, allocations: 243.8 kB / 1.55 GB, free: 119.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003456/9.376, allocations: 4 kB / 1.55 GB, free: 119.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/9.378, allocations: 62.25 kB / 1.55 GB, free: 119.3 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/9.378, allocations: 40.39 kB / 1.55 GB, free: 119.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.717e-05/9.378, allocations: 23.98 kB / 1.55 GB, free: 119.2 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001208/9.379, allocations: 0.511 MB / 1.55 GB, free: 118.7 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008307/9.388, allocations: 0.7926 MB / 1.551 GB, free: 117.9 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 40 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002514/9.39, allocations: 0.6397 MB / 1.552 GB, free: 117.4 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004432/9.395, allocations: 1.69 MB / 1.554 GB, free: 115.6 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/9.395, allocations: 3.25 kB / 1.554 GB, free: 115.6 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/9.396, allocations: 0.68 MB / 1.554 GB, free: 114.9 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/9.402, allocations: 439.5 kB / 1.555 GB, free: 114.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/9.408, allocations: 1.632 MB / 1.556 GB, free: 113 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/9.409, allocations: 1.219 MB / 1.557 GB, free: 111.7 MB / 0.7605 GB Notification: Performance of SimCode: time 1.913e-06/9.409, allocations: 0 / 1.557 GB, free: 111.7 MB / 0.7605 GB