Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_StrictLimiters",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.398/2.398, allocations: 234.9 MB / 241.9 MB, free: 13.12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1654/2.563, allocations: 57.2 MB / 299.1 MB, free: 3.824 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/2.882, allocations: 54.85 MB / 354 MB, free: 1.254 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2123/3.094, allocations: 83.59 MB / 437.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/3.095, allocations: 71.91 kB / 437.6 MB, free: 13.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.2386/3.333, allocations: 14.22 MB / 451.8 MB, free: 130.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/3.333, allocations: 7.375 kB / 451.9 MB, free: 130.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/3.334, allocations: 81.06 kB / 451.9 MB, free: 130 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/3.335, allocations: 0.5418 MB / 452.5 MB, free: 129.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/3.335, allocations: 12 kB / 452.5 MB, free: 129.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/3.336, allocations: 35.25 kB / 452.5 MB, free: 129.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009155/3.336, allocations: 297 kB / 452.8 MB, free: 129.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009994/3.337, allocations: 414.3 kB / 453.2 MB, free: 129.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/3.337, allocations: 6.5 kB / 453.2 MB, free: 129.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/3.338, allocations: 3.75 kB / 453.2 MB, free: 129.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/3.338, allocations: 7.5 kB / 453.2 MB, free: 129.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003968/3.342, allocations: 1.385 MB / 454.6 MB, free: 129.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/3.344, allocations: 0.5989 MB / 455.2 MB, free: 129.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005422/3.345, allocations: 189.2 kB / 455.4 MB, free: 129.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.552e-05/3.345, allocations: 10.25 kB / 455.4 MB, free: 129.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/3.345, allocations: 40.59 kB / 455.5 MB, free: 129.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 4.238e-06/3.345, allocations: 0 / 455.5 MB, free: 129.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001214/3.346, allocations: 395.5 kB / 455.8 MB, free: 129.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/3.346, allocations: 132.3 kB / 456 MB, free: 129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/3.347, allocations: 383.3 kB / 456.3 MB, free: 128.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.547e-05/3.347, allocations: 25.7 kB / 456.4 MB, free: 128.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/3.347, allocations: 202 kB / 456.6 MB, free: 128.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/3.347, allocations: 149.5 kB / 456.7 MB, free: 128.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/3.347, allocations: 0 / 456.7 MB, free: 128.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/3.347, allocations: 373.2 kB / 457.1 MB, free: 128.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/3.348, allocations: 140 kB / 457.2 MB, free: 128.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/3.348, allocations: 184.1 kB / 457.4 MB, free: 128.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/3.348, allocations: 137.8 kB / 457.5 MB, free: 128.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/3.349, allocations: 0 / 457.5 MB, free: 128.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001218/3.35, allocations: 434.5 kB / 458 MB, free: 128.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.323e-05/3.35, allocations: 179.1 kB / 458.1 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/3.35, allocations: 4 kB / 458.1 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/3.35, allocations: 0 / 458.1 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/3.352, allocations: 204.2 kB / 458.3 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/3.352, allocations: 3.656 kB / 458.3 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/3.353, allocations: 116 kB / 458.4 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/3.353, allocations: 13.88 kB / 458.5 MB, free: 128 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/3.353, allocations: 3.625 kB / 458.5 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008833/3.354, allocations: 304.1 kB / 458.8 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/3.354, allocations: 0 / 458.8 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/3.354, allocations: 3.312 kB / 458.8 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/3.356, allocations: 171.7 kB / 458.9 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/3.356, allocations: 3.828 kB / 458.9 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008481/3.356, allocations: 81.12 kB / 459 MB, free: 128 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/3.356, allocations: 13.42 kB / 459 MB, free: 128 MB / 382.1 MB 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 (52): * Single equations (assignments): 52 * 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.0002044/3.357, allocations: 114.3 kB / 459.1 MB, free: 127.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/3.357, allocations: 64.03 kB / 459.2 MB, free: 127.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/3.357, allocations: 69.11 kB / 459.3 MB, free: 127.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/3.357, allocations: 3.938 kB / 459.3 MB, free: 127.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/3.357, allocations: 0 / 459.3 MB, free: 127.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/3.357, allocations: 3.328 kB / 459.3 MB, free: 127.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/3.36, allocations: 0.9995 MB / 460.3 MB, free: 127.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/3.36, allocations: 2.812 kB / 460.3 MB, free: 127.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/3.361, allocations: 164.3 kB / 460.4 MB, free: 127.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/3.361, allocations: 3.812 kB / 460.4 MB, free: 127.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.971e-05/3.361, allocations: 7.641 kB / 460.4 MB, free: 127.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/3.361, allocations: 0 / 460.4 MB, free: 127.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/3.361, allocations: 0 / 460.4 MB, free: 127.6 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001784/3.363, allocations: 0.7895 MB / 461.2 MB, free: 127.3 MB / 382.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002469/3.366, allocations: 1.373 MB / 462.6 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/3.366, allocations: 184.8 kB / 462.8 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/3.366, allocations: 1.188 kB / 462.8 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/3.368, allocations: 98.11 kB / 462.9 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/3.368, allocations: 41.62 kB / 462.9 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/3.368, allocations: 13.28 kB / 462.9 MB, free: 126.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.0005296/3.368, allocations: 299.2 kB / 463.2 MB, free: 126.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002826/3.371, allocations: 171.7 kB / 463.4 MB, free: 126.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.0002487/3.371, allocations: 120.9 kB / 463.5 MB, free: 126.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/3.373, allocations: 0.5651 MB / 464.1 MB, free: 126.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/3.373, allocations: 0.6562 kB / 464.1 MB, free: 126.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005734/3.374, allocations: 198.1 kB / 464.3 MB, free: 126.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/3.376, allocations: 114.8 kB / 464.4 MB, free: 126.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/3.384, allocations: 1.03 MB / 465.4 MB, free: 125.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/3.385, allocations: 0.971 MB / 466.4 MB, free: 125.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/3.385, allocations: 0 / 466.4 MB, free: 125.1 MB / 382.1 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat