Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Mean,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Mean",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.479/2.479, allocations: 235 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1961/2.675, allocations: 57.19 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/2.971, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.169/3.14, allocations: 81.49 MB / 435.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/3.141, allocations: 63.97 kB / 435.6 MB, free: 11.73 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0244/3.165, allocations: 4.324 MB / 439.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/3.165, allocations: 8 kB / 440 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/3.165, allocations: 43.52 kB / 440 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000752/3.166, allocations: 306 kB / 440.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/3.166, allocations: 8 kB / 440.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-05/3.166, allocations: 16 kB / 440.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005895/3.167, allocations: 141 kB / 440.5 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/3.167, allocations: 207 kB / 440.7 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/3.167, allocations: 11.92 kB / 440.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/3.168, allocations: 0 / 440.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/3.168, allocations: 8 kB / 440.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/3.17, allocations: 0.697 MB / 441.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/3.17, allocations: 166.8 kB / 441.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/3.17, allocations: 76.84 kB / 441.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.345e-05/3.171, allocations: 7.984 kB / 441.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/3.171, allocations: 163.3 kB / 441.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.537e-06/3.171, allocations: 0 / 441.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007875/3.172, allocations: 229.2 kB / 442 MB, free: 5.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/3.172, allocations: 63.41 kB / 442.1 MB, free: 5.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/3.172, allocations: 192.1 kB / 442.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/3.172, allocations: 25.7 kB / 442.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/3.172, allocations: 144.5 kB / 442.4 MB, free: 4.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/3.173, allocations: 94.56 kB / 442.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/3.173, allocations: 0 / 442.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/3.173, allocations: 338.8 kB / 442.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/3.173, allocations: 72.67 kB / 442.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/3.173, allocations: 198.3 kB / 443.1 MB, free: 3.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/3.174, allocations: 91.91 kB / 443.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/3.174, allocations: 4 kB / 443.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008965/3.175, allocations: 301.2 kB / 443.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/3.175, allocations: 12.03 kB / 443.5 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/3.175, allocations: 4 kB / 443.5 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/3.175, allocations: 8 kB / 443.5 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006926/3.176, allocations: 79.83 kB / 443.6 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/3.176, allocations: 8 kB / 443.6 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/3.176, allocations: 35.67 kB / 443.6 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/3.176, allocations: 16 kB / 443.7 MB, free: 3.414 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.mean.y,mean.y,$PRE.rectifiedMean.mean.y,rectifiedMean.mean.y,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y,$PRE.harmonic.mean1.y,harmonic.mean1.y,$PRE.harmonic.mean2.y,harmonic.mean2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0002083/3.176, allocations: 120.9 kB / 443.8 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/3.176, allocations: 31.61 kB / 443.8 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009833/3.177, allocations: 252.1 kB / 444 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/3.177, allocations: 4 kB / 444.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/3.177, allocations: 3.984 kB / 444.1 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/3.177, allocations: 0 / 444.1 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/3.179, allocations: 0.6042 MB / 444.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/3.179, allocations: 0 / 444.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/3.179, allocations: 51.97 kB / 444.7 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/3.18, allocations: 0 / 444.7 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/3.18, allocations: 15.92 kB / 444.7 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/3.18, allocations: 4 kB / 444.7 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/3.18, allocations: 0 / 444.7 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001203/3.181, allocations: 451 kB / 445.2 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002735/3.184, allocations: 1.157 MB / 446.3 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/3.184, allocations: 104.7 kB / 446.4 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/3.184, allocations: 15.84 kB / 446.4 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/3.184, allocations: 11.98 kB / 446.5 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/3.184, allocations: 23.97 kB / 446.5 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/3.185, allocations: 11.98 kB / 446.5 MB, free: 476 kB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002557/3.185, allocations: 152.5 kB / 446.6 MB, free: 324 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001649/3.186, allocations: 59.78 kB / 446.7 MB, free: 264 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y,rectifiedMean.mean.y,rootMeanSquare.mean.y,harmonic.mean1.y,harmonic.mean2.y) * Number of discrete states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002724/3.187, allocations: 123.3 kB / 446.8 MB, free: 128 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1714/3.358, allocations: 221.8 kB / 447 MB, free: 131.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/3.358, allocations: 0 / 447 MB, free: 131.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/3.359, allocations: 109.5 kB / 447.1 MB, free: 131.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/3.359, allocations: 20.94 kB / 447.2 MB, free: 131.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/3.361, allocations: 448.5 kB / 447.6 MB, free: 131.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/3.361, allocations: 0.8357 MB / 448.4 MB, free: 131.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.773e-06/3.361, allocations: 0 / 448.4 MB, free: 131.1 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.Mean_res.mat does not exist to compare? outputFormat=mat