Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Incompressible_Examples_TestGlycol",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.875/1.875, allocations: 171.2 MB / 178.1 MB, free: 6.719 MB / 147.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1438/2.019, allocations: 41.1 MB / 219.2 MB, free: 13.55 MB / 195.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/2.232, allocations: 38.76 MB / 258 MB, free: 5.199 MB / 211.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4743/2.706, allocations: 181.5 MB / 439.5 MB, free: 8.902 MB / 323.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/2.706, allocations: 75.45 kB / 439.6 MB, free: 8.863 MB / 323.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.1074/2.814, allocations: 22.31 MB / 461.9 MB, free: 5.723 MB / 339.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/2.814, allocations: 12 kB / 461.9 MB, free: 5.711 MB / 339.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008369/2.815, allocations: 31.34 kB / 462 MB, free: 5.684 MB / 339.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/2.815, allocations: 194.2 kB / 462.2 MB, free: 5.461 MB / 339.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/2.815, allocations: 0 / 462.2 MB, free: 5.461 MB / 339.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/2.815, allocations: 8 kB / 462.2 MB, free: 5.453 MB / 339.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004361/2.816, allocations: 100.7 kB / 462.3 MB, free: 5.379 MB / 339.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/2.816, allocations: 126.5 kB / 462.4 MB, free: 5.258 MB / 339.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/2.816, allocations: 0 / 462.4 MB, free: 5.258 MB / 339.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/2.816, allocations: 7.984 kB / 462.4 MB, free: 5.25 MB / 339.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/2.816, allocations: 0 / 462.4 MB, free: 5.25 MB / 339.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/2.818, allocations: 0.5963 MB / 463 MB, free: 4.656 MB / 339.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/2.818, allocations: 76.56 kB / 463.1 MB, free: 4.59 MB / 339.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/2.818, allocations: 32.11 kB / 463.1 MB, free: 4.562 MB / 339.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/2.82, allocations: 0.8031 MB / 463.9 MB, free: 3.578 MB / 339.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/2.82, allocations: 38 kB / 463.9 MB, free: 3.535 MB / 339.1 MB Notification: Performance of pre-optimization done (n=13): time 4.298e-06/2.82, allocations: 0 / 463.9 MB, free: 3.535 MB / 339.1 MB Notification: Performance of matching and sorting (n=13): time 0.001605/2.821, allocations: 135.5 kB / 464.1 MB, free: 3.41 MB / 339.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/2.822, allocations: 51.41 kB / 464.1 MB, free: 3.348 MB / 339.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/2.822, allocations: 108.5 kB / 464.2 MB, free: 3.234 MB / 339.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/2.822, allocations: 25.7 kB / 464.2 MB, free: 3.203 MB / 339.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/2.822, allocations: 99.39 kB / 464.3 MB, free: 3.105 MB / 339.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/2.822, allocations: 42.17 kB / 464.4 MB, free: 3.07 MB / 339.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/2.822, allocations: 0 / 464.4 MB, free: 3.07 MB / 339.1 MB Notification: Performance of setup shared object (initialization): time 0.000277/2.822, allocations: 326.4 kB / 464.7 MB, free: 2.746 MB / 339.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/2.823, allocations: 18.94 kB / 464.7 MB, free: 2.734 MB / 339.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/2.823, allocations: 63.14 kB / 464.8 MB, free: 2.664 MB / 339.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/2.824, allocations: 71.23 kB / 464.9 MB, free: 2.602 MB / 339.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/2.824, allocations: 0 / 464.9 MB, free: 2.602 MB / 339.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001581/2.826, allocations: 167.3 kB / 465 MB, free: 2.449 MB / 339.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/2.826, allocations: 7.125 kB / 465 MB, free: 2.445 MB / 339.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/2.826, allocations: 4 kB / 465 MB, free: 2.441 MB / 339.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.574e-05/2.826, allocations: 3.906 kB / 465 MB, free: 2.438 MB / 339.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/2.826, allocations: 35.98 kB / 465.1 MB, free: 2.402 MB / 339.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/2.826, allocations: 0 / 465.1 MB, free: 2.402 MB / 339.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/2.827, allocations: 16 kB / 465.1 MB, free: 2.387 MB / 339.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/2.827, allocations: 15.5 kB / 465.1 MB, free: 2.375 MB / 339.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001581/2.827, allocations: 105 kB / 465.2 MB, free: 2.266 MB / 339.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/2.827, allocations: 7.906 kB / 465.2 MB, free: 2.258 MB / 339.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/2.829, allocations: 185.8 kB / 465.4 MB, free: 2.086 MB / 339.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/2.829, allocations: 3.938 kB / 465.4 MB, free: 2.082 MB / 339.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/2.829, allocations: 4 kB / 465.4 MB, free: 2.078 MB / 339.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/2.829, allocations: 0 / 465.4 MB, free: 2.078 MB / 339.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/2.831, allocations: 391.5 kB / 465.8 MB, free: 1.684 MB / 339.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/2.831, allocations: 0 / 465.8 MB, free: 1.684 MB / 339.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/2.831, allocations: 27.36 kB / 465.8 MB, free: 1.66 MB / 339.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/2.831, allocations: 4 kB / 465.8 MB, free: 1.656 MB / 339.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/2.831, allocations: 7.984 kB / 465.8 MB, free: 1.648 MB / 339.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/2.831, allocations: 0 / 465.8 MB, free: 1.648 MB / 339.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/2.831, allocations: 0 / 465.8 MB, free: 1.648 MB / 339.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001363/2.833, allocations: 226.7 kB / 466 MB, free: 1.426 MB / 339.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00168/2.835, allocations: 0.6032 MB / 466.6 MB, free: 0.8281 MB / 339.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/2.835, allocations: 92.38 kB / 466.7 MB, free: 0.7227 MB / 339.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/2.835, allocations: 0 / 466.7 MB, free: 0.7227 MB / 339.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/2.835, allocations: 15.83 kB / 466.8 MB, free: 0.707 MB / 339.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/2.835, allocations: 7.688 kB / 466.8 MB, free: 0.7031 MB / 339.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/2.835, allocations: 7.984 kB / 466.8 MB, free: 0.6953 MB / 339.1 MB Notification: Performance of sort global known variables: time 0.000114/2.835, allocations: 86.66 kB / 466.9 MB, free: 0.6133 MB / 339.1 MB Notification: Performance of remove unused functions: time 0.002348/2.838, allocations: 67.17 kB / 466.9 MB, free: 0.5547 MB / 339.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0006964/2.839, allocations: 162 kB / 467.1 MB, free: 404 kB / 339.1 MB Notification: Performance of simCode: created initialization part: time 0.0003878/2.839, allocations: 71.67 kB / 467.1 MB, free: 348 kB / 339.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/2.839, allocations: 4.125 kB / 467.1 MB, free: 344 kB / 339.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/2.839, allocations: 35.38 kB / 467.2 MB, free: 316 kB / 339.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008345/2.84, allocations: 35.52 kB / 467.2 MB, free: 284 kB / 339.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/2.841, allocations: 111 kB / 467.3 MB, free: 160 kB / 339.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007558/2.841, allocations: 0.7274 MB / 468.1 MB, free: 15.4 MB / 355.1 MB Notification: Performance of SimCode: time 1.483e-06/2.841, allocations: 0 / 468.1 MB, free: 15.4 MB / 355.1 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat