Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_2_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.285/2.285, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1734/2.458, allocations: 57.2 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/2.738, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/2.912, allocations: 81.02 MB / 435 MB, free: 12.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/2.913, allocations: 67.91 kB / 435 MB, free: 12.26 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.02437/2.937, allocations: 4.119 MB / 439.2 MB, free: 8.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/2.937, allocations: 12 kB / 439.2 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.161e-05/2.937, allocations: 7.906 kB / 439.2 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/2.938, allocations: 224 kB / 439.4 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/2.938, allocations: 3.938 kB / 439.4 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/2.938, allocations: 4 kB / 439.4 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002272/2.938, allocations: 55.98 kB / 439.5 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/2.938, allocations: 121.2 kB / 439.6 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/2.938, allocations: 0 / 439.6 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/2.938, allocations: 0 / 439.6 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/2.938, allocations: 4 kB / 439.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/2.94, allocations: 428.9 kB / 440 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/2.941, allocations: 170.5 kB / 440.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/2.941, allocations: 32.92 kB / 440.2 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/2.941, allocations: 0 / 440.2 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/2.941, allocations: 34.56 kB / 440.2 MB, free: 6.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/2.941, allocations: 0 / 440.2 MB, free: 6.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003727/2.942, allocations: 81.59 kB / 440.3 MB, free: 6.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/2.942, allocations: 110.8 kB / 440.4 MB, free: 6.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/2.942, allocations: 131.4 kB / 440.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/2.942, allocations: 25.7 kB / 440.6 MB, free: 6.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/2.942, allocations: 96.12 kB / 440.7 MB, free: 6.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/2.942, allocations: 31.55 kB / 440.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/2.942, allocations: 0 / 440.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/2.942, allocations: 318.8 kB / 441 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.989e-05/2.942, allocations: 23.94 kB / 441 MB, free: 6.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/2.942, allocations: 54.56 kB / 441.1 MB, free: 5.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/2.943, allocations: 19.94 kB / 441.1 MB, free: 5.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/2.943, allocations: 0 / 441.1 MB, free: 5.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002771/2.943, allocations: 93.95 kB / 441.2 MB, free: 5.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/2.943, allocations: 101 kB / 441.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/2.943, allocations: 0 / 441.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/2.943, allocations: 3.906 kB / 441.3 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/2.943, allocations: 44 kB / 441.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/2.943, allocations: 3.938 kB / 441.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/2.944, allocations: 43.97 kB / 441.4 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/2.944, allocations: 0 / 441.4 MB, free: 5.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/2.944, allocations: 4 kB / 441.4 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002072/2.944, allocations: 39.98 kB / 441.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/2.944, allocations: 0 / 441.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-06/2.944, allocations: 0 / 441.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/2.944, allocations: 23.98 kB / 441.5 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/2.944, allocations: 0 / 441.5 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/2.945, allocations: 19.89 kB / 441.5 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/2.945, allocations: 4 kB / 441.5 MB, free: 5.582 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.0001903/2.945, allocations: 104.9 kB / 441.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/2.945, allocations: 15.84 kB / 441.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/2.945, allocations: 16.41 kB / 441.6 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/2.945, allocations: 7.984 kB / 441.6 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/2.945, allocations: 0 / 441.6 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/2.945, allocations: 0 / 441.6 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/2.946, allocations: 190.1 kB / 441.8 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/2.946, allocations: 0 / 441.8 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/2.946, allocations: 47.95 kB / 441.9 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/2.946, allocations: 3.906 kB / 441.9 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/2.946, allocations: 4 kB / 441.9 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/2.946, allocations: 3.984 kB / 441.9 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/2.946, allocations: 4 kB / 441.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004528/2.947, allocations: 211.5 kB / 442.1 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006925/2.948, allocations: 0.6209 MB / 442.7 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/2.948, allocations: 88.95 kB / 442.8 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/2.948, allocations: 0 / 442.8 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009396/2.949, allocations: 64.02 kB / 442.9 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-05/2.949, allocations: 11.89 kB / 442.9 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/2.949, allocations: 3.984 kB / 442.9 MB, free: 4.098 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001203/2.949, allocations: 99.28 kB / 443 MB, free: 4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002131/2.951, allocations: 35.91 kB / 443 MB, free: 3.965 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.0003/2.952, allocations: 111.2 kB / 443.1 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004401/2.952, allocations: 80.91 kB / 443.2 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/2.952, allocations: 0 / 443.2 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/2.952, allocations: 39.92 kB / 443.2 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/2.953, allocations: 4 kB / 443.2 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/2.953, allocations: 140.4 kB / 443.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/2.954, allocations: 0.7276 MB / 444.1 MB, free: 2.809 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/2.954, allocations: 0 / 444.1 MB, free: 2.809 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat