Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",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.72/1.72, allocations: 171.2 MB / 178.1 MB, free: 300 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1669/1.887, allocations: 41.11 MB / 219.3 MB, free: 7.117 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/2.105, allocations: 38.77 MB / 258 MB, free: 12.39 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8582/2.963, allocations: 327.8 MB / 0.5721 GB, free: 70.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/2.964, allocations: 85.55 kB / 0.5722 GB, free: 70 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.4844/3.448, allocations: 87.57 MB / 0.6577 GB, free: 113.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/3.448, allocations: 13.69 kB / 0.6577 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006119/3.449, allocations: 40.8 kB / 0.6577 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/3.45, allocations: 287.6 kB / 0.658 GB, free: 113.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/3.45, allocations: 12.59 kB / 0.658 GB, free: 113.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/3.45, allocations: 15.97 kB / 0.658 GB, free: 113.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007121/3.451, allocations: 175.7 kB / 0.6582 GB, free: 113.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008975/3.451, allocations: 254.1 kB / 0.6585 GB, free: 113.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/3.452, allocations: 3.219 kB / 0.6585 GB, free: 113.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/3.452, allocations: 7.094 kB / 0.6585 GB, free: 113.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/3.452, allocations: 3.719 kB / 0.6585 GB, free: 113.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003451/3.455, allocations: 1.228 MB / 0.6597 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/3.456, allocations: 107.9 kB / 0.6598 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/3.456, allocations: 89.3 kB / 0.6599 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/3.456, allocations: 169.2 kB / 0.66 GB, free: 112.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/3.456, allocations: 33.62 kB / 0.66 GB, free: 112.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 5.039e-06/3.456, allocations: 0 / 0.66 GB, free: 112.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.004722/3.461, allocations: 0.7939 MB / 0.6608 GB, free: 111.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/3.461, allocations: 58.47 kB / 0.6609 GB, free: 111.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/3.462, allocations: 191.1 kB / 0.6611 GB, free: 111.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.728e-05/3.462, allocations: 29.09 kB / 0.6611 GB, free: 111.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/3.462, allocations: 168.5 kB / 0.6613 GB, free: 111.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/3.462, allocations: 96.61 kB / 0.6613 GB, free: 111.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/3.462, allocations: 3.156 kB / 0.6613 GB, free: 111.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/3.462, allocations: 332.7 kB / 0.6617 GB, free: 111 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/3.463, allocations: 70.84 kB / 0.6617 GB, free: 111 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/3.463, allocations: 166 kB / 0.6619 GB, free: 110.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/3.463, allocations: 103.7 kB / 0.662 GB, free: 110.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/3.463, allocations: 0 / 0.662 GB, free: 110.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001382/3.465, allocations: 400.9 kB / 0.6624 GB, free: 110.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/3.465, allocations: 6.906 kB / 0.6624 GB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/3.465, allocations: 0 / 0.6624 GB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/3.465, allocations: 43.44 kB / 0.6624 GB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008217/3.466, allocations: 82.42 kB / 0.6625 GB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/3.469, allocations: 2.442 MB / 0.6649 GB, free: 108.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/3.47, allocations: 17.22 kB / 0.6649 GB, free: 108.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.709e-05/3.47, allocations: 9.344 kB / 0.6649 GB, free: 108.3 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002756/3.47, allocations: 121.5 kB / 0.665 GB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/3.47, allocations: 24.91 kB / 0.665 GB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/3.472, allocations: 336.8 kB / 0.6654 GB, free: 108 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/3.472, allocations: 3.875 kB / 0.6654 GB, free: 108 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/3.472, allocations: 0 / 0.6654 GB, free: 108 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/3.473, allocations: 0.5967 MB / 0.666 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/3.475, allocations: 0.696 MB / 0.6666 GB, free: 107.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/3.475, allocations: 0 / 0.6666 GB, free: 107.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007706/3.476, allocations: 56.36 kB / 0.6667 GB, free: 107.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/3.476, allocations: 22.33 kB / 0.6667 GB, free: 107.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/3.476, allocations: 7.516 kB / 0.6667 GB, free: 107.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/3.477, allocations: 1.219 MB / 0.6679 GB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/3.477, allocations: 6.594 kB / 0.6679 GB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001303/3.478, allocations: 0.4988 MB / 0.6684 GB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001615/3.48, allocations: 0.96 MB / 0.6693 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/3.48, allocations: 98 kB / 0.6694 GB, free: 104.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/3.48, allocations: 3.812 kB / 0.6694 GB, free: 104.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/3.481, allocations: 14.78 kB / 0.6694 GB, free: 104.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/3.481, allocations: 15.19 kB / 0.6695 GB, free: 104.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/3.481, allocations: 16.86 kB / 0.6695 GB, free: 104.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002922/3.482, allocations: 150.9 kB / 0.6696 GB, free: 104.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002713/3.484, allocations: 122.4 kB / 0.6697 GB, free: 104.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008095/3.485, allocations: 249.2 kB / 0.67 GB, free: 104.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/3.487, allocations: 415.2 kB / 0.6704 GB, free: 104.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/3.487, allocations: 0 / 0.6704 GB, free: 104.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005995/3.487, allocations: 206.2 kB / 0.6706 GB, free: 104.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/3.49, allocations: 109.8 kB / 0.6707 GB, free: 104.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/3.492, allocations: 474.3 kB / 0.6711 GB, free: 104.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006463/3.492, allocations: 0.8067 MB / 0.6719 GB, free: 103.5 MB / 362.7 MB Notification: Performance of SimCode: time 2.023e-06/3.493, allocations: 0 / 0.6719 GB, free: 103.5 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat