Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.309/4.309, allocations: 403.9 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2365/4.545, allocations: 95.01 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/5.089, allocations: 92.68 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/5.439, allocations: 191 MB / 0.7711 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004051/5.439, allocations: 99.92 kB / 0.7712 GB, free: 6.473 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.7377/6.177, allocations: 86.41 MB / 0.8556 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/6.177, allocations: 12 kB / 0.8556 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02513/6.202, allocations: 1.605 MB / 0.8572 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008769/6.211, allocations: 2.093 MB / 0.8592 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/6.211, allocations: 40 kB / 0.8593 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005075/6.212, allocations: 71.94 kB / 0.8593 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00515/6.217, allocations: 1.711 MB / 0.861 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005389/6.222, allocations: 2.097 MB / 0.863 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-05/6.222, allocations: 7.938 kB / 0.8631 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/6.223, allocations: 8 kB / 0.8631 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/6.223, allocations: 94.28 kB / 0.8631 GB, free: 170 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02695/6.25, allocations: 8.71 MB / 0.8717 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004486/6.254, allocations: 1.439 MB / 0.8731 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/6.256, allocations: 0.9018 MB / 0.8739 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-05/6.257, allocations: 12.69 kB / 0.874 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/6.257, allocations: 43.34 kB / 0.874 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=89): time 4.147e-06/6.257, allocations: 4 kB / 0.874 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=153): time 0.04549/6.302, allocations: 6.981 MB / 0.8808 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/6.302, allocations: 222.9 kB / 0.881 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/6.305, allocations: 0.8053 MB / 0.8818 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000524/6.305, allocations: 29.7 kB / 0.8818 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000467/6.306, allocations: 0.5277 MB / 0.8824 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009017/6.307, allocations: 0.5003 MB / 0.8828 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/6.307, allocations: 0 / 0.8828 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001734/6.307, allocations: 361.9 kB / 0.8832 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00409/6.312, allocations: 1.136 MB / 0.8843 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004437/6.316, allocations: 1.403 MB / 0.8857 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005245/6.321, allocations: 1.317 MB / 0.887 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/6.321, allocations: 4 kB / 0.887 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.02916/6.351, allocations: 4.502 MB / 0.8914 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/6.351, allocations: 4 kB / 0.8914 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/6.351, allocations: 8 kB / 0.8914 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02034/6.371, allocations: 2.093 MB / 0.8934 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004983/6.376, allocations: 335.5 kB / 0.8937 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06618/6.442, allocations: 20.9 MB / 0.9141 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009217/6.452, allocations: 211.6 kB / 0.9143 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000822/6.452, allocations: 71.91 kB / 0.9144 GB, free: 116.3 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009897/6.453, allocations: 124.3 kB / 0.9145 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/6.455, allocations: 158.1 kB / 0.9147 GB, free: 116 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03491/6.49, allocations: 4.649 MB / 0.9192 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.648e-05/6.49, allocations: 16 kB / 0.9192 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.163e-05/6.49, allocations: 20 kB / 0.9193 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.203e-05/6.49, allocations: 7.969 kB / 0.9193 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03087/6.521, allocations: 6.649 MB / 0.9258 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.556e-05/6.521, allocations: 8.031 kB / 0.9258 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004336/6.525, allocations: 283.6 kB / 0.926 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01823/6.544, allocations: 1.929 MB / 0.9279 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004846/6.544, allocations: 23.97 kB / 0.9279 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04763/6.592, allocations: 19.99 MB / 0.9475 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/6.592, allocations: 4 kB / 0.9475 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02189/6.614, allocations: 4.345 MB / 0.9517 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02285/6.637, allocations: 4.763 MB / 0.9564 GB, free: 72.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/6.639, allocations: 499 kB / 0.9568 GB, free: 71.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/6.64, allocations: 11.98 kB / 0.9568 GB, free: 71.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007368/6.648, allocations: 211.7 kB / 0.957 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005677/6.648, allocations: 77.67 kB / 0.9571 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004483/6.649, allocations: 59.95 kB / 0.9572 GB, free: 71.26 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001956/6.651, allocations: 0.6057 MB / 0.9578 GB, free: 70.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006644/6.657, allocations: 0.582 MB / 0.9583 GB, free: 70.07 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/6.659, allocations: 196.1 kB / 0.9585 GB, free: 69.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01904/6.678, allocations: 4.039 MB / 0.9625 GB, free: 65.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/6.678, allocations: 0 / 0.9625 GB, free: 65.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01397/6.692, allocations: 2.639 MB / 0.965 GB, free: 63.03 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005688/6.697, allocations: 416.8 kB / 0.9654 GB, free: 62.63 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/6.715, allocations: 3.391 MB / 0.9688 GB, free: 59.15 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003354/6.719, allocations: 1.624 MB / 0.9703 GB, free: 57.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.445e-06/6.719, allocations: 0 / 0.9703 GB, free: 57.5 MB / 0.6823 GB