Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) [: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(ModelicaTest): time 2.491/2.491, allocations: 234.9 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1728/2.664, allocations: 57.21 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/2.93, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5517/3.482, allocations: 191.8 MB / 0.533 GB, free: 13.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/3.482, allocations: 68.66 kB / 0.533 GB, free: 13.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.04745/3.53, allocations: 10.74 MB / 0.5435 GB, free: 4.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/3.53, allocations: 12 kB / 0.5435 GB, free: 4.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/3.53, allocations: 3.938 kB / 0.5435 GB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/3.53, allocations: 159.1 kB / 0.5437 GB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/3.53, allocations: 0 / 0.5437 GB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/3.53, allocations: 0 / 0.5437 GB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.751e-05/3.53, allocations: 4 kB / 0.5437 GB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.537e-05/3.53, allocations: 41.09 kB / 0.5437 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/3.53, allocations: 0 / 0.5437 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/3.53, allocations: 0 / 0.5437 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/3.53, allocations: 7.922 kB / 0.5437 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/3.53, allocations: 122.2 kB / 0.5438 GB, free: 4.473 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.206e-05/3.53, allocations: 18.61 kB / 0.5439 GB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/3.53, allocations: 4.859 kB / 0.5439 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/3.53, allocations: 4 kB / 0.5439 GB, free: 4.434 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/3.53, allocations: 60.33 kB / 0.5439 GB, free: 4.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/3.53, allocations: 0 / 0.5439 GB, free: 4.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001799/3.531, allocations: 37.44 kB / 0.544 GB, free: 4.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/3.531, allocations: 77.11 kB / 0.544 GB, free: 4.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.416e-05/3.531, allocations: 92.84 kB / 0.5441 GB, free: 4.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/3.531, allocations: 29.64 kB / 0.5442 GB, free: 4.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/3.531, allocations: 84.17 kB / 0.5442 GB, free: 4.008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/3.531, allocations: 0 / 0.5442 GB, free: 4.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/3.531, allocations: 0 / 0.5442 GB, free: 4.008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/3.531, allocations: 310.8 kB / 0.5445 GB, free: 3.695 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/3.531, allocations: 4 kB / 0.5445 GB, free: 3.691 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-06/3.531, allocations: 0 / 0.5445 GB, free: 3.691 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/3.531, allocations: 0 / 0.5445 GB, free: 3.691 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/3.531, allocations: 0 / 0.5445 GB, free: 3.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001332/3.531, allocations: 37.19 kB / 0.5446 GB, free: 3.652 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/3.531, allocations: 12.09 kB / 0.5446 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/3.531, allocations: 0 / 0.5446 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/3.531, allocations: 0 / 0.5446 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/3.531, allocations: 0 / 0.5446 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/3.531, allocations: 3.906 kB / 0.5446 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/3.531, allocations: 0 / 0.5446 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/3.531, allocations: 0 / 0.5446 GB, free: 3.637 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0001072/3.531, allocations: 130.7 kB / 0.5447 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/3.531, allocations: 3.938 kB / 0.5447 GB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/3.532, allocations: 10.98 kB / 0.5447 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/3.532, allocations: 0 / 0.5447 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/3.532, allocations: 3.938 kB / 0.5447 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/3.532, allocations: 7.906 kB / 0.5447 GB, free: 3.469 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/3.532, allocations: 122.2 kB / 0.5449 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/3.532, allocations: 0 / 0.5449 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-07/3.532, allocations: 0 / 0.5449 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/3.532, allocations: 0 / 0.5449 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/3.532, allocations: 0 / 0.5449 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/3.532, allocations: 4 kB / 0.5449 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/3.532, allocations: 3.984 kB / 0.5449 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001114/3.532, allocations: 60.55 kB / 0.5449 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002655/3.532, allocations: 444.8 kB / 0.5453 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/3.532, allocations: 81.11 kB / 0.5454 GB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/3.532, allocations: 11.97 kB / 0.5454 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.463e-05/3.532, allocations: 0 / 0.5454 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/3.532, allocations: 0 / 0.5454 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/3.532, allocations: 7.609 kB / 0.5454 GB, free: 2.668 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.474e-05/3.532, allocations: 75.28 kB / 0.5455 GB, free: 2.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00141/3.534, allocations: 83.48 kB / 0.5456 GB, free: 2.516 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007207/3.535, allocations: 216 kB / 0.5458 GB, free: 2.305 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.475e-05/3.535, allocations: 29.7 kB / 0.5458 GB, free: 2.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/3.535, allocations: 0 / 0.5458 GB, free: 2.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.2e-05/3.535, allocations: 25.7 kB / 0.5458 GB, free: 2.238 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/3.535, allocations: 11.61 kB / 0.5459 GB, free: 2.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001653/3.535, allocations: 52 kB / 0.5459 GB, free: 2.156 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/3.535, allocations: 0.6841 MB / 0.5466 GB, free: 1.445 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/3.535, allocations: 4 kB / 0.5466 GB, free: 1.441 MB / 410.7 MB