Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.036/4.036, allocations: 403.9 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2832/4.32, allocations: 95.03 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/4.837, allocations: 92.68 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2991/5.136, allocations: 163.2 MB / 0.744 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000385/5.136, allocations: 91.94 kB / 0.7441 GB, free: 2.375 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.1314/5.268, allocations: 28.64 MB / 0.772 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/5.268, allocations: 11.98 kB / 0.772 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/5.273, allocations: 430.8 kB / 0.7725 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/5.274, allocations: 467.3 kB / 0.7729 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/5.274, allocations: 12 kB / 0.7729 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/5.275, allocations: 16 kB / 0.7729 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0016/5.276, allocations: 493 kB / 0.7734 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/5.278, allocations: 0.5554 MB / 0.7739 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/5.278, allocations: 7.844 kB / 0.774 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/5.278, allocations: 0 / 0.774 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.811e-05/5.278, allocations: 24.64 kB / 0.774 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007394/5.286, allocations: 2.245 MB / 0.7762 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/5.287, allocations: 326.3 kB / 0.7765 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/5.288, allocations: 164.8 kB / 0.7766 GB, free: 460 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/5.288, allocations: 93.03 kB / 0.7767 GB, free: 348 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/5.288, allocations: 34.56 kB / 0.7768 GB, free: 304 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 3.266e-06/5.288, allocations: 0 / 0.7768 GB, free: 304 kB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.009516/5.297, allocations: 1.477 MB / 0.7782 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/5.298, allocations: 81.11 kB / 0.7783 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/5.298, allocations: 335.5 kB / 0.7786 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.782e-05/5.298, allocations: 25.7 kB / 0.7786 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/5.299, allocations: 199.7 kB / 0.7788 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/5.299, allocations: 86.75 kB / 0.7789 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/5.299, allocations: 0 / 0.7789 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001759/5.299, allocations: 342.8 kB / 0.7792 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009037/5.3, allocations: 247.9 kB / 0.7795 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008155/5.301, allocations: 329.5 kB / 0.7798 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/5.302, allocations: 308.5 kB / 0.7801 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/5.302, allocations: 4 kB / 0.7801 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.006309/5.308, allocations: 1.012 MB / 0.7811 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004092/5.309, allocations: 0.79 MB / 0.7818 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/5.309, allocations: 0 / 0.7818 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005332/5.314, allocations: 417.2 kB / 0.7822 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/5.316, allocations: 111.8 kB / 0.7823 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007432/5.323, allocations: 2.944 MB / 0.7852 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/5.325, allocations: 91.94 kB / 0.7853 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/5.325, allocations: 15.98 kB / 0.7853 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/5.325, allocations: 4 kB / 0.7853 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001704/5.327, allocations: 479.2 kB / 0.7858 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/5.327, allocations: 3.984 kB / 0.7858 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/5.327, allocations: 4.188 kB / 0.7858 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/5.328, allocations: 136 kB / 0.7859 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/5.328, allocations: 7.938 kB / 0.7859 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/5.33, allocations: 71.91 kB / 0.786 GB, free: 6.535 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/5.33, allocations: 16 kB / 0.786 GB, free: 6.52 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002699/5.33, allocations: 116.9 kB / 0.7861 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/5.33, allocations: 35.53 kB / 0.7861 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006872/5.337, allocations: 1.071 MB / 0.7872 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/5.337, allocations: 0 / 0.7872 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/5.337, allocations: 4 kB / 0.7872 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/5.337, allocations: 3.984 kB / 0.7872 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008216/5.345, allocations: 1.676 MB / 0.7888 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/5.345, allocations: 0 / 0.7888 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009308/5.346, allocations: 83.95 kB / 0.7889 GB, free: 3.461 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005327/5.352, allocations: 0.5479 MB / 0.7895 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/5.352, allocations: 0 / 0.7895 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/5.362, allocations: 4.058 MB / 0.7934 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/5.362, allocations: 64 / 0.7934 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006157/5.368, allocations: 1.112 MB / 0.7945 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006508/5.375, allocations: 1.492 MB / 0.796 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005277/5.375, allocations: 164.7 kB / 0.7961 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/5.376, allocations: 3.906 kB / 0.7961 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/5.377, allocations: 87.83 kB / 0.7962 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/5.377, allocations: 19.97 kB / 0.7962 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/5.377, allocations: 4 kB / 0.7962 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005695/5.378, allocations: 279 kB / 0.7965 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003306/5.381, allocations: 200 kB / 0.7967 GB, free: 11.15 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004517/5.382, allocations: 163 kB / 0.7968 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003317/5.385, allocations: 0.9792 MB / 0.7978 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/5.385, allocations: 8.25 kB / 0.7978 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/5.387, allocations: 0.5226 MB / 0.7983 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/5.388, allocations: 102.2 kB / 0.7984 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/5.392, allocations: 0.8625 MB / 0.7993 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/5.393, allocations: 0.9508 MB / 0.8002 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/5.393, allocations: 0 / 0.8002 GB, free: 7.469 MB / 0.6823 GB