Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_RootMeanSquare",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.057/2.057, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2633/2.321, allocations: 51.03 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/2.46, allocations: 48.69 MB / 316 MB, free: 4.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3614/2.822, allocations: 73.93 MB / 389.9 MB, free: 2.754 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/2.822, allocations: 70.72 kB / 390 MB, free: 2.719 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.008067/2.83, allocations: 1.704 MB / 391.7 MB, free: 1.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/2.83, allocations: 12 kB / 391.7 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/2.83, allocations: 13.75 kB / 391.7 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/2.83, allocations: 209.7 kB / 391.9 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/2.831, allocations: 5.75 kB / 391.9 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/2.831, allocations: 4 kB / 391.9 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001628/2.831, allocations: 41.42 kB / 392 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/2.831, allocations: 78.41 kB / 392 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/2.831, allocations: 0 / 392 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/2.831, allocations: 0 / 392 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/2.831, allocations: 4 kB / 392 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/2.832, allocations: 330.2 kB / 392.4 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/2.832, allocations: 49.17 kB / 392.4 MB, free: 488 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/2.832, allocations: 20.33 kB / 392.4 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/2.832, allocations: 4.141 kB / 392.4 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/2.832, allocations: 85.17 kB / 392.5 MB, free: 380 kB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/2.832, allocations: 3.938 kB / 392.5 MB, free: 376 kB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002938/2.832, allocations: 83.52 kB / 392.6 MB, free: 296 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/2.832, allocations: 51.41 kB / 392.7 MB, free: 232 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/2.833, allocations: 133.1 kB / 392.8 MB, free: 104 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/2.833, allocations: 25.7 kB / 392.8 MB, free: 72 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/2.833, allocations: 95.81 kB / 392.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/2.833, allocations: 26.75 kB / 392.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/2.833, allocations: 0 / 392.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/2.833, allocations: 318.1 kB / 393.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/2.833, allocations: 22.69 kB / 393.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/2.833, allocations: 80.78 kB / 393.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.637e-05/2.833, allocations: 22.92 kB / 393.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/2.833, allocations: 0 / 393.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002898/2.834, allocations: 119.9 kB / 393.5 MB, free: 15.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/2.834, allocations: 8 kB / 393.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/2.834, allocations: 0 / 393.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/2.834, allocations: 4 kB / 393.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/2.834, allocations: 23.98 kB / 393.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/2.834, allocations: 7.844 kB / 393.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/2.834, allocations: 20.95 kB / 393.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/2.834, allocations: 4 kB / 393.5 MB, free: 15.33 MB / 330.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.0001206/2.834, allocations: 108.9 kB / 393.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/2.834, allocations: 11.22 kB / 393.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/2.834, allocations: 12.25 kB / 393.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/2.834, allocations: 3.984 kB / 393.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/2.834, allocations: 0 / 393.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/2.834, allocations: 0 / 393.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/2.835, allocations: 181.8 kB / 393.9 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/2.835, allocations: 0 / 393.9 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/2.835, allocations: 15.92 kB / 393.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/2.835, allocations: 0 / 393.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/2.835, allocations: 7.25 kB / 393.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/2.835, allocations: 0 / 393.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.835, allocations: 0 / 393.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003553/2.835, allocations: 147.7 kB / 394 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000562/2.836, allocations: 0.5417 MB / 394.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/2.836, allocations: 92.12 kB / 394.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/2.836, allocations: 3.812 kB / 394.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/2.836, allocations: 7.984 kB / 394.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/2.836, allocations: 128 / 394.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/2.836, allocations: 11.98 kB / 394.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001055/2.836, allocations: 103 kB / 394.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001168/2.838, allocations: 23.84 kB / 394.8 MB, free: 14.07 MB / 330.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.00018/2.838, allocations: 99.23 kB / 394.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002657/2.838, allocations: 65.3 kB / 395 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/2.838, allocations: 0 / 395 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.74e-05/2.838, allocations: 23.88 kB / 395 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/2.838, allocations: 18.95 kB / 395 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/2.839, allocations: 161.4 kB / 395.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000443/2.84, allocations: 0.723 MB / 395.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/2.84, allocations: 4 kB / 395.9 MB, free: 12.96 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat