Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.801/1.801, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.261e-05, allocations: 4 kB / 219.6 MB, free: 7.312 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2576, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4986/0.7562, allocations: 179.7 MB / 438 MB, free: 23.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.7566, allocations: 88.5 kB / 438.1 MB, free: 23.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8663/1.623, allocations: 194.8 MB / 0.6181 GB, free: 4.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/1.623, allocations: 0 / 0.6181 GB, free: 4.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.46e-05/1.623, allocations: 8 kB / 0.6181 GB, free: 4.297 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.002417/1.625, allocations: 0.9736 MB / 0.6191 GB, free: 3.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.625, allocations: 8.031 kB / 0.6191 GB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003756/1.626, allocations: 43.61 kB / 0.6191 GB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/1.626, allocations: 290.3 kB / 0.6194 GB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/1.626, allocations: 8 kB / 0.6194 GB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/1.626, allocations: 16 kB / 0.6194 GB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004187/1.627, allocations: 165 kB / 0.6196 GB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/1.627, allocations: 289.1 kB / 0.6198 GB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/1.627, allocations: 3.938 kB / 0.6199 GB, free: 2.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/1.628, allocations: 4 kB / 0.6199 GB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.628, allocations: 4 kB / 0.6199 GB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/1.63, allocations: 2.01 MB / 0.6218 GB, free: 180 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/1.63, allocations: 172 kB / 0.622 GB, free: 0 / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2355/1.866, allocations: 71.27 kB / 0.6221 GB, free: 71.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/1.866, allocations: 253.3 kB / 0.6223 GB, free: 71.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/1.866, allocations: 44.34 kB / 0.6223 GB, free: 71.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 2.585e-06/1.866, allocations: 0.7812 kB / 0.6223 GB, free: 71.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.003744/1.87, allocations: 0.8069 MB / 0.6231 GB, free: 71.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/1.87, allocations: 55.06 kB / 0.6232 GB, free: 71.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/1.87, allocations: 202.2 kB / 0.6234 GB, free: 70.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/1.87, allocations: 26.48 kB / 0.6234 GB, free: 70.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/1.87, allocations: 251.7 kB / 0.6236 GB, free: 70.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/1.871, allocations: 95.95 kB / 0.6237 GB, free: 70.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/1.871, allocations: 1.75 kB / 0.6237 GB, free: 70.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.951e-05/1.871, allocations: 326.1 kB / 0.624 GB, free: 70.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/1.871, allocations: 72.84 kB / 0.6241 GB, free: 70.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/1.871, allocations: 159.1 kB / 0.6243 GB, free: 70.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007647/1.872, allocations: 131.9 kB / 0.6244 GB, free: 70.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.872, allocations: 1.031 kB / 0.6244 GB, free: 70.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001208/1.873, allocations: 347.3 kB / 0.6247 GB, free: 70.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.873, allocations: 13.81 kB / 0.6247 GB, free: 70.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.873, allocations: 2.75 kB / 0.6247 GB, free: 70.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004721/1.874, allocations: 86.28 kB / 0.6248 GB, free: 70.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/1.874, allocations: 65.88 kB / 0.6249 GB, free: 70.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008515/1.875, allocations: 0.6774 MB / 0.6255 GB, free: 69.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/1.875, allocations: 15.5 kB / 0.6256 GB, free: 69.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/1.876, allocations: 15.53 kB / 0.6256 GB, free: 69.72 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.0002127/1.876, allocations: 125.5 kB / 0.6257 GB, free: 69.61 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001139/1.877, allocations: 298.3 kB / 0.626 GB, free: 69.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/1.877, allocations: 25.62 kB / 0.626 GB, free: 69.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/1.878, allocations: 390.7 kB / 0.6264 GB, free: 69.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.878, allocations: 5.406 kB / 0.6264 GB, free: 69.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.878, allocations: 0 / 0.6264 GB, free: 69.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009642/1.879, allocations: 0.5601 MB / 0.6269 GB, free: 69 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/1.881, allocations: 0.6891 MB / 0.6276 GB, free: 68.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.881, allocations: 1.188 kB / 0.6276 GB, free: 68.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/1.881, allocations: 40.69 kB / 0.6276 GB, free: 68.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003662/1.882, allocations: 75.17 kB / 0.6277 GB, free: 68.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/1.882, allocations: 2.406 kB / 0.6277 GB, free: 68.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006977/1.882, allocations: 0.6519 MB / 0.6283 GB, free: 68.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.882, allocations: 0 / 0.6283 GB, free: 68.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/1.884, allocations: 491.5 kB / 0.6288 GB, free: 67.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/1.884, allocations: 114.8 kB / 0.6289 GB, free: 67.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/1.884, allocations: 1 kB / 0.6289 GB, free: 67.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/1.884, allocations: 14.91 kB / 0.6289 GB, free: 67.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/1.885, allocations: 21.52 kB / 0.629 GB, free: 67.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/1.885, allocations: 16.33 kB / 0.629 GB, free: 67.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002122/1.885, allocations: 159.8 kB / 0.6291 GB, free: 67.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.885, allocations: 3.781 kB / 0.6291 GB, free: 67.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009617/1.886, allocations: 150.6 kB / 0.6293 GB, free: 67.76 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.002031/1.888, allocations: 1.274 MB / 0.6305 GB, free: 66.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007811/1.889, allocations: 243.3 kB / 0.6308 GB, free: 66.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.889, allocations: 0 / 0.6308 GB, free: 66.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/1.889, allocations: 113.6 kB / 0.6309 GB, free: 66.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/1.89, allocations: 128.5 kB / 0.631 GB, free: 66.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/1.892, allocations: 0.5353 MB / 0.6315 GB, free: 66.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/1.892, allocations: 0.7697 MB / 0.6323 GB, free: 65.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/1.892, allocations: 105.4 kB / 0.6324 GB, free: 65.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/1.892, allocations: 0 / 0.6324 GB, free: 65.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.9/4.792, allocations: 8.341 MB / 0.6405 GB, free: 65.77 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.Glycol47_res.mat does not exist to compare? outputFormat=mat