Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Limiters",fmuType="cs",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(ModelicaTest): time 2.245/2.245, allocations: 235.1 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1711/2.416, allocations: 57.19 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/2.698, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1783/2.876, allocations: 81.02 MB / 435.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/2.877, allocations: 67.91 kB / 435.2 MB, free: 12.2 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0368/2.914, allocations: 4.123 MB / 439.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/2.914, allocations: 8 kB / 439.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/2.914, allocations: 11.91 kB / 439.3 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/2.914, allocations: 214.7 kB / 439.5 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/2.914, allocations: 4 kB / 439.5 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/2.915, allocations: 4 kB / 439.5 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003503/2.915, allocations: 55.98 kB / 439.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/2.915, allocations: 116.2 kB / 439.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/2.915, allocations: 3.938 kB / 439.7 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/2.916, allocations: 3.984 kB / 439.7 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/2.916, allocations: 3.984 kB / 439.7 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/2.918, allocations: 420.9 kB / 440.1 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/2.919, allocations: 174.5 kB / 440.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/2.919, allocations: 28.86 kB / 440.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/2.919, allocations: 4 kB / 440.3 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/2.919, allocations: 30.56 kB / 440.3 MB, free: 6.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.737e-06/2.919, allocations: 0 / 440.3 MB, free: 6.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005285/2.92, allocations: 97.77 kB / 440.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/2.92, allocations: 102.8 kB / 440.5 MB, free: 6.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/2.92, allocations: 124.1 kB / 440.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/2.92, allocations: 29.64 kB / 440.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/2.92, allocations: 100.1 kB / 440.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/2.921, allocations: 27.56 kB / 440.8 MB, free: 6.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/2.921, allocations: 0 / 440.8 MB, free: 6.336 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/2.921, allocations: 322.8 kB / 441.1 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/2.921, allocations: 28 kB / 441.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/2.921, allocations: 46.56 kB / 441.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/2.921, allocations: 23.94 kB / 441.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/2.921, allocations: 0 / 441.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004417/2.922, allocations: 89.58 kB / 441.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/2.922, allocations: 89.31 kB / 441.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/2.922, allocations: 4.031 kB / 441.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/2.922, allocations: 11.91 kB / 441.4 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/2.923, allocations: 47.91 kB / 441.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/2.923, allocations: 3.984 kB / 441.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/2.923, allocations: 35.97 kB / 441.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/2.923, allocations: 8 kB / 441.5 MB, free: 5.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/2.923, allocations: 4 kB / 441.5 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002217/2.923, allocations: 31.98 kB / 441.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/2.924, allocations: 4 kB / 441.5 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-06/2.924, allocations: 3.938 kB / 441.5 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/2.924, allocations: 23.98 kB / 441.6 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/2.924, allocations: 0 / 441.6 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/2.924, allocations: 19.89 kB / 441.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/2.924, allocations: 4 kB / 441.6 MB, free: 5.52 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 prepare postOptimizeDAE: time 0.0001582/2.924, allocations: 108.9 kB / 441.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.723e-05/2.925, allocations: 11.91 kB / 441.7 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.788e-05/2.925, allocations: 20.39 kB / 441.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/2.925, allocations: 0 / 441.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.925, allocations: 0 / 441.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/2.925, allocations: 4 kB / 441.7 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/2.925, allocations: 186.1 kB / 441.9 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/2.925, allocations: 0 / 441.9 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/2.926, allocations: 47.97 kB / 442 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/2.926, allocations: 7.891 kB / 442 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/2.926, allocations: 0 / 442 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/2.926, allocations: 0 / 442 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/2.926, allocations: 0 / 442 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006711/2.927, allocations: 215.4 kB / 442.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009717/2.928, allocations: 0.617 MB / 442.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/2.928, allocations: 92.94 kB / 442.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.824e-05/2.928, allocations: 0 / 442.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000995/2.929, allocations: 60.02 kB / 442.9 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/2.929, allocations: 11.91 kB / 443 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/2.929, allocations: 7.984 kB / 443 MB, free: 4.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001339/2.929, allocations: 95.28 kB / 443.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003794/2.933, allocations: 43.89 kB / 443.1 MB, free: 3.906 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002401/2.933, allocations: 103.2 kB / 443.2 MB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005127/2.934, allocations: 88.42 kB / 443.3 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/2.934, allocations: 0 / 443.3 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/2.934, allocations: 31.94 kB / 443.3 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/2.935, allocations: 12 kB / 443.3 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008085/2.935, allocations: 145 kB / 443.5 MB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/2.936, allocations: 0.7237 MB / 444.2 MB, free: 2.746 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/2.936, allocations: 0 / 444.2 MB, free: 2.746 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat