Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.654/1.654, allocations: 171.3 MB / 178.8 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.466e-05, allocations: 4 kB / 219.6 MB, free: 7.309 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.257, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5058/0.7629, allocations: 179.6 MB / 437.9 MB, free: 23.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.7632, allocations: 82.48 kB / 438 MB, free: 23.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.161/1.924, allocations: 204.7 MB / 0.6276 GB, free: 71.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/1.924, allocations: 0 / 0.6276 GB, free: 71.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.462e-05/1.924, allocations: 5.531 kB / 0.6276 GB, free: 71.91 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002428/1.926, allocations: 0.9718 MB / 0.6286 GB, free: 71.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.926, allocations: 10.66 kB / 0.6286 GB, free: 71.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003843/1.927, allocations: 45.02 kB / 0.6286 GB, free: 71.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/1.927, allocations: 294 kB / 0.6289 GB, free: 71.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/1.927, allocations: 6.375 kB / 0.6289 GB, free: 71.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/1.927, allocations: 15.47 kB / 0.6289 GB, free: 71.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004039/1.928, allocations: 160.3 kB / 0.6291 GB, free: 71.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/1.928, allocations: 287.6 kB / 0.6294 GB, free: 71.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/1.928, allocations: 7.844 kB / 0.6294 GB, free: 71.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/1.929, allocations: 0 / 0.6294 GB, free: 71.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/1.929, allocations: 8.5 kB / 0.6294 GB, free: 71.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/1.931, allocations: 2.01 MB / 0.6313 GB, free: 69.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/1.931, allocations: 168.8 kB / 0.6315 GB, free: 69.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/1.931, allocations: 75.22 kB / 0.6316 GB, free: 69.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/1.932, allocations: 255 kB / 0.6318 GB, free: 69.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/1.932, allocations: 37.06 kB / 0.6319 GB, free: 69.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 2.725e-06/1.932, allocations: 0 / 0.6319 GB, free: 69.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.003312/1.935, allocations: 0.8228 MB / 0.6327 GB, free: 68.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/1.935, allocations: 55.06 kB / 0.6327 GB, free: 68.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/1.935, allocations: 206.8 kB / 0.6329 GB, free: 68.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/1.935, allocations: 25.7 kB / 0.6329 GB, free: 68.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/1.936, allocations: 237.6 kB / 0.6332 GB, free: 68.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.175e-05/1.936, allocations: 107.5 kB / 0.6333 GB, free: 68.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/1.936, allocations: 0 / 0.6333 GB, free: 68.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.867e-05/1.936, allocations: 327.1 kB / 0.6336 GB, free: 68.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/1.936, allocations: 77.81 kB / 0.6336 GB, free: 68.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/1.936, allocations: 152.8 kB / 0.6338 GB, free: 68.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007274/1.937, allocations: 132.1 kB / 0.6339 GB, free: 68.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.937, allocations: 0 / 0.6339 GB, free: 68.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001153/1.938, allocations: 355.3 kB / 0.6343 GB, free: 68.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.938, allocations: 10.94 kB / 0.6343 GB, free: 68.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.938, allocations: 3.719 kB / 0.6343 GB, free: 68.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/1.939, allocations: 84.17 kB / 0.6343 GB, free: 68.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/1.939, allocations: 60.97 kB / 0.6344 GB, free: 68.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007647/1.94, allocations: 0.6889 MB / 0.6351 GB, free: 67.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/1.94, allocations: 9.953 kB / 0.6351 GB, free: 67.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/1.94, allocations: 19.25 kB / 0.6351 GB, free: 67.51 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real 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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001991/1.94, allocations: 119.5 kB / 0.6352 GB, free: 67.4 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001104/1.942, allocations: 298.1 kB / 0.6355 GB, free: 67.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/1.942, allocations: 23.5 kB / 0.6355 GB, free: 67.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/1.943, allocations: 396.2 kB / 0.6359 GB, free: 67.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/1.943, allocations: 10.84 kB / 0.6359 GB, free: 67.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.943, allocations: 0 / 0.6359 GB, free: 67.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009247/1.944, allocations: 0.5608 MB / 0.6365 GB, free: 66.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/1.945, allocations: 0.6854 MB / 0.6371 GB, free: 66.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.946, allocations: 3.828 kB / 0.6371 GB, free: 66.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/1.946, allocations: 30.95 kB / 0.6372 GB, free: 66.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000356/1.946, allocations: 86.58 kB / 0.6372 GB, free: 66.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/1.946, allocations: 3.469 kB / 0.6373 GB, free: 66.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006553/1.947, allocations: 0.6488 MB / 0.6379 GB, free: 65.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.947, allocations: 0 / 0.6379 GB, free: 65.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/1.948, allocations: 494.4 kB / 0.6384 GB, free: 65.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.948, allocations: 105.9 kB / 0.6385 GB, free: 65.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/1.948, allocations: 2.938 kB / 0.6385 GB, free: 65.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/1.949, allocations: 12.89 kB / 0.6385 GB, free: 65.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/1.949, allocations: 11.14 kB / 0.6385 GB, free: 65.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/1.949, allocations: 20.25 kB / 0.6385 GB, free: 65.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001936/1.949, allocations: 167.7 kB / 0.6387 GB, free: 65.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.949, allocations: 0 / 0.6387 GB, free: 65.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008997/1.95, allocations: 154.9 kB / 0.6388 GB, free: 65.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/1.952, allocations: 1.282 MB / 0.6401 GB, free: 64.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007612/1.953, allocations: 230.1 kB / 0.6403 GB, free: 64.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.953, allocations: 1.969 kB / 0.6403 GB, free: 64.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000347/1.953, allocations: 118.8 kB / 0.6404 GB, free: 64.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/1.954, allocations: 120.6 kB / 0.6405 GB, free: 64.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/1.956, allocations: 0.5351 MB / 0.641 GB, free: 64.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/1.956, allocations: 0.7704 MB / 0.6418 GB, free: 63.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/1.956, allocations: 99.73 kB / 0.6419 GB, free: 63.74 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/1.956, allocations: 1.969 kB / 0.6419 GB, free: 63.74 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.798/4.755, allocations: 8.345 MB / 0.65 GB, free: 63.54 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat