Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.331e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3114, allocations: 44.5 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5593/0.8708, allocations: 185.1 MB / 479.3 MB, free: 54.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.8711, allocations: 90.69 kB / 479.4 MB, free: 54.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.948/1.819, allocations: 198.8 MB / 0.6623 GB, free: 51.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/1.819, allocations: 0 / 0.6623 GB, free: 51.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.513e-05/1.819, allocations: 8 kB / 0.6624 GB, free: 51.19 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002475/1.822, allocations: 0.9763 MB / 0.6633 GB, free: 50.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.822, allocations: 8.031 kB / 0.6633 GB, free: 50.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/1.822, allocations: 43.61 kB / 0.6634 GB, free: 50.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/1.823, allocations: 290.4 kB / 0.6636 GB, free: 49.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/1.823, allocations: 8 kB / 0.6636 GB, free: 49.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/1.823, allocations: 23.94 kB / 0.6637 GB, free: 49.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000422/1.823, allocations: 161 kB / 0.6638 GB, free: 49.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/1.824, allocations: 297.1 kB / 0.6641 GB, free: 49.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/1.824, allocations: 3.938 kB / 0.6641 GB, free: 49.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/1.824, allocations: 4 kB / 0.6641 GB, free: 49.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/1.824, allocations: 7.984 kB / 0.6641 GB, free: 49.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/1.826, allocations: 1.999 MB / 0.6661 GB, free: 47.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/1.827, allocations: 170.6 kB / 0.6662 GB, free: 46.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/1.827, allocations: 72.86 kB / 0.6663 GB, free: 46.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/1.827, allocations: 255.3 kB / 0.6665 GB, free: 46.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/1.827, allocations: 30.56 kB / 0.6666 GB, free: 46.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.026e-06/1.827, allocations: 0 / 0.6666 GB, free: 46.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.003454/1.831, allocations: 0.8149 MB / 0.6674 GB, free: 45.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/1.831, allocations: 51.41 kB / 0.6674 GB, free: 45.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/1.831, allocations: 208.3 kB / 0.6676 GB, free: 45.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/1.831, allocations: 29.7 kB / 0.6676 GB, free: 45.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/1.831, allocations: 246.8 kB / 0.6679 GB, free: 45.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/1.831, allocations: 102.5 kB / 0.668 GB, free: 44.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/1.831, allocations: 0 / 0.668 GB, free: 44.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/1.831, allocations: 326.8 kB / 0.6683 GB, free: 44.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/1.832, allocations: 72.75 kB / 0.6684 GB, free: 44.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/1.832, allocations: 162.2 kB / 0.6685 GB, free: 44.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00077/1.833, allocations: 127.9 kB / 0.6686 GB, free: 44.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/1.833, allocations: 4 kB / 0.6686 GB, free: 44.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001188/1.834, allocations: 357.6 kB / 0.669 GB, free: 43.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.834, allocations: 4 kB / 0.669 GB, free: 43.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.834, allocations: 4 kB / 0.669 GB, free: 43.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004907/1.834, allocations: 89.12 kB / 0.6691 GB, free: 43.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/1.835, allocations: 59.91 kB / 0.6691 GB, free: 43.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007964/1.836, allocations: 0.681 MB / 0.6698 GB, free: 43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/1.836, allocations: 19.88 kB / 0.6698 GB, free: 42.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/1.836, allocations: 20 kB / 0.6698 GB, free: 42.96 MB / 394.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.0002224/1.836, allocations: 131.8 kB / 0.67 GB, free: 42.82 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001124/1.838, allocations: 298 kB / 0.6702 GB, free: 42.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.762e-05/1.838, allocations: 27.72 kB / 0.6703 GB, free: 42.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/1.839, allocations: 381.2 kB / 0.6706 GB, free: 42.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.839, allocations: 7.984 kB / 0.6706 GB, free: 42.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.839, allocations: 0 / 0.6706 GB, free: 42.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008999/1.84, allocations: 0.5631 MB / 0.6712 GB, free: 41.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/1.842, allocations: 0.6884 MB / 0.6719 GB, free: 40.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.842, allocations: 0 / 0.6719 GB, free: 40.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/1.842, allocations: 39.91 kB / 0.6719 GB, free: 40.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003571/1.842, allocations: 76.88 kB / 0.672 GB, free: 40.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/1.842, allocations: 4 kB / 0.672 GB, free: 40.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006607/1.843, allocations: 0.6538 MB / 0.6726 GB, free: 39.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.843, allocations: 3.984 kB / 0.6726 GB, free: 39.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/1.844, allocations: 497.6 kB / 0.6731 GB, free: 39.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/1.844, allocations: 104.8 kB / 0.6732 GB, free: 39.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/1.844, allocations: 8.016 kB / 0.6732 GB, free: 39.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/1.845, allocations: 8 kB / 0.6732 GB, free: 39.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/1.845, allocations: 23.91 kB / 0.6732 GB, free: 39.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/1.845, allocations: 11.98 kB / 0.6732 GB, free: 39.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001921/1.845, allocations: 164.5 kB / 0.6734 GB, free: 39.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/1.845, allocations: 0 / 0.6734 GB, free: 39.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009179/1.846, allocations: 143.9 kB / 0.6735 GB, free: 38.89 MB / 394.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.001902/1.848, allocations: 1.285 MB / 0.6748 GB, free: 37.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007726/1.849, allocations: 231.8 kB / 0.675 GB, free: 37.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.849, allocations: 4 kB / 0.675 GB, free: 37.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/1.849, allocations: 107.8 kB / 0.6751 GB, free: 37.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/1.851, allocations: 124.9 kB / 0.6752 GB, free: 37.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/1.852, allocations: 0.5373 MB / 0.6758 GB, free: 36.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/1.852, allocations: 0.764 MB / 0.6765 GB, free: 35.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/1.853, allocations: 111.4 kB / 0.6766 GB, free: 35.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/1.853, allocations: 0 / 0.6766 GB, free: 35.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.943/4.796, allocations: 8.363 MB / 0.6848 GB, free: 27.25 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat