Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.137/4.137, allocations: 403.9 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2714/4.408, allocations: 95.02 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/4.927, allocations: 92.68 MB / 0.5846 GB, free: 3.426 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2721/5.199, allocations: 141.5 MB / 0.7228 GB, free: 8.219 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/5.199, allocations: 95.94 kB / 0.7229 GB, free: 8.125 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.1675/5.367, allocations: 36.89 MB / 0.7589 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/5.367, allocations: 15.98 kB / 0.7589 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/5.37, allocations: 238.7 kB / 0.7591 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/5.371, allocations: 0.5354 MB / 0.7596 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/5.371, allocations: 20 kB / 0.7597 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/5.372, allocations: 43.91 kB / 0.7597 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002156/5.374, allocations: 0.617 MB / 0.7603 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/5.376, allocations: 1.037 MB / 0.7613 GB, free: 0 / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/5.377, allocations: 8.047 kB / 0.7613 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/5.377, allocations: 4 kB / 0.7613 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/5.377, allocations: 61.16 kB / 0.7614 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/5.387, allocations: 4.766 MB / 0.766 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/5.39, allocations: 0.5268 MB / 0.7666 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/5.391, allocations: 318.1 kB / 0.7669 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.219e-05/5.391, allocations: 8.422 kB / 0.7669 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/5.391, allocations: 43 kB / 0.7669 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 5.39e-06/5.391, allocations: 0 / 0.7669 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.006199/5.397, allocations: 1.181 MB / 0.7681 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/5.398, allocations: 63.78 kB / 0.7681 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/5.399, allocations: 398 kB / 0.7685 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/5.399, allocations: 25.7 kB / 0.7685 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/5.4, allocations: 346.9 kB / 0.7689 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/5.4, allocations: 165.6 kB / 0.769 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/5.4, allocations: 0 / 0.769 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002907/5.4, allocations: 362.8 kB / 0.7694 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/5.401, allocations: 261.2 kB / 0.7696 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/5.403, allocations: 453.5 kB / 0.77 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/5.404, allocations: 333.2 kB / 0.7704 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/5.404, allocations: 0 / 0.7704 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004867/5.409, allocations: 0.9749 MB / 0.7713 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/5.409, allocations: 8.688 kB / 0.7713 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/5.409, allocations: 8 kB / 0.7713 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/5.412, allocations: 271.2 kB / 0.7716 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/5.413, allocations: 111.8 kB / 0.7717 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/5.428, allocations: 6.212 MB / 0.7778 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/5.43, allocations: 19.98 kB / 0.7778 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/5.43, allocations: 24 kB / 0.7778 GB, free: 14.29 MB / 0.6667 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 (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003493/5.43, allocations: 120.8 kB / 0.7779 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/5.431, allocations: 63.25 kB / 0.778 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004672/5.435, allocations: 0.8597 MB / 0.7788 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/5.435, allocations: 4 kB / 0.7788 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-05/5.436, allocations: 4 kB / 0.7788 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/5.436, allocations: 0 / 0.7788 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008145/5.444, allocations: 1.593 MB / 0.7804 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/5.444, allocations: 4.031 kB / 0.7804 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009106/5.445, allocations: 55.89 kB / 0.7804 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/5.447, allocations: 267.2 kB / 0.7807 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/5.447, allocations: 3.938 kB / 0.7807 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01495/5.462, allocations: 6.184 MB / 0.7867 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.637e-05/5.462, allocations: 7.938 kB / 0.7867 GB, free: 4.559 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004447/5.467, allocations: 1.005 MB / 0.7877 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004641/5.472, allocations: 1.421 MB / 0.7891 GB, free: 1.965 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007836/5.472, allocations: 184.3 kB / 0.7893 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/5.473, allocations: 4 kB / 0.7893 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/5.474, allocations: 11.98 kB / 0.7893 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/5.474, allocations: 35.86 kB / 0.7893 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/5.474, allocations: 16 kB / 0.7894 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008994/5.475, allocations: 295 kB / 0.7896 GB, free: 1.414 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003886/5.479, allocations: 191.9 kB / 0.7898 GB, free: 1.227 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004015/5.479, allocations: 111 kB / 0.7899 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004754/5.484, allocations: 1.153 MB / 0.7911 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/5.484, allocations: 0 / 0.7911 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/5.487, allocations: 0.8 MB / 0.7918 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/5.488, allocations: 175.6 kB / 0.792 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/5.492, allocations: 1.096 MB / 0.7931 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/5.494, allocations: 1.051 MB / 0.7941 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of SimCode: time 2.405e-06/5.494, allocations: 0 / 0.7941 GB, free: 12.68 MB / 0.6823 GB