Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Mean,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Mean",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.256/2.256, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1631/2.419, allocations: 57.2 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/2.703, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/2.876, allocations: 81.49 MB / 435.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/2.877, allocations: 67.95 kB / 435.5 MB, free: 11.78 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.02714/2.904, allocations: 4.316 MB / 439.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/2.904, allocations: 12 kB / 439.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/2.904, allocations: 39.53 kB / 439.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/2.905, allocations: 306 kB / 440.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/2.905, allocations: 11.98 kB / 440.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/2.905, allocations: 20 kB / 440.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000506/2.905, allocations: 141 kB / 440.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005794/2.906, allocations: 207 kB / 440.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/2.906, allocations: 0 / 440.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/2.906, allocations: 3.938 kB / 440.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/2.906, allocations: 15.94 kB / 440.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/2.908, allocations: 0.6931 MB / 441.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/2.908, allocations: 174.8 kB / 441.4 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/2.909, allocations: 72.86 kB / 441.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/2.909, allocations: 7.984 kB / 441.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004427/2.909, allocations: 167.3 kB / 441.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.326e-06/2.909, allocations: 0 / 441.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007927/2.91, allocations: 225.2 kB / 441.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/2.91, allocations: 67.33 kB / 442 MB, free: 5.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/2.91, allocations: 192.1 kB / 442.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/2.91, allocations: 29.7 kB / 442.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/2.911, allocations: 132.6 kB / 442.3 MB, free: 4.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/2.911, allocations: 102.5 kB / 442.4 MB, free: 4.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/2.911, allocations: 0 / 442.4 MB, free: 4.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/2.911, allocations: 338.8 kB / 442.7 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/2.911, allocations: 60.75 kB / 442.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/2.912, allocations: 198.3 kB / 443 MB, free: 4.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/2.912, allocations: 99.89 kB / 443.1 MB, free: 3.922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/2.912, allocations: 0 / 443.1 MB, free: 3.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000769/2.913, allocations: 296.8 kB / 443.4 MB, free: 3.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/2.913, allocations: 8 kB / 443.4 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/2.913, allocations: 4.469 kB / 443.4 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/2.913, allocations: 12 kB / 443.4 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/2.913, allocations: 75.97 kB / 443.5 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/2.913, allocations: 11.98 kB / 443.5 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/2.914, allocations: 27.69 kB / 443.5 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/2.914, allocations: 27.98 kB / 443.6 MB, free: 3.461 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.0001463/2.914, allocations: 120.8 kB / 443.7 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/2.914, allocations: 31.72 kB / 443.7 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007651/2.915, allocations: 256.1 kB / 444 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/2.915, allocations: 4 kB / 444 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/2.915, allocations: 0 / 444 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/2.915, allocations: 4 kB / 444 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/2.916, allocations: 0.6003 MB / 444.6 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/2.916, allocations: 3.984 kB / 444.6 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/2.916, allocations: 55.91 kB / 444.6 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/2.917, allocations: 0 / 444.6 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/2.917, allocations: 8 kB / 444.6 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/2.917, allocations: 0 / 444.6 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/2.917, allocations: 3.984 kB / 444.6 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001039/2.918, allocations: 455 kB / 445.1 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002097/2.92, allocations: 1.161 MB / 446.2 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/2.92, allocations: 100.8 kB / 446.3 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.286e-05/2.92, allocations: 7.906 kB / 446.3 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/2.92, allocations: 11.98 kB / 446.4 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/2.921, allocations: 19.97 kB / 446.4 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/2.921, allocations: 19.98 kB / 446.4 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002198/2.921, allocations: 152.5 kB / 446.5 MB, free: 372 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001486/2.922, allocations: 55.84 kB / 446.6 MB, free: 316 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.0002633/2.923, allocations: 127.1 kB / 446.7 MB, free: 176 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1553/3.078, allocations: 216.4 kB / 446.9 MB, free: 131.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/3.078, allocations: 0 / 446.9 MB, free: 131.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/3.078, allocations: 109.2 kB / 447 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.0006025/3.079, allocations: 20.42 kB / 447.1 MB, free: 131.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/3.081, allocations: 459.6 kB / 447.5 MB, free: 131.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000867/3.082, allocations: 0.8289 MB / 448.3 MB, free: 131.1 MB / 378.7 MB Notification: Performance of SimCode: time 2.094e-06/3.082, allocations: 0 / 448.3 MB, free: 131.1 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean_res.mat does not exist to compare? outputFormat=mat