Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_2_Modelica_Utilities_Examples_readRealParameterModel",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(Modelica): time 1.721/1.721, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.257/1.978, allocations: 46.82 MB / 249.3 MB, free: 5.367 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/2.068, allocations: 44.5 MB / 293.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2727/2.341, allocations: 72.52 MB / 366.4 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/2.341, allocations: 66.14 kB / 366.4 MB, free: 7.027 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.0303/2.371, allocations: 7.493 MB / 373.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/2.372, allocations: 12.36 kB / 373.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/2.372, allocations: 78.53 kB / 374 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/2.372, allocations: 248.8 kB / 374.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/2.372, allocations: 150.6 kB / 374.4 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/2.372, allocations: 154.6 kB / 374.5 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.155e-05/2.372, allocations: 150.6 kB / 374.7 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.823e-05/2.372, allocations: 105.5 kB / 374.8 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/2.372, allocations: 75.28 kB / 374.9 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/2.372, allocations: 154.5 kB / 375 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.817e-05/2.372, allocations: 158.5 kB / 375.2 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/2.372, allocations: 428.1 kB / 375.6 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/2.373, allocations: 170 kB / 375.8 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/2.373, allocations: 84.05 kB / 375.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/2.373, allocations: 83.22 kB / 375.9 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/2.373, allocations: 41.97 kB / 376 MB, free: 20.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.504e-06/2.373, allocations: 0 / 376 MB, free: 20.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001421/2.373, allocations: 34.03 kB / 376 MB, free: 20.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/2.373, allocations: 52.06 kB / 376 MB, free: 20.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/2.373, allocations: 93.27 kB / 376.1 MB, free: 20.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/2.373, allocations: 26.41 kB / 376.2 MB, free: 20.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/2.373, allocations: 88.05 kB / 376.2 MB, free: 19.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/2.373, allocations: 3.906 kB / 376.3 MB, free: 19.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/2.373, allocations: 0 / 376.3 MB, free: 19.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/2.373, allocations: 312.3 kB / 376.6 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-06/2.373, allocations: 3.938 kB / 376.6 MB, free: 19.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/2.373, allocations: 0 / 376.6 MB, free: 19.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.449e-05/2.373, allocations: 4.5 kB / 376.6 MB, free: 19.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/2.373, allocations: 0 / 376.6 MB, free: 19.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.718e-05/2.373, allocations: 38.59 kB / 376.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/2.374, allocations: 3.875 kB / 376.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/2.374, allocations: 4 kB / 376.6 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/2.374, allocations: 8.5 kB / 376.6 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.885e-05/2.374, allocations: 0 / 376.6 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/2.374, allocations: 0 / 376.6 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/2.374, allocations: 0.7031 kB / 376.6 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/2.374, allocations: 0 / 376.6 MB, free: 19.56 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 8.737e-05/2.374, allocations: 105.4 kB / 376.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/2.374, allocations: 7.906 kB / 376.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/2.374, allocations: 12.5 kB / 376.7 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/2.374, allocations: 0 / 376.7 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/2.374, allocations: 4.547 kB / 376.7 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/2.374, allocations: 3.781 kB / 376.7 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/2.374, allocations: 125.2 kB / 376.9 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/2.374, allocations: 3.938 kB / 376.9 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-06/2.374, allocations: 0.75 kB / 376.9 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/2.374, allocations: 3.812 kB / 376.9 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/2.374, allocations: 0 / 376.9 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/2.374, allocations: 4 kB / 376.9 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/2.374, allocations: 0.7031 kB / 376.9 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.281e-05/2.374, allocations: 58.31 kB / 376.9 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002611/2.374, allocations: 447 kB / 377.4 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/2.374, allocations: 85.92 kB / 377.5 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/2.375, allocations: 12.55 kB / 377.5 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/2.375, allocations: 0 / 377.5 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/2.375, allocations: 0.5625 kB / 377.5 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/2.375, allocations: 0 / 377.5 MB, free: 18.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.973e-05/2.375, allocations: 84.38 kB / 377.6 MB, free: 18.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001746/2.376, allocations: 177.4 kB / 377.7 MB, free: 18.54 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.001305/2.378, allocations: 495.6 kB / 378.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.041e-05/2.378, allocations: 7.719 kB / 378.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/2.378, allocations: 4.062 kB / 378.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.374e-06/2.378, allocations: 0 / 378.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/2.378, allocations: 4.5 kB / 378.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/2.378, allocations: 49.58 kB / 378.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/2.379, allocations: 0.6959 MB / 379 MB, free: 17.56 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/2.379, allocations: 0 / 379 MB, free: 17.56 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat