Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.127/2.127, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.204e-05, allocations: 0 / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3308, allocations: 44.5 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.391, allocations: 361.8 MB / 0.6407 GB, free: 89.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/1.391, allocations: 80.92 kB / 0.6408 GB, free: 89.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2504/1.642, allocations: 80.58 MB / 0.7194 GB, free: 16.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.953e-06/1.642, allocations: 0 / 0.7194 GB, free: 16.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.268e-05/1.642, allocations: 4 kB / 0.7195 GB, free: 16.03 MB / 410.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.001245/1.643, allocations: 0.6079 MB / 0.72 GB, free: 15.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.643, allocations: 8.031 kB / 0.7201 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/1.643, allocations: 35.72 kB / 0.7201 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/1.644, allocations: 286.4 kB / 0.7204 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/1.644, allocations: 11.94 kB / 0.7204 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/1.644, allocations: 12 kB / 0.7204 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004492/1.645, allocations: 169.1 kB / 0.7205 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/1.645, allocations: 258.6 kB / 0.7208 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/1.645, allocations: 7.938 kB / 0.7208 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/1.645, allocations: 0 / 0.7208 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/1.645, allocations: 8 kB / 0.7208 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/1.647, allocations: 1.37 MB / 0.7221 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/1.648, allocations: 158.9 kB / 0.7223 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/1.648, allocations: 93.25 kB / 0.7224 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/1.648, allocations: 4.172 kB / 0.7224 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/1.648, allocations: 34.75 kB / 0.7224 GB, free: 12.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.407e-06/1.648, allocations: 0 / 0.7224 GB, free: 12.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002521/1.65, allocations: 0.744 MB / 0.7231 GB, free: 11.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/1.651, allocations: 59.41 kB / 0.7232 GB, free: 11.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/1.651, allocations: 191.1 kB / 0.7234 GB, free: 11.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/1.651, allocations: 25.7 kB / 0.7234 GB, free: 11.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/1.651, allocations: 246.2 kB / 0.7236 GB, free: 11.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/1.651, allocations: 94.64 kB / 0.7237 GB, free: 11.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/1.651, allocations: 0 / 0.7237 GB, free: 11.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.385e-05/1.651, allocations: 326.8 kB / 0.724 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/1.651, allocations: 72 kB / 0.7241 GB, free: 10.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/1.652, allocations: 162.9 kB / 0.7243 GB, free: 10.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/1.652, allocations: 107.9 kB / 0.7244 GB, free: 10.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.652, allocations: 0 / 0.7244 GB, free: 10.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009111/1.653, allocations: 331.1 kB / 0.7247 GB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.653, allocations: 8 kB / 0.7247 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.653, allocations: 4 kB / 0.7247 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/1.653, allocations: 61.67 kB / 0.7248 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/1.654, allocations: 71.84 kB / 0.7248 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/1.656, allocations: 2.56 MB / 0.7273 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/1.657, allocations: 16.02 kB / 0.7273 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/1.657, allocations: 16.06 kB / 0.7274 GB, free: 7.297 MB / 410.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000211/1.657, allocations: 116.8 kB / 0.7275 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007355/1.658, allocations: 263.1 kB / 0.7277 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/1.658, allocations: 23.72 kB / 0.7277 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/1.658, allocations: 37.92 kB / 0.7278 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/1.658, allocations: 0 / 0.7278 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.658, allocations: 4 kB / 0.7278 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006643/1.659, allocations: 0.5395 MB / 0.7283 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/1.66, allocations: 0.6331 MB / 0.7289 GB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.66, allocations: 11.97 kB / 0.7289 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/1.66, allocations: 43.91 kB / 0.729 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003411/1.661, allocations: 48.8 kB / 0.729 GB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/1.661, allocations: 8 kB / 0.729 GB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/1.662, allocations: 1.323 MB / 0.7303 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/1.662, allocations: 8.031 kB / 0.7303 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/1.663, allocations: 451.7 kB / 0.7308 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/1.663, allocations: 100.8 kB / 0.7309 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/1.663, allocations: 4 kB / 0.7309 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/1.664, allocations: 16.05 kB / 0.7309 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/1.664, allocations: 15.92 kB / 0.7309 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/1.664, allocations: 11.98 kB / 0.7309 GB, free: 3.344 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001774/1.664, allocations: 153.6 kB / 0.7311 GB, free: 3.195 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.664, allocations: 4 kB / 0.7311 GB, free: 3.191 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007392/1.665, allocations: 92 kB / 0.7311 GB, free: 3.102 MB / 410.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 (24): * Single equations (assignments): 23 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001315/1.666, allocations: 1.109 MB / 0.7322 GB, free: 1.957 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009723/1.667, allocations: 439.9 kB / 0.7327 GB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.667, allocations: 0 / 0.7327 GB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/1.667, allocations: 217.8 kB / 0.7329 GB, free: 1.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/1.669, allocations: 133.6 kB / 0.733 GB, free: 1.156 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/1.671, allocations: 0.5587 MB / 0.7335 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2645/1.935, allocations: 0.7636 MB / 0.7343 GB, free: 125.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/1.935, allocations: 86.92 kB / 0.7344 GB, free: 125.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/1.936, allocations: 0 / 0.7344 GB, free: 125.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.705/4.64, allocations: 7.193 MB / 0.7414 GB, free: 125.4 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat