Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.738e-05/3.769e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.417, allocations: 54.86 MB / 359.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.849/8.266, allocations: 2.594 GB / 2.945 GB, free: 108.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/8.267, allocations: 85.98 kB / 2.945 GB, free: 108.6 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329: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 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329: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 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329: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 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329: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.457/10.72, allocations: 0.4943 GB / 3.44 GB, free: 39.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.226e-06/10.72, allocations: 3.703 kB / 3.44 GB, free: 39.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001456/10.72, allocations: 30.53 kB / 3.44 GB, free: 39.36 MB / 490.7 MB 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.01396/10.74, allocations: 2.186 MB / 3.442 GB, free: 38.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/10.74, allocations: 12.56 kB / 3.442 GB, free: 38.21 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005279/10.74, allocations: 149.3 kB / 3.442 GB, free: 38.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009866/10.75, allocations: 0.6172 MB / 3.443 GB, free: 37.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00371/10.75, allocations: 0.9437 MB / 3.443 GB, free: 37.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/10.75, allocations: 70.75 kB / 3.444 GB, free: 37.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/10.75, allocations: 93.22 kB / 3.444 GB, free: 37.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007416/10.76, allocations: 1.727 MB / 3.445 GB, free: 36.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.286e-05/10.76, allocations: 11.91 kB / 3.445 GB, free: 36.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/10.76, allocations: 42.97 kB / 3.445 GB, free: 36.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/10.76, allocations: 25.22 kB / 3.445 GB, free: 36.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007231/10.77, allocations: 1.473 MB / 3.447 GB, free: 36.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/10.78, allocations: 8.056 MB / 3.455 GB, free: 29.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004138/10.79, allocations: 1.744 MB / 3.456 GB, free: 28.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/10.79, allocations: 363 kB / 3.457 GB, free: 28.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6714/11.46, allocations: 80.7 MB / 3.536 GB, free: 42.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/11.46, allocations: 42.59 kB / 3.536 GB, free: 42.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=69): time 3.937e-06/11.46, allocations: 0.6562 kB / 3.536 GB, free: 42.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69): time 0.005783/11.46, allocations: 1.602 MB / 3.537 GB, free: 42.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/11.46, allocations: 186.5 kB / 3.537 GB, free: 42.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/11.47, allocations: 0.8067 MB / 3.538 GB, free: 41.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-05/11.47, allocations: 39.11 kB / 3.538 GB, free: 41.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/11.47, allocations: 0.6167 MB / 3.539 GB, free: 41.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/11.47, allocations: 252.9 kB / 3.539 GB, free: 41.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/11.47, allocations: 24.34 kB / 3.539 GB, free: 41.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.918e-05/11.47, allocations: 352.2 kB / 3.539 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006777/11.47, allocations: 288.4 kB / 3.54 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009458/11.47, allocations: 0.7617 MB / 3.54 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009002/11.47, allocations: 426.4 kB / 3.541 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/11.47, allocations: 8.656 kB / 3.541 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002675/11.47, allocations: 1.144 MB / 3.542 GB, free: 40.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/11.47, allocations: 13.25 kB / 3.542 GB, free: 40.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/11.47, allocations: 17.38 kB / 3.542 GB, free: 40.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01162/11.48, allocations: 0.8118 MB / 3.543 GB, free: 40.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/11.49, allocations: 309.5 kB / 3.543 GB, free: 40.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/11.49, allocations: 1.529 MB / 3.545 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/11.49, allocations: 155.4 kB / 3.545 GB, free: 39.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/11.49, allocations: 68.12 kB / 3.545 GB, free: 39.29 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (130): * Single equations (assignments): 128 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003028/11.49, allocations: 192.3 kB / 3.545 GB, free: 39.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/11.49, allocations: 111.7 kB / 3.545 GB, free: 39.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006304/11.5, allocations: 4.426 MB / 3.549 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.974e-05/11.5, allocations: 46.55 kB / 3.549 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/11.5, allocations: 1.969 kB / 3.549 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/11.5, allocations: 7.203 kB / 3.549 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007238/11.5, allocations: 4.892 MB / 3.554 GB, free: 37.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/11.5, allocations: 1.969 kB / 3.554 GB, free: 37.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/11.51, allocations: 177.9 kB / 3.554 GB, free: 37.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01249/11.52, allocations: 1.884 MB / 3.556 GB, free: 37.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/11.52, allocations: 20.56 kB / 3.556 GB, free: 37.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/11.52, allocations: 1.903 MB / 3.558 GB, free: 36.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/11.52, allocations: 0 / 3.558 GB, free: 36.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/11.52, allocations: 1.989 MB / 3.56 GB, free: 36.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006776/11.53, allocations: 324.2 kB / 3.56 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/11.53, allocations: 14.56 kB / 3.56 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/11.53, allocations: 60.34 kB / 3.56 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/11.53, allocations: 48.78 kB / 3.56 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/11.53, allocations: 25.19 kB / 3.56 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001314/11.53, allocations: 0.6918 MB / 3.561 GB, free: 35.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.62e-07/11.53, allocations: 3.656 kB / 3.561 GB, free: 35.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00748/11.54, allocations: 1.331 MB / 3.562 GB, free: 35.66 MB / 0.4948 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 (75): * Single equations (assignments): 65 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0139/11.55, allocations: 4.274 MB / 3.567 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004382/11.55, allocations: 1.223 MB / 3.568 GB, free: 34.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/11.55, allocations: 0 / 3.568 GB, free: 34.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003425/11.56, allocations: 0.9256 MB / 3.569 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004539/11.56, allocations: 0.5369 MB / 3.569 GB, free: 34.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2263/11.79, allocations: 81.49 MB / 3.649 GB, free: 17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/11.79, allocations: 1.336 MB / 3.65 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009573/11.79, allocations: 0.6234 MB / 3.651 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/11.79, allocations: 5.422 kB / 3.651 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.393/16.18, allocations: 58.17 MB / 3.708 GB, free: 77.34 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat does not exist to compare? outputFormat=mat