Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_PadeDelay2",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.247/2.247, allocations: 234.9 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1674/2.414, allocations: 57.21 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/2.71, allocations: 54.83 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/2.875, allocations: 81.03 MB / 435 MB, free: 12.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/2.875, allocations: 71.89 kB / 435.1 MB, free: 12.24 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.05675/2.932, allocations: 9.808 MB / 444.9 MB, free: 2.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/2.932, allocations: 12 kB / 444.9 MB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/2.932, allocations: 35.53 kB / 444.9 MB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006324/2.933, allocations: 291.1 kB / 445.2 MB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/2.933, allocations: 4 kB / 445.2 MB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/2.933, allocations: 23.89 kB / 445.2 MB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006252/2.933, allocations: 203.9 kB / 445.4 MB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/2.934, allocations: 263.1 kB / 445.7 MB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/2.934, allocations: 0 / 445.7 MB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/2.934, allocations: 0 / 445.7 MB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/2.934, allocations: 8 kB / 445.7 MB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/2.936, allocations: 0.7231 MB / 446.4 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/2.937, allocations: 251.3 kB / 446.7 MB, free: 476 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/2.937, allocations: 186.1 kB / 446.8 MB, free: 284 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/2.937, allocations: 8 kB / 446.8 MB, free: 276 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/2.937, allocations: 34.5 kB / 446.9 MB, free: 232 kB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 4.769e-06/2.937, allocations: 0 / 446.9 MB, free: 232 kB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.1515/3.089, allocations: 378.4 kB / 447.3 MB, free: 130.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/3.089, allocations: 81 kB / 447.3 MB, free: 130.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007127/3.09, allocations: 300.8 kB / 447.6 MB, free: 130.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/3.09, allocations: 27.98 kB / 447.7 MB, free: 130.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/3.09, allocations: 134.5 kB / 447.8 MB, free: 130.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/3.09, allocations: 94.09 kB / 447.9 MB, free: 130.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/3.09, allocations: 0 / 447.9 MB, free: 130.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/3.09, allocations: 350.6 kB / 448.2 MB, free: 129.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/3.091, allocations: 274.9 kB / 448.5 MB, free: 129.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/3.092, allocations: 327.6 kB / 448.8 MB, free: 129.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/3.093, allocations: 318.5 kB / 449.1 MB, free: 129.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/3.093, allocations: 3.906 kB / 449.1 MB, free: 129.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001833/3.094, allocations: 0.7931 MB / 449.9 MB, free: 129.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/3.095, allocations: 3.656 kB / 449.9 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.636e-05/3.095, allocations: 3.875 kB / 449.9 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/3.095, allocations: 3.938 kB / 449.9 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/3.096, allocations: 101.3 kB / 450 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/3.096, allocations: 0 / 450 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/3.096, allocations: 66.27 kB / 450.1 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/3.096, allocations: 13.16 kB / 450.1 MB, free: 129.7 MB / 378.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002535/3.096, allocations: 126 kB / 450.2 MB, free: 129.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/3.097, allocations: 26.17 kB / 450.3 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/3.097, allocations: 38.77 kB / 450.3 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/3.097, allocations: 2.781 kB / 450.3 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/3.097, allocations: 0 / 450.3 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/3.097, allocations: 6.281 kB / 450.3 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/3.097, allocations: 301.6 kB / 450.6 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/3.097, allocations: 3.688 kB / 450.6 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/3.098, allocations: 49.36 kB / 450.6 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/3.098, allocations: 0 / 450.6 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/3.098, allocations: 14.56 kB / 450.7 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/3.098, allocations: 3.5 kB / 450.7 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/3.098, allocations: 3.891 kB / 450.7 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001398/3.1, allocations: 0.7354 MB / 451.4 MB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002209/3.102, allocations: 1.326 MB / 452.7 MB, free: 128.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/3.102, allocations: 111 kB / 452.8 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/3.103, allocations: 10.23 kB / 452.8 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/3.103, allocations: 9.438 kB / 452.9 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/3.104, allocations: 9.938 kB / 452.9 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/3.104, allocations: 13.02 kB / 452.9 MB, free: 128.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000462/3.104, allocations: 203.3 kB / 453.1 MB, free: 128.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002451/3.107, allocations: 279.2 kB / 453.3 MB, free: 128.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * 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.001746/3.108, allocations: 291 kB / 453.6 MB, free: 128.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002236/3.111, allocations: 0.7091 MB / 454.3 MB, free: 128.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/3.111, allocations: 1.312 kB / 454.3 MB, free: 128.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008831/3.112, allocations: 187.7 kB / 454.5 MB, free: 128.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/3.113, allocations: 30.48 kB / 454.6 MB, free: 128.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/3.116, allocations: 0.7867 MB / 455.3 MB, free: 127.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009232/3.117, allocations: 0.8637 MB / 456.2 MB, free: 127.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/3.117, allocations: 0 / 456.2 MB, free: 127.2 MB / 378.7 MB