Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_RootMeanSquare",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.457/2.457, allocations: 235 MB / 242 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1707/2.628, allocations: 57.18 MB / 299.2 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/2.95, allocations: 54.87 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1791/3.13, allocations: 80.08 MB / 434.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/3.13, allocations: 63.97 kB / 434.2 MB, free: 13.14 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.01368/3.144, allocations: 1.696 MB / 435.9 MB, free: 11.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/3.144, allocations: 8 kB / 435.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/3.144, allocations: 11.91 kB / 435.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/3.144, allocations: 210.8 kB / 436.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/3.145, allocations: 0 / 436.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/3.145, allocations: 19.89 kB / 436.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002543/3.145, allocations: 32 kB / 436.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/3.145, allocations: 73.66 kB / 436.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/3.145, allocations: 0 / 436.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/3.145, allocations: 0 / 436.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/3.145, allocations: 0 / 436.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/3.146, allocations: 333.1 kB / 436.6 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/3.147, allocations: 50.59 kB / 436.6 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/3.147, allocations: 17.08 kB / 436.6 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/3.147, allocations: 3.984 kB / 436.7 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/3.147, allocations: 87.38 kB / 436.7 MB, free: 10.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 4.198e-06/3.147, allocations: 3.938 kB / 436.7 MB, free: 10.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004685/3.148, allocations: 85.42 kB / 436.8 MB, free: 10.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/3.148, allocations: 55.41 kB / 436.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/3.148, allocations: 123.2 kB / 437 MB, free: 10.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/3.148, allocations: 25.7 kB / 437 MB, free: 10.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/3.148, allocations: 104.2 kB / 437.1 MB, free: 10.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/3.148, allocations: 27.73 kB / 437.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/3.148, allocations: 3.938 kB / 437.2 MB, free: 10 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002115/3.149, allocations: 326.7 kB / 437.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/3.149, allocations: 16 kB / 437.5 MB, free: 9.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/3.149, allocations: 71.73 kB / 437.6 MB, free: 9.562 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/3.149, allocations: 27.92 kB / 437.6 MB, free: 9.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/3.149, allocations: 4 kB / 437.6 MB, free: 9.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005194/3.15, allocations: 113.5 kB / 437.7 MB, free: 9.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/3.15, allocations: 4 kB / 437.7 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/3.15, allocations: 0 / 437.7 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.721e-05/3.15, allocations: 4 kB / 437.7 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/3.15, allocations: 31.92 kB / 437.7 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/3.15, allocations: 4 kB / 437.7 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/3.151, allocations: 7.906 kB / 437.8 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/3.151, allocations: 8.188 kB / 437.8 MB, free: 9.355 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001834/3.151, allocations: 116.8 kB / 437.9 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/3.151, allocations: 11.91 kB / 437.9 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.809e-05/3.151, allocations: 16.48 kB / 437.9 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/3.151, allocations: 0 / 437.9 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/3.151, allocations: 0 / 437.9 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/3.151, allocations: 0 / 437.9 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/3.152, allocations: 178.1 kB / 438.1 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/3.152, allocations: 3.984 kB / 438.1 MB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/3.152, allocations: 12 kB / 438.1 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/3.152, allocations: 0 / 438.1 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/3.152, allocations: 7.984 kB / 438.1 MB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/3.152, allocations: 0 / 438.1 MB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/3.152, allocations: 0 / 438.1 MB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000644/3.153, allocations: 144.8 kB / 438.2 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000914/3.154, allocations: 0.5406 MB / 438.8 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/3.154, allocations: 88.91 kB / 438.9 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/3.154, allocations: 4 kB / 438.9 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/3.154, allocations: 0 / 438.9 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/3.154, allocations: 7.984 kB / 438.9 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/3.154, allocations: 8 kB / 438.9 MB, free: 8.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001516/3.154, allocations: 106.3 kB / 439 MB, free: 8.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002199/3.157, allocations: 23.84 kB / 439 MB, free: 7.996 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002548/3.157, allocations: 107.4 kB / 439.1 MB, free: 7.879 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003281/3.157, allocations: 59.94 kB / 439.2 MB, free: 7.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/3.157, allocations: 0 / 439.2 MB, free: 7.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/3.158, allocations: 27.92 kB / 439.2 MB, free: 7.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/3.158, allocations: 12.39 kB / 439.2 MB, free: 7.781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008749/3.159, allocations: 163.8 kB / 439.4 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/3.159, allocations: 0.7192 MB / 440.1 MB, free: 6.852 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/3.159, allocations: 0 / 440.1 MB, free: 6.852 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat