Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.061/4.061, allocations: 403.9 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2375/4.299, allocations: 95.03 MB / 0.4941 GB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5045/4.803, allocations: 92.67 MB / 0.5846 GB, free: 3.422 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2807/5.084, allocations: 149.7 MB / 0.7308 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004815/5.085, allocations: 95.92 kB / 0.7309 GB, free: 15.86 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.09781/5.182, allocations: 19.28 MB / 0.7497 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/5.182, allocations: 11.94 kB / 0.7497 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/5.184, allocations: 119.4 kB / 0.7498 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000959/5.185, allocations: 275.4 kB / 0.7501 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/5.185, allocations: 11.91 kB / 0.7501 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/5.185, allocations: 16 kB / 0.7501 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009234/5.186, allocations: 265 kB / 0.7504 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/5.187, allocations: 404.5 kB / 0.7507 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/5.188, allocations: 0 / 0.7507 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.639e-05/5.188, allocations: 0 / 0.7507 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.513e-05/5.188, allocations: 32.48 kB / 0.7508 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004428/5.192, allocations: 1.796 MB / 0.7525 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/5.193, allocations: 234.9 kB / 0.7528 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/5.193, allocations: 165.2 kB / 0.7529 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/5.193, allocations: 12.12 kB / 0.7529 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/5.193, allocations: 30.75 kB / 0.753 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 3.597e-06/5.193, allocations: 0 / 0.753 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.002356/5.196, allocations: 0.7932 MB / 0.7537 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/5.196, allocations: 59.41 kB / 0.7538 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/5.196, allocations: 198 kB / 0.754 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/5.196, allocations: 25.7 kB / 0.754 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/5.197, allocations: 179.9 kB / 0.7542 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/5.197, allocations: 82.75 kB / 0.7543 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/5.197, allocations: 4 kB / 0.7543 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001621/5.197, allocations: 334.8 kB / 0.7546 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/5.197, allocations: 144 kB / 0.7547 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/5.198, allocations: 229.3 kB / 0.7549 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/5.199, allocations: 194.6 kB / 0.7551 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/5.199, allocations: 0 / 0.7551 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002268/5.201, allocations: 0.5484 MB / 0.7557 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/5.201, allocations: 11.28 kB / 0.7557 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/5.201, allocations: 4 kB / 0.7557 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/5.202, allocations: 188.5 kB / 0.7558 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/5.203, allocations: 59.91 kB / 0.7559 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005028/5.208, allocations: 2.138 MB / 0.758 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006663/5.209, allocations: 7.984 kB / 0.758 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/5.209, allocations: 19.94 kB / 0.758 GB, free: 3.328 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001727/5.209, allocations: 104.9 kB / 0.7581 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/5.209, allocations: 23.72 kB / 0.7581 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/5.21, allocations: 343.7 kB / 0.7585 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/5.21, allocations: 7.969 kB / 0.7585 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/5.21, allocations: 0 / 0.7585 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/5.21, allocations: 0 / 0.7585 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/5.213, allocations: 0.759 MB / 0.7592 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/5.213, allocations: 0 / 0.7592 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009773/5.214, allocations: 67.89 kB / 0.7593 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/5.214, allocations: 4 kB / 0.7593 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/5.214, allocations: 3.984 kB / 0.7593 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/5.214, allocations: 12.17 kB / 0.7593 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/5.214, allocations: 3.938 kB / 0.7593 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001579/5.215, allocations: 0.6319 MB / 0.7599 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002269/5.218, allocations: 1.2 MB / 0.7611 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/5.218, allocations: 124.8 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-05/5.218, allocations: 8 kB / 0.7612 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/5.219, allocations: 11.98 kB / 0.7612 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/5.219, allocations: 11.92 kB / 0.7612 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/5.219, allocations: 8 kB / 0.7612 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003371/5.219, allocations: 156.1 kB / 0.7614 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001827/5.221, allocations: 87.94 kB / 0.7615 GB, free: 15.63 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003648/5.221, allocations: 123 kB / 0.7616 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001743/5.223, allocations: 493.8 kB / 0.7621 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/5.223, allocations: 0 / 0.7621 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004395/5.224, allocations: 143.9 kB / 0.7622 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/5.224, allocations: 41.28 kB / 0.7622 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/5.227, allocations: 0.6996 MB / 0.7629 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008208/5.228, allocations: 0.8391 MB / 0.7638 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/5.228, allocations: 0 / 0.7638 GB, free: 13.23 MB / 0.6511 GB