Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",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.041/4.041, allocations: 404 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2595/4.3, allocations: 95 MB / 0.4941 GB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5164/4.817, allocations: 92.68 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2799/5.097, allocations: 140.2 MB / 0.7215 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004243/5.097, allocations: 83.94 kB / 0.7216 GB, free: 9.43 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0786/5.176, allocations: 16.2 MB / 0.7374 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/5.176, allocations: 16 kB / 0.7374 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/5.177, allocations: 95.55 kB / 0.7375 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/5.178, allocations: 254.6 kB / 0.7377 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/5.178, allocations: 4 kB / 0.7377 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/5.178, allocations: 15.94 kB / 0.7377 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007928/5.179, allocations: 228.7 kB / 0.738 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009242/5.18, allocations: 337.4 kB / 0.7383 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/5.18, allocations: 0 / 0.7383 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/5.18, allocations: 4 kB / 0.7383 GB, free: 8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.484e-05/5.18, allocations: 24.31 kB / 0.7383 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/5.183, allocations: 1.473 MB / 0.7398 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/5.184, allocations: 265.2 kB / 0.74 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/5.184, allocations: 134 kB / 0.7401 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/5.185, allocations: 97 kB / 0.7402 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/5.185, allocations: 38.5 kB / 0.7403 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 3.616e-06/5.185, allocations: 0 / 0.7403 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001632/5.186, allocations: 373.2 kB / 0.7406 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/5.186, allocations: 89.03 kB / 0.7407 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/5.187, allocations: 173.7 kB / 0.7409 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/5.187, allocations: 25.7 kB / 0.7409 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/5.187, allocations: 151.9 kB / 0.741 GB, free: 5.012 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/5.187, allocations: 70.94 kB / 0.7411 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/5.187, allocations: 0 / 0.7411 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001493/5.187, allocations: 326.8 kB / 0.7414 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/5.188, allocations: 116 kB / 0.7415 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/5.188, allocations: 190.4 kB / 0.7417 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005977/5.189, allocations: 153.3 kB / 0.7419 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/5.189, allocations: 0 / 0.7419 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001422/5.19, allocations: 395 kB / 0.7422 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005398/5.191, allocations: 1.043 MB / 0.7433 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/5.191, allocations: 0 / 0.7433 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/5.191, allocations: 52.81 kB / 0.7433 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007811/5.192, allocations: 67.89 kB / 0.7434 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/5.194, allocations: 1.421 MB / 0.7448 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/5.195, allocations: 19.97 kB / 0.7448 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/5.195, allocations: 11.91 kB / 0.7448 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/5.195, allocations: 8.062 kB / 0.7448 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/5.196, allocations: 311.1 kB / 0.7451 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/5.196, allocations: 4 kB / 0.7451 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/5.197, allocations: 41.17 kB / 0.7451 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007248/5.197, allocations: 75.83 kB / 0.7452 GB, free: 492 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/5.2, allocations: 1.406 MB / 0.7466 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/5.2, allocations: 23.88 kB / 0.7466 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/5.2, allocations: 11.98 kB / 0.7466 GB, free: 14.92 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 30 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002071/5.2, allocations: 127.6 kB / 0.7467 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/5.2, allocations: 15.81 kB / 0.7467 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/5.202, allocations: 337.9 kB / 0.7471 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/5.202, allocations: 0 / 0.7471 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/5.202, allocations: 8 kB / 0.7471 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/5.202, allocations: 3.984 kB / 0.7471 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/5.205, allocations: 0.8893 MB / 0.748 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/5.205, allocations: 7.984 kB / 0.748 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/5.205, allocations: 43.97 kB / 0.748 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000265/5.206, allocations: 36.83 kB / 0.748 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/5.206, allocations: 4 kB / 0.748 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/5.207, allocations: 1.342 MB / 0.7494 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/5.207, allocations: 0 / 0.7494 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001359/5.209, allocations: 0.5963 MB / 0.7499 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001498/5.21, allocations: 0.9799 MB / 0.7509 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/5.211, allocations: 124.8 kB / 0.751 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/5.211, allocations: 0 / 0.751 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/5.211, allocations: 23.97 kB / 0.751 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/5.211, allocations: 19.89 kB / 0.7511 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/5.211, allocations: 8 kB / 0.7511 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002327/5.212, allocations: 144.2 kB / 0.7512 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003114/5.215, allocations: 104 kB / 0.7513 GB, free: 9.746 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003098/5.215, allocations: 130.9 kB / 0.7514 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001998/5.217, allocations: 0.6376 MB / 0.752 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/5.217, allocations: 0 / 0.752 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006626/5.218, allocations: 245.8 kB / 0.7523 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/5.218, allocations: 27.83 kB / 0.7523 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/5.22, allocations: 446.8 kB / 0.7527 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007365/5.221, allocations: 0.7911 MB / 0.7535 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of SimCode: time 1.743e-06/5.221, allocations: 0 / 0.7535 GB, free: 7.375 MB / 0.6355 GB