Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.32e-05, allocations: 7.984 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 50.41 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.226/8.335, allocations: 2.756 GB / 3.09 GB, free: 91.06 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/8.336, allocations: 78.52 kB / 3.091 GB, free: 91.02 MB / 458.7 MB [/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.774/11.11, allocations: 0.5041 GB / 3.595 GB, free: 33.13 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.577e-06/11.11, allocations: 0 / 3.595 GB, free: 33.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001274/11.11, allocations: 30.64 kB / 3.595 GB, free: 33.12 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.01105/11.12, allocations: 2.202 MB / 3.597 GB, free: 32.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/11.12, allocations: 11.69 kB / 3.597 GB, free: 32.16 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000472/11.12, allocations: 154.1 kB / 3.597 GB, free: 32.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009238/11.13, allocations: 0.7089 MB / 3.598 GB, free: 32.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/11.13, allocations: 0.9223 MB / 3.599 GB, free: 31.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/11.13, allocations: 74.17 kB / 3.599 GB, free: 31.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/11.13, allocations: 98.28 kB / 3.599 GB, free: 31.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005568/11.14, allocations: 1.794 MB / 3.6 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/11.14, allocations: 7.719 kB / 3.6 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/11.14, allocations: 43.78 kB / 3.601 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/11.14, allocations: 27.69 kB / 3.601 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005236/11.15, allocations: 1.574 MB / 3.602 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01551/11.16, allocations: 8.548 MB / 3.61 GB, free: 25.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004319/11.17, allocations: 1.816 MB / 3.612 GB, free: 24.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/11.17, allocations: 421.4 kB / 3.613 GB, free: 24.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2414/11.41, allocations: 63.21 MB / 3.674 GB, free: 17.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/11.41, allocations: 46.03 kB / 3.674 GB, free: 17.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=77): time 5.811e-06/11.41, allocations: 0 / 3.674 GB, free: 17.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=77): time 0.009619/11.42, allocations: 1.724 MB / 3.676 GB, free: 16.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/11.42, allocations: 191.5 kB / 3.676 GB, free: 16.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/11.42, allocations: 0.9205 MB / 3.677 GB, free: 16.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/11.42, allocations: 42.17 kB / 3.677 GB, free: 16.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005762/11.42, allocations: 0.5713 MB / 3.678 GB, free: 16.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/11.42, allocations: 271 kB / 3.678 GB, free: 16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/11.42, allocations: 23.81 kB / 3.678 GB, free: 16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002204/11.42, allocations: 352.6 kB / 3.678 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/11.42, allocations: 331.3 kB / 3.679 GB, free: 15.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/11.43, allocations: 0.7461 MB / 3.679 GB, free: 15.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/11.43, allocations: 445.8 kB / 3.68 GB, free: 15.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/11.43, allocations: 3.625 kB / 3.68 GB, free: 15.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004419/11.43, allocations: 1.208 MB / 3.681 GB, free: 15.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/11.43, allocations: 9.969 kB / 3.681 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/11.43, allocations: 17.06 kB / 3.681 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01505/11.45, allocations: 0.837 MB / 3.682 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002725/11.45, allocations: 298.7 kB / 3.682 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/11.45, allocations: 1.548 MB / 3.684 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/11.45, allocations: 168.2 kB / 3.684 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/11.45, allocations: 74.27 kB / 3.684 GB, free: 13.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 20 (rightAdaptor.state_b.phase,rightAdaptor.state_a.phase,rightAdaptor.state_a_nondes.phase,rightAdaptor.state_b_des.phase,leftAdaptor.state_b.phase,leftAdaptor.state_a.phase,leftAdaptor.state_a_nondes.phase,leftAdaptor.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 (124): * Single equations (assignments): 122 * 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.0003694/11.45, allocations: 183.3 kB / 3.684 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/11.45, allocations: 122.3 kB / 3.684 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006722/11.46, allocations: 4.551 MB / 3.689 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.257e-05/11.46, allocations: 49.41 kB / 3.689 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/11.46, allocations: 4 kB / 3.689 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/11.46, allocations: 7.641 kB / 3.689 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00898/11.47, allocations: 5.113 MB / 3.694 GB, free: 27.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/11.47, allocations: 5.453 kB / 3.694 GB, free: 27.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/11.47, allocations: 186.6 kB / 3.694 GB, free: 27.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01269/11.48, allocations: 1.915 MB / 3.696 GB, free: 26.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/11.48, allocations: 23.52 kB / 3.696 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/11.49, allocations: 1.932 MB / 3.698 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/11.49, allocations: 0 / 3.698 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/11.49, allocations: 2.1 MB / 3.7 GB, free: 22.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008425/11.49, allocations: 358.9 kB / 3.7 GB, free: 22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/11.49, allocations: 23.05 kB / 3.7 GB, free: 21.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/11.49, allocations: 59.44 kB / 3.7 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/11.49, allocations: 54.36 kB / 3.7 GB, free: 21.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.524e-05/11.49, allocations: 35.66 kB / 3.7 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00169/11.5, allocations: 0.8892 MB / 3.701 GB, free: 21.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.52e-07/11.5, allocations: 0 / 3.701 GB, free: 21.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006699/11.5, allocations: 1.345 MB / 3.702 GB, free: 19.71 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 (81): * Single equations (assignments): 71 * 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.01429/11.52, allocations: 4.374 MB / 3.707 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004699/11.52, allocations: 1.316 MB / 3.708 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/11.52, allocations: 6.109 kB / 3.708 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003661/11.52, allocations: 0.9706 MB / 3.709 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00623/11.53, allocations: 0.6834 MB / 3.71 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/11.54, allocations: 3.004 MB / 3.712 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/11.54, allocations: 1.351 MB / 3.714 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/11.55, allocations: 0.653 MB / 3.714 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of SimCode: time 2.795e-06/11.55, allocations: 4 kB / 3.714 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.406/15.95, allocations: 60.81 MB / 3.774 GB, free: 71.3 MB / 0.4948 GB