Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.206/4.206, allocations: 404 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3023/4.508, allocations: 95.02 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6121/5.12, allocations: 92.67 MB / 0.5846 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3856/5.506, allocations: 188.5 MB / 0.7686 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004321/5.506, allocations: 95.94 kB / 0.7687 GB, free: 9 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.8243/6.331, allocations: 84.9 MB / 0.8516 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/6.331, allocations: 8 kB / 0.8516 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0304/6.361, allocations: 1.515 MB / 0.8531 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006834/6.368, allocations: 1.231 MB / 0.8543 GB, free: 179 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.099e-05/6.368, allocations: 40 kB / 0.8544 GB, free: 179 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008525/6.369, allocations: 68 kB / 0.8544 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00642/6.375, allocations: 1.758 MB / 0.8561 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006894/6.382, allocations: 2.111 MB / 0.8582 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.413e-05/6.382, allocations: 11.84 kB / 0.8582 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003441/6.383, allocations: 4 kB / 0.8582 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/6.383, allocations: 86.28 kB / 0.8583 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02963/6.413, allocations: 8.705 MB / 0.8668 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005107/6.418, allocations: 1.649 MB / 0.8684 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/6.42, allocations: 0.9176 MB / 0.8693 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/6.42, allocations: 20.72 kB / 0.8693 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/6.42, allocations: 47.34 kB / 0.8694 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=89): time 4.168e-06/6.42, allocations: 0 / 0.8694 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.02932/6.45, allocations: 5.806 MB / 0.875 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.857e-05/6.45, allocations: 222.9 kB / 0.8753 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/6.452, allocations: 0.7624 MB / 0.876 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004579/6.452, allocations: 29.7 kB / 0.876 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/6.453, allocations: 0.523 MB / 0.8765 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007064/6.453, allocations: 425.5 kB / 0.877 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/6.454, allocations: 0 / 0.877 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001315/6.454, allocations: 357.9 kB / 0.8773 GB, free: 155 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/6.457, allocations: 0.9671 MB / 0.8782 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003271/6.46, allocations: 1.222 MB / 0.8794 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/6.464, allocations: 1.11 MB / 0.8805 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/6.464, allocations: 0 / 0.8805 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01856/6.482, allocations: 3.684 MB / 0.8841 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/6.482, allocations: 4.938 kB / 0.8841 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/6.482, allocations: 8 kB / 0.8841 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01539/6.498, allocations: 1.576 MB / 0.8857 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005061/6.503, allocations: 359.4 kB / 0.886 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04729/6.55, allocations: 23.31 MB / 0.9088 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005864/6.556, allocations: 207.7 kB / 0.909 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008227/6.557, allocations: 55.97 kB / 0.909 GB, free: 120.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001057/6.558, allocations: 135.2 kB / 0.9092 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/6.559, allocations: 154.2 kB / 0.9093 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02382/6.583, allocations: 3.793 MB / 0.913 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/6.583, allocations: 12 kB / 0.913 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-05/6.583, allocations: 12 kB / 0.913 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.355e-05/6.583, allocations: 3.984 kB / 0.913 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02529/6.609, allocations: 6.018 MB / 0.9189 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/6.609, allocations: 4.344 kB / 0.9189 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004459/6.613, allocations: 311.5 kB / 0.9192 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01315/6.626, allocations: 1.475 MB / 0.9207 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004235/6.627, allocations: 19.97 kB / 0.9207 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04897/6.676, allocations: 22.35 MB / 0.9425 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-05/6.676, allocations: 11.94 kB / 0.9425 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02556/6.701, allocations: 3.664 MB / 0.9461 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02247/6.724, allocations: 4.071 MB / 0.9501 GB, free: 76.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002515/6.727, allocations: 455.1 kB / 0.9505 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/6.728, allocations: 4 kB / 0.9505 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007718/6.736, allocations: 203.7 kB / 0.9507 GB, free: 76.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007122/6.736, allocations: 76.73 kB / 0.9508 GB, free: 76.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006592/6.737, allocations: 47.97 kB / 0.9508 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002418/6.74, allocations: 0.5762 MB / 0.9514 GB, free: 75.56 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0083/6.748, allocations: 0.5039 MB / 0.9519 GB, free: 75.05 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/6.749, allocations: 146.7 kB / 0.952 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01556/6.765, allocations: 4.053 MB / 0.956 GB, free: 70.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/6.765, allocations: 128 / 0.956 GB, free: 70.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01124/6.776, allocations: 2.857 MB / 0.9588 GB, free: 67.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005321/6.781, allocations: 415.3 kB / 0.9592 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/6.802, allocations: 3.069 MB / 0.9621 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004978/6.807, allocations: 1.569 MB / 0.9637 GB, free: 62.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.655e-06/6.807, allocations: 0 / 0.9637 GB, free: 62.6 MB / 0.6823 GB