Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.106/4.106, allocations: 404 MB / 410.9 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2524/4.358, allocations: 95.02 MB / 0.4941 GB, free: 7.207 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5275/4.886, allocations: 92.69 MB / 0.5846 GB, free: 3.336 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3014/5.187, allocations: 162.7 MB / 0.7435 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004914/5.188, allocations: 91.94 kB / 0.7436 GB, free: 2.746 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.1452/5.333, allocations: 31.48 MB / 0.7743 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/5.333, allocations: 16 kB / 0.7744 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/5.336, allocations: 202.8 kB / 0.7746 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/5.338, allocations: 491.9 kB / 0.775 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/5.338, allocations: 16 kB / 0.775 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/5.338, allocations: 35.98 kB / 0.7751 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001638/5.34, allocations: 478.1 kB / 0.7755 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/5.342, allocations: 0.8027 MB / 0.7763 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.733e-05/5.342, allocations: 7.844 kB / 0.7763 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.962e-05/5.342, allocations: 4 kB / 0.7763 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/5.342, allocations: 48.97 kB / 0.7764 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007627/5.35, allocations: 3.675 MB / 0.78 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007734/5.351, allocations: 282.5 kB / 0.7802 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/5.352, allocations: 220.8 kB / 0.7804 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/5.352, allocations: 3.938 kB / 0.7804 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/5.352, allocations: 42.47 kB / 0.7805 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 3.357e-06/5.352, allocations: 0 / 0.7805 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.007799/5.359, allocations: 2.01 MB / 0.7824 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/5.36, allocations: 59.31 kB / 0.7825 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/5.36, allocations: 337 kB / 0.7828 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/5.36, allocations: 29.7 kB / 0.7829 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/5.361, allocations: 283.6 kB / 0.7831 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/5.361, allocations: 138 kB / 0.7833 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/5.361, allocations: 4 kB / 0.7833 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001963/5.361, allocations: 354.8 kB / 0.7836 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006592/5.362, allocations: 221.2 kB / 0.7838 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007994/5.362, allocations: 380.1 kB / 0.7842 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/5.363, allocations: 289.4 kB / 0.7844 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/5.363, allocations: 0 / 0.7844 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003205/5.366, allocations: 0.8401 MB / 0.7853 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/5.367, allocations: 11.22 kB / 0.7853 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/5.367, allocations: 4 kB / 0.7853 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/5.368, allocations: 226.3 kB / 0.7855 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/5.369, allocations: 99.88 kB / 0.7856 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008332/5.378, allocations: 4.631 MB / 0.7901 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009413/5.379, allocations: 11.98 kB / 0.7901 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/5.379, allocations: 20.06 kB / 0.7901 GB, free: 1.762 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002169/5.379, allocations: 136 kB / 0.7903 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/5.379, allocations: 51.44 kB / 0.7903 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/5.382, allocations: 0.7303 MB / 0.791 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/5.382, allocations: 8 kB / 0.791 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/5.382, allocations: 7.984 kB / 0.7911 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/5.382, allocations: 3.938 kB / 0.7911 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004655/5.387, allocations: 1.381 MB / 0.7924 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/5.387, allocations: 8.219 kB / 0.7924 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000861/5.388, allocations: 63.89 kB / 0.7925 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/5.389, allocations: 198.4 kB / 0.7927 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/5.389, allocations: 11.94 kB / 0.7927 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007789/5.397, allocations: 4.537 MB / 0.7971 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/5.397, allocations: 4 kB / 0.7971 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003545/5.401, allocations: 1.183 MB / 0.7983 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004591/5.405, allocations: 1.893 MB / 0.8001 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/5.406, allocations: 172.5 kB / 0.8003 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/5.406, allocations: 4 kB / 0.8003 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/5.407, allocations: 11.98 kB / 0.8003 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/5.407, allocations: 27.81 kB / 0.8003 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/5.407, allocations: 19.94 kB / 0.8003 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004913/5.407, allocations: 247.2 kB / 0.8006 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002073/5.41, allocations: 148 kB / 0.8007 GB, free: 6.281 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002701/5.41, allocations: 127.1 kB / 0.8008 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002697/5.413, allocations: 0.9205 MB / 0.8017 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/5.413, allocations: 0 / 0.8017 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/5.414, allocations: 0.6108 MB / 0.8023 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/5.416, allocations: 144.1 kB / 0.8025 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/5.419, allocations: 1.004 MB / 0.8035 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/5.42, allocations: 0.9876 MB / 0.8044 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of SimCode: time 1.382e-06/5.42, allocations: 4 kB / 0.8044 GB, free: 2.344 MB / 0.6823 GB