Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_StrictLimiters",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.332/2.332, allocations: 235 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1757/2.508, allocations: 57.19 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/2.809, allocations: 54.86 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/2.992, allocations: 83.58 MB / 437.6 MB, free: 9.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/2.992, allocations: 67.91 kB / 437.7 MB, free: 9.629 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.3265/3.319, allocations: 14.23 MB / 451.9 MB, free: 84.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/3.319, allocations: 11.16 kB / 452 MB, free: 84.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000382/3.319, allocations: 77.81 kB / 452 MB, free: 84.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/3.321, allocations: 0.5422 MB / 452.6 MB, free: 84.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/3.321, allocations: 11.84 kB / 452.6 MB, free: 84.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/3.321, allocations: 30.69 kB / 452.6 MB, free: 84.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001038/3.322, allocations: 297.6 kB / 452.9 MB, free: 84.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/3.324, allocations: 422.8 kB / 453.3 MB, free: 84.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/3.324, allocations: 0 / 453.3 MB, free: 84.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/3.324, allocations: 0 / 453.3 MB, free: 84.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/3.324, allocations: 14.61 kB / 453.3 MB, free: 84.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/3.329, allocations: 1.38 MB / 454.7 MB, free: 83.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/3.331, allocations: 0.6049 MB / 455.3 MB, free: 83.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/3.332, allocations: 185.2 kB / 455.5 MB, free: 83.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/3.332, allocations: 9.844 kB / 455.5 MB, free: 83.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/3.332, allocations: 41.75 kB / 455.5 MB, free: 83.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 4.098e-06/3.332, allocations: 4 kB / 455.6 MB, free: 83.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.00204/3.334, allocations: 387.8 kB / 455.9 MB, free: 83.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/3.334, allocations: 134.1 kB / 456.1 MB, free: 83.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/3.336, allocations: 380.3 kB / 456.4 MB, free: 82.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001746/3.336, allocations: 27.42 kB / 456.5 MB, free: 82.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/3.336, allocations: 197 kB / 456.7 MB, free: 82.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003261/3.337, allocations: 145.1 kB / 456.8 MB, free: 82.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/3.337, allocations: 0 / 456.8 MB, free: 82.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/3.337, allocations: 377.5 kB / 457.2 MB, free: 82.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008361/3.338, allocations: 140 kB / 457.3 MB, free: 82.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/3.339, allocations: 189.8 kB / 457.5 MB, free: 82.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/3.34, allocations: 138.8 kB / 457.6 MB, free: 82.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/3.34, allocations: 0 / 457.6 MB, free: 82.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002351/3.342, allocations: 424.8 kB / 458 MB, free: 81.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/3.342, allocations: 186 kB / 458.2 MB, free: 81.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/3.342, allocations: 1.938 kB / 458.2 MB, free: 81.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/3.342, allocations: 2.906 kB / 458.2 MB, free: 81.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/3.345, allocations: 197.6 kB / 458.4 MB, free: 81.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/3.345, allocations: 7.625 kB / 458.4 MB, free: 81.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/3.347, allocations: 113.3 kB / 458.5 MB, free: 81.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/3.347, allocations: 16.61 kB / 458.5 MB, free: 81.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/3.347, allocations: 8.219 kB / 458.6 MB, free: 81.61 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001201/3.349, allocations: 299.4 kB / 458.8 MB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/3.349, allocations: 0.75 kB / 458.8 MB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/3.349, allocations: 3.781 kB / 458.9 MB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/3.35, allocations: 164.7 kB / 459 MB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/3.35, allocations: 11.27 kB / 459 MB, free: 81.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/3.351, allocations: 80.52 kB / 459.1 MB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/3.352, allocations: 15.38 kB / 459.1 MB, free: 81.45 MB / 378.7 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.0002358/3.352, allocations: 111.4 kB / 459.2 MB, free: 81.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/3.352, allocations: 61.59 kB / 459.3 MB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/3.352, allocations: 60.98 kB / 459.3 MB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/3.352, allocations: 4.734 kB / 459.4 MB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/3.352, allocations: 1.375 kB / 459.4 MB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/3.352, allocations: 5.234 kB / 459.4 MB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/3.355, allocations: 1.012 MB / 460.4 MB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/3.355, allocations: 1.375 kB / 460.4 MB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/3.357, allocations: 163.6 kB / 460.5 MB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/3.357, allocations: 1.344 kB / 460.5 MB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/3.357, allocations: 6.094 kB / 460.5 MB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/3.357, allocations: 2.75 kB / 460.5 MB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/3.357, allocations: 8.969 kB / 460.5 MB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002023/3.359, allocations: 0.7854 MB / 461.3 MB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002651/3.362, allocations: 1.383 MB / 462.7 MB, free: 79.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/3.362, allocations: 177.8 kB / 462.9 MB, free: 79.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/3.362, allocations: 6.656 kB / 462.9 MB, free: 79.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/3.364, allocations: 93.03 kB / 463 MB, free: 79.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/3.364, allocations: 38.45 kB / 463 MB, free: 79.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.095e-05/3.364, allocations: 19.53 kB / 463 MB, free: 79.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006028/3.364, allocations: 298.8 kB / 463.3 MB, free: 78.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003356/3.368, allocations: 183.6 kB / 463.5 MB, free: 78.85 MB / 378.7 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.0004541/3.368, allocations: 108.2 kB / 463.6 MB, free: 78.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002511/3.371, allocations: 0.5687 MB / 464.2 MB, free: 78.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.964e-06/3.371, allocations: 0 / 464.2 MB, free: 78.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006824/3.372, allocations: 197.9 kB / 464.4 MB, free: 78.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/3.373, allocations: 111.4 kB / 464.5 MB, free: 78.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/3.379, allocations: 1.038 MB / 465.5 MB, free: 78.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/3.381, allocations: 0.9653 MB / 466.5 MB, free: 77.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/3.381, allocations: 0 / 466.5 MB, free: 77.3 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat