Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.639/2.639, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.453e-05/4.461e-05, allocations: 4 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5198/0.5198, allocations: 61.87 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.816/9.335, allocations: 2.766 GB / 3.165 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/9.336, allocations: 80.95 kB / 3.165 GB, free: 132.6 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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.588/11.92, allocations: 0.5031 GB / 3.668 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/11.92, allocations: 0 / 3.668 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001272/11.92, allocations: 32 kB / 3.668 GB, free: 38.09 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.01053/11.94, allocations: 2.187 MB / 3.67 GB, free: 35.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/11.94, allocations: 12.03 kB / 3.67 GB, free: 35.88 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000408/11.94, allocations: 152.1 kB / 3.67 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006517/11.94, allocations: 0.6225 MB / 3.671 GB, free: 35.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/11.95, allocations: 0.9065 MB / 3.672 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/11.95, allocations: 70 kB / 3.672 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/11.95, allocations: 96 kB / 3.672 GB, free: 34.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005648/11.95, allocations: 1.734 MB / 3.674 GB, free: 32.15 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.066e-05/11.95, allocations: 7.875 kB / 3.674 GB, free: 32.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/11.95, allocations: 51.95 kB / 3.674 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/11.95, allocations: 24 kB / 3.674 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004923/11.96, allocations: 1.475 MB / 3.675 GB, free: 30.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/11.97, allocations: 8.339 MB / 3.683 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/11.97, allocations: 1.784 MB / 3.685 GB, free: 19.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008818/11.98, allocations: 375.9 kB / 3.686 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6702/12.65, allocations: 63.19 MB / 3.747 GB, free: 51.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/12.65, allocations: 46.95 kB / 3.747 GB, free: 51.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=69): time 4.529e-06/12.65, allocations: 2.812 kB / 3.747 GB, free: 51.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69): time 0.006079/12.65, allocations: 1.642 MB / 3.749 GB, free: 51.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/12.65, allocations: 192.3 kB / 3.749 GB, free: 51.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/12.65, allocations: 0.9243 MB / 3.75 GB, free: 51.22 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/12.65, allocations: 36.89 kB / 3.75 GB, free: 51.19 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/12.65, allocations: 0.5578 MB / 3.751 GB, free: 50.92 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/12.65, allocations: 255.3 kB / 3.751 GB, free: 50.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/12.65, allocations: 22.84 kB / 3.751 GB, free: 50.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000104/12.65, allocations: 354.1 kB / 3.751 GB, free: 50.49 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007336/12.66, allocations: 294.2 kB / 3.751 GB, free: 50.49 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/12.66, allocations: 0.6977 MB / 3.752 GB, free: 49.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/12.66, allocations: 412.7 kB / 3.753 GB, free: 49.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/12.66, allocations: 3.812 kB / 3.753 GB, free: 49.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00277/12.66, allocations: 1.114 MB / 3.754 GB, free: 49.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/12.66, allocations: 11.59 kB / 3.754 GB, free: 49.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/12.66, allocations: 16.67 kB / 3.754 GB, free: 49.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/12.67, allocations: 0.8289 MB / 3.754 GB, free: 49.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/12.67, allocations: 282.8 kB / 3.755 GB, free: 49.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/12.68, allocations: 1.553 MB / 3.756 GB, free: 48.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/12.68, allocations: 162.9 kB / 3.756 GB, free: 48.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/12.68, allocations: 57.05 kB / 3.756 GB, free: 48.74 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.0003103/12.68, allocations: 191.8 kB / 3.757 GB, free: 48.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/12.68, allocations: 124.7 kB / 3.757 GB, free: 48.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006368/12.69, allocations: 4.453 MB / 3.761 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-05/12.69, allocations: 48.16 kB / 3.761 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/12.69, allocations: 0 / 3.761 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/12.69, allocations: 6.312 kB / 3.761 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007556/12.69, allocations: 4.981 MB / 3.766 GB, free: 47.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/12.69, allocations: 0 / 3.766 GB, free: 47.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/12.69, allocations: 175.5 kB / 3.766 GB, free: 47.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01271/12.71, allocations: 1.921 MB / 3.768 GB, free: 47.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/12.71, allocations: 13.69 kB / 3.768 GB, free: 47.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/12.71, allocations: 1.947 MB / 3.77 GB, free: 45.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/12.71, allocations: 0 / 3.77 GB, free: 45.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/12.71, allocations: 2.011 MB / 3.772 GB, free: 45.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007389/12.71, allocations: 359.4 kB / 3.772 GB, free: 45.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/12.71, allocations: 16.19 kB / 3.772 GB, free: 45.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/12.72, allocations: 59.36 kB / 3.772 GB, free: 45.31 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/12.72, allocations: 53.78 kB / 3.772 GB, free: 45.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/12.72, allocations: 26.72 kB / 3.772 GB, free: 45.31 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001718/12.72, allocations: 0.8857 MB / 3.773 GB, free: 45.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.903e-06/12.72, allocations: 0 / 3.773 GB, free: 45.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007611/12.73, allocations: 1.339 MB / 3.775 GB, free: 45.12 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.01481/12.74, allocations: 4.297 MB / 3.779 GB, free: 43.99 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004633/12.74, allocations: 1.225 MB / 3.78 GB, free: 43.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/12.74, allocations: 0 / 3.78 GB, free: 43.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003507/12.75, allocations: 0.9299 MB / 3.781 GB, free: 43.95 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006128/12.75, allocations: 0.6745 MB / 3.782 GB, free: 43.92 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/12.76, allocations: 2.959 MB / 3.784 GB, free: 43.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000919/12.77, allocations: 1.342 MB / 3.786 GB, free: 42.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/12.77, allocations: 0.6301 MB / 3.786 GB, free: 42.51 MB / 0.5417 GB Notification: Performance of SimCode: time 1.733e-06/12.77, allocations: 0 / 3.786 GB, free: 42.51 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.964/16.73, allocations: 59.82 MB / 3.845 GB, free: 38.47 MB / 0.5417 GB