Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Mean,fileNamePrefix="ModelicaTest_3_2_1_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.184/2.184, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2698/2.454, allocations: 51.03 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/2.565, allocations: 48.68 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3423/2.907, allocations: 73.36 MB / 389.3 MB, free: 3.289 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/2.908, allocations: 67.84 kB / 389.4 MB, free: 3.254 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.004632/2.912, allocations: 0.9631 MB / 390.4 MB, free: 2.363 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/2.912, allocations: 12 kB / 390.4 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/2.912, allocations: 3.906 kB / 390.4 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/2.913, allocations: 186 kB / 390.6 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/2.913, allocations: 0 / 390.6 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/2.913, allocations: 8 kB / 390.6 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.217e-05/2.913, allocations: 11.81 kB / 390.6 MB, free: 2.113 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/2.913, allocations: 53.3 kB / 390.6 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/2.913, allocations: 0 / 390.6 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/2.913, allocations: 0 / 390.6 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/2.913, allocations: 0 / 390.6 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/2.914, allocations: 250.6 kB / 390.9 MB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/2.914, allocations: 21.95 kB / 390.9 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/2.914, allocations: 12.36 kB / 390.9 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/2.914, allocations: 0 / 390.9 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/2.914, allocations: 62.98 kB / 391 MB, free: 1.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/2.914, allocations: 4 kB / 391 MB, free: 1.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002021/2.914, allocations: 52.16 kB / 391 MB, free: 1.625 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/2.914, allocations: 55.41 kB / 391.1 MB, free: 1.559 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/2.914, allocations: 102.9 kB / 391.2 MB, free: 1.453 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/2.914, allocations: 25.7 kB / 391.2 MB, free: 1.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/2.914, allocations: 90.94 kB / 391.3 MB, free: 1.332 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/2.914, allocations: 7.812 kB / 391.3 MB, free: 1.324 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/2.914, allocations: 0 / 391.3 MB, free: 1.324 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/2.915, allocations: 314.5 kB / 391.6 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.835e-05/2.915, allocations: 19.36 kB / 391.6 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/2.915, allocations: 35.98 kB / 391.7 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.557e-05/2.915, allocations: 11.69 kB / 391.7 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/2.915, allocations: 0 / 391.7 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001698/2.915, allocations: 72.22 kB / 391.7 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/2.915, allocations: 8 kB / 391.7 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/2.915, allocations: 0 / 391.7 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/2.915, allocations: 3.984 kB / 391.7 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/2.915, allocations: 15.94 kB / 391.8 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/2.915, allocations: 160 / 391.8 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.645e-05/2.915, allocations: 12.94 kB / 391.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/2.915, allocations: 11.97 kB / 391.8 MB, free: 0.8203 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.mean.y,mean.y,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.998e-05/2.915, allocations: 108.9 kB / 391.9 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/2.916, allocations: 3.906 kB / 391.9 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/2.916, allocations: 11.5 kB / 391.9 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/2.916, allocations: 0 / 391.9 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/2.916, allocations: 0.875 kB / 391.9 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/2.916, allocations: 0 / 391.9 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/2.916, allocations: 146.2 kB / 392.1 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/2.916, allocations: 4 kB / 392.1 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/2.916, allocations: 7.984 kB / 392.1 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/2.916, allocations: 3.906 kB / 392.1 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/2.916, allocations: 4 kB / 392.1 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/2.916, allocations: 1.875 kB / 392.1 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/2.916, allocations: 5.797 kB / 392.1 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002144/2.916, allocations: 94.08 kB / 392.2 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003901/2.917, allocations: 483 kB / 392.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/2.917, allocations: 88.17 kB / 392.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/2.917, allocations: 0 / 392.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/2.917, allocations: 4.375 kB / 392.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/2.917, allocations: 11.97 kB / 392.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/2.917, allocations: 0 / 392.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.082e-05/2.917, allocations: 98.47 kB / 392.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0011/2.918, allocations: 11.98 kB / 392.9 MB, free: 15.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mean.x) * Number of discrete variables: 2 ($whenCondition1,mean.y) * Number of discrete states: 1 (mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001466/2.918, allocations: 91.25 kB / 392.9 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001703/2.918, allocations: 30.5 kB / 393 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/2.918, allocations: 0 / 393 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.049e-05/2.919, allocations: 15.55 kB / 393 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/2.919, allocations: 4.219 kB / 393 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/2.919, allocations: 108.8 kB / 393.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/2.919, allocations: 0.6954 MB / 393.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/2.919, allocations: 0 / 393.8 MB, free: 14.72 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Mean_res.mat does not exist to compare? outputFormat=mat