Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.491/2.491, allocations: 270 MB / 283.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.232e-05, allocations: 4 kB / 348.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4008, allocations: 61.88 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.394/8.795, allocations: 2.766 GB / 3.166 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/8.795, allocations: 80.98 kB / 3.166 GB, free: 132 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 2.479/11.27, allocations: 0.5031 GB / 3.67 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.124e-06/11.27, allocations: 192 / 3.67 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.296e-05/11.27, allocations: 33.47 kB / 3.67 GB, free: 33.42 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.009576/11.28, allocations: 2.185 MB / 3.672 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/11.28, allocations: 19.56 kB / 3.672 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003272/11.28, allocations: 144.2 kB / 3.672 GB, free: 31.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006027/11.29, allocations: 0.6183 MB / 3.672 GB, free: 30.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/11.29, allocations: 0.9138 MB / 3.673 GB, free: 29.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/11.29, allocations: 72.72 kB / 3.673 GB, free: 29.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/11.29, allocations: 99.94 kB / 3.674 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004521/11.3, allocations: 1.727 MB / 3.675 GB, free: 27.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/11.3, allocations: 10.72 kB / 3.675 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/11.3, allocations: 47.95 kB / 3.675 GB, free: 27.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/11.3, allocations: 24 kB / 3.675 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004347/11.3, allocations: 1.479 MB / 3.677 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/11.31, allocations: 8.338 MB / 3.685 GB, free: 17.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003943/11.32, allocations: 1.775 MB / 3.687 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008506/11.32, allocations: 379.5 kB / 3.687 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6627/11.98, allocations: 63.21 MB / 3.749 GB, free: 45.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/11.98, allocations: 43.78 kB / 3.749 GB, free: 45.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=69): time 4.308e-06/11.98, allocations: 0 / 3.749 GB, free: 45.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69): time 0.008038/11.99, allocations: 1.64 MB / 3.75 GB, free: 45.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.164e-05/11.99, allocations: 195.3 kB / 3.751 GB, free: 44.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/11.99, allocations: 0.9193 MB / 3.751 GB, free: 44.74 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000224/11.99, allocations: 36.7 kB / 3.751 GB, free: 44.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000709/11.99, allocations: 0.5696 MB / 3.752 GB, free: 44.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/11.99, allocations: 249.7 kB / 3.752 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/11.99, allocations: 21.66 kB / 3.752 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001492/11.99, allocations: 351.2 kB / 3.753 GB, free: 44.08 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/12, allocations: 294.4 kB / 3.753 GB, free: 44.08 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/12, allocations: 0.6979 MB / 3.754 GB, free: 43.58 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/12, allocations: 413.1 kB / 3.754 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/12, allocations: 3.781 kB / 3.754 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002931/12, allocations: 1.187 MB / 3.755 GB, free: 43.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/12, allocations: 11.78 kB / 3.755 GB, free: 43.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/12, allocations: 15.05 kB / 3.755 GB, free: 43.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01589/12.02, allocations: 0.8337 MB / 3.756 GB, free: 43.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/12.02, allocations: 284.5 kB / 3.756 GB, free: 43.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/12.02, allocations: 1.553 MB / 3.758 GB, free: 42.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/12.02, allocations: 161.6 kB / 3.758 GB, free: 42.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/12.02, allocations: 62.3 kB / 3.758 GB, free: 42.29 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 20 (rightAdapter.state_b.phase,rightAdapter.state_a.phase,rightAdapter.state_a_nondes.phase,rightAdapter.state_b_des.phase,leftAdapter.state_b.phase,leftAdapter.state_a.phase,leftAdapter.state_a_nondes.phase,leftAdapter.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002836/12.02, allocations: 175.1 kB / 3.758 GB, free: 42.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/12.03, allocations: 126.6 kB / 3.758 GB, free: 42.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006227/12.03, allocations: 4.453 MB / 3.763 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.08e-05/12.03, allocations: 45.58 kB / 3.763 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/12.03, allocations: 0 / 3.763 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/12.03, allocations: 14.86 kB / 3.763 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007543/12.04, allocations: 4.984 MB / 3.768 GB, free: 40.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/12.04, allocations: 0 / 3.768 GB, free: 40.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/12.04, allocations: 169.6 kB / 3.768 GB, free: 40.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01258/12.05, allocations: 1.917 MB / 3.77 GB, free: 40.65 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/12.05, allocations: 22.38 kB / 3.77 GB, free: 40.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/12.06, allocations: 1.94 MB / 3.771 GB, free: 39.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/12.06, allocations: 0 / 3.771 GB, free: 39.51 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/12.06, allocations: 2.013 MB / 3.773 GB, free: 39.06 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009654/12.06, allocations: 363.4 kB / 3.774 GB, free: 38.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003758/12.06, allocations: 15.94 kB / 3.774 GB, free: 38.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/12.06, allocations: 59.02 kB / 3.774 GB, free: 38.85 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/12.06, allocations: 57.52 kB / 3.774 GB, free: 38.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/12.06, allocations: 23.81 kB / 3.774 GB, free: 38.85 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001879/12.06, allocations: 0.8854 MB / 3.775 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.122e-06/12.06, allocations: 0 / 3.775 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006752/12.07, allocations: 1.333 MB / 3.776 GB, free: 38.67 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01335/12.08, allocations: 4.294 MB / 3.78 GB, free: 37.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004363/12.09, allocations: 1.231 MB / 3.781 GB, free: 37.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/12.09, allocations: 0 / 3.781 GB, free: 37.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002976/12.09, allocations: 0.8938 MB / 3.782 GB, free: 37.48 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006119/12.1, allocations: 0.6809 MB / 3.783 GB, free: 37.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009394/12.11, allocations: 2.919 MB / 3.786 GB, free: 36.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008579/12.11, allocations: 1.343 MB / 3.787 GB, free: 36.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001986/12.11, allocations: 0.6046 MB / 3.788 GB, free: 36.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/12.11, allocations: 0.6261 MB / 3.788 GB, free: 36.06 MB / 0.5417 GB Notification: Performance of SimCode: time 1.313e-06/12.11, allocations: 0 / 3.788 GB, free: 36.06 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1852/12.3, allocations: 72.69 MB / 3.859 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/12.3, allocations: 235 kB / 3.86 GB, free: 26.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.612/17.91, allocations: 0 / 3.86 GB, free: 26.32 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat does not exist to compare? outputFormat=mat