Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Utilities_Examples_readRealParameterModel",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(Modelica): time 2.816/2.816, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3638/3.18, allocations: 46.81 MB / 249.4 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/3.332, allocations: 44.5 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5007/3.833, allocations: 72.52 MB / 366.4 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004124/3.834, allocations: 68.98 kB / 366.5 MB, free: 7.117 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0679/3.902, allocations: 7.498 MB / 374 MB, free: 6.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.545e-05/3.902, allocations: 11.66 kB / 374 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/3.902, allocations: 75.84 kB / 374.1 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/3.902, allocations: 247.6 kB / 374.3 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/3.902, allocations: 159.2 kB / 374.5 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/3.902, allocations: 150.6 kB / 374.6 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.184e-05/3.902, allocations: 154.5 kB / 374.8 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.121e-05/3.902, allocations: 101.6 kB / 374.9 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/3.902, allocations: 75.28 kB / 374.9 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/3.903, allocations: 155.2 kB / 375.1 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/3.903, allocations: 154.6 kB / 375.2 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/3.903, allocations: 428.3 kB / 375.6 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/3.903, allocations: 177.7 kB / 375.8 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.875e-05/3.904, allocations: 83.7 kB / 375.9 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.177e-05/3.904, allocations: 79.28 kB / 376 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/3.904, allocations: 42.31 kB / 376 MB, free: 20.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 7.174e-06/3.904, allocations: 0 / 376 MB, free: 20.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002738/3.904, allocations: 31.09 kB / 376.1 MB, free: 20.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/3.904, allocations: 51.41 kB / 376.1 MB, free: 20.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/3.904, allocations: 97.58 kB / 376.2 MB, free: 20.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/3.904, allocations: 30.39 kB / 376.2 MB, free: 20.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/3.905, allocations: 88.02 kB / 376.3 MB, free: 20 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/3.905, allocations: 3.906 kB / 376.3 MB, free: 19.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/3.905, allocations: 0 / 376.3 MB, free: 19.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/3.905, allocations: 315.8 kB / 376.6 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/3.905, allocations: 0 / 376.6 MB, free: 19.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.397e-05/3.905, allocations: 3.938 kB / 376.6 MB, free: 19.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.462e-05/3.905, allocations: 0.75 kB / 376.6 MB, free: 19.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/3.905, allocations: 0 / 376.6 MB, free: 19.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001612/3.905, allocations: 35.08 kB / 376.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/3.905, allocations: 3.906 kB / 376.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/3.905, allocations: 3.719 kB / 376.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/3.905, allocations: 4.469 kB / 376.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.148e-05/3.905, allocations: 0 / 376.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/3.905, allocations: 0.8906 kB / 376.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/3.906, allocations: 0 / 376.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/3.906, allocations: 0 / 376.7 MB, free: 19.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001503/3.906, allocations: 112.6 kB / 376.8 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/3.906, allocations: 4.641 kB / 376.8 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/3.906, allocations: 8.703 kB / 376.8 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/3.906, allocations: 7.922 kB / 376.8 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/3.906, allocations: 8.453 kB / 376.8 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/3.906, allocations: 0 / 376.8 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/3.906, allocations: 128.2 kB / 376.9 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/3.906, allocations: 0 / 376.9 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/3.906, allocations: 4.562 kB / 376.9 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/3.906, allocations: 0 / 376.9 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/3.906, allocations: 0 / 376.9 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/3.906, allocations: 9.297 kB / 377 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/3.906, allocations: 0 / 377 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001673/3.907, allocations: 61.16 kB / 377 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004636/3.907, allocations: 446.6 kB / 377.5 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/3.907, allocations: 86.5 kB / 377.5 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/3.907, allocations: 0.6094 kB / 377.5 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.231e-05/3.907, allocations: 0.75 kB / 377.5 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/3.907, allocations: 3.125 kB / 377.5 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/3.907, allocations: 0 / 377.5 MB, free: 18.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001057/3.908, allocations: 84.25 kB / 377.6 MB, free: 18.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003372/3.911, allocations: 174.5 kB / 377.8 MB, free: 18.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.003135/3.914, allocations: 0.4935 MB / 378.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/3.914, allocations: 11.78 kB / 378.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/3.914, allocations: 0 / 378.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/3.914, allocations: 3.906 kB / 378.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/3.915, allocations: 0.8438 kB / 378.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/3.915, allocations: 52.92 kB / 378.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005025/3.916, allocations: 0.6923 MB / 379 MB, free: 17.65 MB / 314.7 MB Notification: Performance of SimCode: time 2.585e-06/3.916, allocations: 0 / 379 MB, free: 17.65 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat