Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Limiters",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.02/2.02, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2726/2.293, allocations: 51.03 MB / 267.3 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/2.424, allocations: 48.68 MB / 316 MB, free: 4.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/2.792, allocations: 75.15 MB / 391.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/2.792, allocations: 69.78 kB / 391.2 MB, free: 1.578 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.03014/2.823, allocations: 3.878 MB / 395.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.862e-05/2.823, allocations: 12 kB / 395.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/2.823, allocations: 15.81 kB / 395.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/2.824, allocations: 252.8 kB / 395.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/2.824, allocations: 93.09 kB / 395.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/2.825, allocations: 4 kB / 395.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003459/2.825, allocations: 61.58 kB / 395.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/2.825, allocations: 123.8 kB / 395.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/2.826, allocations: 3.938 kB / 395.6 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/2.826, allocations: 0 / 395.6 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/2.826, allocations: 4 kB / 395.6 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/2.828, allocations: 471 kB / 396.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/2.828, allocations: 68.34 kB / 396.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/2.829, allocations: 34.86 kB / 396.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/2.829, allocations: 0 / 396.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/2.829, allocations: 30.56 kB / 396.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.505e-06/2.829, allocations: 0 / 396.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000494/2.829, allocations: 98.95 kB / 396.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/2.829, allocations: 102.8 kB / 396.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/2.83, allocations: 132.4 kB / 396.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/2.83, allocations: 25.7 kB / 396.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.812e-05/2.83, allocations: 110.8 kB / 396.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/2.83, allocations: 19.05 kB / 396.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/2.83, allocations: 3.938 kB / 396.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002022/2.83, allocations: 322.5 kB / 397 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/2.83, allocations: 26.38 kB / 397 MB, free: 12.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/2.83, allocations: 44.14 kB / 397.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/2.831, allocations: 26.23 kB / 397.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/2.831, allocations: 4.031 kB / 397.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004358/2.831, allocations: 102.2 kB / 397.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/2.831, allocations: 8 kB / 397.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/2.831, allocations: 0 / 397.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/2.831, allocations: 0 / 397.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/2.832, allocations: 43.97 kB / 397.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/2.832, allocations: 4 kB / 397.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/2.832, allocations: 19.83 kB / 397.3 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/2.832, allocations: 8 kB / 397.3 MB, free: 11.99 MB / 330.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 (9): * Single equations (assignments): 9 * 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.0001992/2.832, allocations: 104.9 kB / 397.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/2.833, allocations: 19.8 kB / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.255e-05/2.833, allocations: 12.19 kB / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/2.833, allocations: 0 / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/2.833, allocations: 0 / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/2.833, allocations: 288 / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/2.833, allocations: 198 kB / 397.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/2.833, allocations: 0 / 397.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/2.834, allocations: 63.89 kB / 397.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/2.834, allocations: 7.891 kB / 397.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/2.834, allocations: 3.625 kB / 397.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/2.834, allocations: 0 / 397.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/2.834, allocations: 0 / 397.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006004/2.835, allocations: 198.8 kB / 397.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001424/2.836, allocations: 0.6097 MB / 398.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/2.836, allocations: 108.3 kB / 398.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/2.837, allocations: 4.188 kB / 398.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007877/2.837, allocations: 60.02 kB / 398.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/2.837, allocations: 3.984 kB / 398.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/2.838, allocations: 7.688 kB / 398.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001359/2.838, allocations: 105.9 kB / 398.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001214/2.839, allocations: 23.94 kB / 398.8 MB, free: 10.5 MB / 330.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 (6): * Single equations (assignments): 6 * 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.0001822/2.839, allocations: 99.16 kB / 398.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002478/2.839, allocations: 57.42 kB / 399 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/2.839, allocations: 0 / 399 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/2.839, allocations: 30.06 kB / 399 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/2.84, allocations: 23.16 kB / 399 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/2.841, allocations: 139 kB / 399.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/2.841, allocations: 0.7231 MB / 399.9 MB, free: 9.414 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/2.841, allocations: 0 / 399.9 MB, free: 9.414 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat