Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SimpleLiquidWater",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.598/1.598, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2109/1.809, allocations: 46.82 MB / 249.3 MB, free: 5.375 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/1.899, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6393/2.538, allocations: 267.7 MB / 0.5483 GB, free: 84.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/2.538, allocations: 71.3 kB / 0.5484 GB, free: 84.7 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.03341/2.572, allocations: 9.495 MB / 0.5577 GB, free: 76.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/2.572, allocations: 12 kB / 0.5577 GB, free: 76.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/2.572, allocations: 27.8 kB / 0.5577 GB, free: 76.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/2.572, allocations: 210.2 kB / 0.5579 GB, free: 76.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/2.572, allocations: 4 kB / 0.5579 GB, free: 76.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/2.572, allocations: 8 kB / 0.5579 GB, free: 76.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003473/2.573, allocations: 113.5 kB / 0.558 GB, free: 76.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/2.573, allocations: 187.2 kB / 0.5582 GB, free: 76.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/2.573, allocations: 7.906 kB / 0.5582 GB, free: 76.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/2.573, allocations: 0 / 0.5582 GB, free: 76.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/2.573, allocations: 4 kB / 0.5582 GB, free: 76.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/2.575, allocations: 0.9014 MB / 0.5591 GB, free: 75.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/2.575, allocations: 126.9 kB / 0.5592 GB, free: 75.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/2.575, allocations: 39.8 kB / 0.5593 GB, free: 75.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006024/2.576, allocations: 0.5053 MB / 0.5597 GB, free: 74.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/2.576, allocations: 42.12 kB / 0.5598 GB, free: 74.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.334e-06/2.576, allocations: 0 / 0.5598 GB, free: 74.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.00286/2.579, allocations: 0.5967 MB / 0.5604 GB, free: 74.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/2.579, allocations: 51.41 kB / 0.5604 GB, free: 74.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/2.579, allocations: 140.4 kB / 0.5606 GB, free: 74.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/2.579, allocations: 29.7 kB / 0.5606 GB, free: 73.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/2.579, allocations: 139 kB / 0.5607 GB, free: 73.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/2.579, allocations: 69.64 kB / 0.5608 GB, free: 73.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/2.579, allocations: 0 / 0.5608 GB, free: 73.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/2.579, allocations: 326.4 kB / 0.5611 GB, free: 73.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/2.579, allocations: 54.38 kB / 0.5611 GB, free: 73.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/2.58, allocations: 174.5 kB / 0.5613 GB, free: 73.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/2.58, allocations: 79.28 kB / 0.5614 GB, free: 73.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/2.58, allocations: 0 / 0.5614 GB, free: 73.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006226/2.581, allocations: 254.7 kB / 0.5616 GB, free: 72.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/2.581, allocations: 4 kB / 0.5616 GB, free: 72.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/2.581, allocations: 4 kB / 0.5616 GB, free: 72.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/2.581, allocations: 11.94 kB / 0.5616 GB, free: 72.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/2.581, allocations: 84.34 kB / 0.5617 GB, free: 72.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/2.581, allocations: 11.94 kB / 0.5617 GB, free: 72.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/2.582, allocations: 15.92 kB / 0.5618 GB, free: 72.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/2.582, allocations: 15.56 kB / 0.5618 GB, free: 72.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.555e-05/2.582, allocations: 116.2 kB / 0.5619 GB, free: 72.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/2.582, allocations: 15.81 kB / 0.5619 GB, free: 72.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007474/2.583, allocations: 189.5 kB / 0.5621 GB, free: 72.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/2.583, allocations: 8 kB / 0.5621 GB, free: 72.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/2.583, allocations: 0 / 0.5621 GB, free: 72.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/2.583, allocations: 0 / 0.5621 GB, free: 72.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/2.584, allocations: 0.517 MB / 0.5626 GB, free: 72.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/2.584, allocations: 3.938 kB / 0.5626 GB, free: 72.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/2.585, allocations: 51.89 kB / 0.5626 GB, free: 71.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/2.585, allocations: 4 kB / 0.5626 GB, free: 71.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/2.585, allocations: 4 kB / 0.5626 GB, free: 71.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/2.585, allocations: 0 / 0.5626 GB, free: 71.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/2.585, allocations: 4 kB / 0.5627 GB, free: 71.98 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006608/2.586, allocations: 386.8 kB / 0.563 GB, free: 71.61 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00083/2.587, allocations: 0.827 MB / 0.5638 GB, free: 70.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/2.587, allocations: 88.92 kB / 0.5639 GB, free: 70.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/2.587, allocations: 0 / 0.5639 GB, free: 70.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/2.587, allocations: 15.98 kB / 0.5639 GB, free: 70.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/2.587, allocations: 15.61 kB / 0.5639 GB, free: 70.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/2.587, allocations: 15.89 kB / 0.564 GB, free: 70.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.466e-05/2.587, allocations: 109.4 kB / 0.5641 GB, free: 70.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001352/2.589, allocations: 63.75 kB / 0.5641 GB, free: 70.51 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002567/2.589, allocations: 146.7 kB / 0.5643 GB, free: 70.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004183/2.589, allocations: 167 kB / 0.5644 GB, free: 70.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.589, allocations: 0 / 0.5644 GB, free: 70.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/2.59, allocations: 75.3 kB / 0.5645 GB, free: 70.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/2.59, allocations: 23.48 kB / 0.5645 GB, free: 70.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/2.591, allocations: 285.4 kB / 0.5648 GB, free: 69.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/2.591, allocations: 0.7469 MB / 0.5655 GB, free: 69.11 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/2.592, allocations: 0 / 0.5655 GB, free: 69.11 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat