Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.001/2.001, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.938e-05, allocations: 4 kB / 255.5 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 44.5 MB / 300 MB, free: 6.082 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.109/8.215, allocations: 2.585 GB / 2.878 GB, free: 88.45 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/8.215, allocations: 76.42 kB / 2.878 GB, free: 88.45 MB / 410.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.7/10.92, allocations: 0.4952 GB / 3.373 GB, free: 35.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.715e-06/10.92, allocations: 6.391 kB / 3.373 GB, free: 35.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001357/10.92, allocations: 33.14 kB / 3.373 GB, free: 35.62 MB / 426.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.01191/10.93, allocations: 2.19 MB / 3.375 GB, free: 34.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/10.93, allocations: 11.66 kB / 3.375 GB, free: 34.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004589/10.93, allocations: 156 kB / 3.375 GB, free: 34.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007671/10.94, allocations: 0.7092 MB / 3.376 GB, free: 34.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/10.94, allocations: 0.9533 MB / 3.377 GB, free: 34.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/10.94, allocations: 70.39 kB / 3.377 GB, free: 34.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/10.94, allocations: 101.4 kB / 3.377 GB, free: 34.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005477/10.94, allocations: 1.786 MB / 3.379 GB, free: 33.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.753e-05/10.94, allocations: 6.938 kB / 3.379 GB, free: 33.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/10.95, allocations: 52.83 kB / 3.379 GB, free: 33.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/10.95, allocations: 29.25 kB / 3.379 GB, free: 33.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005296/10.95, allocations: 1.57 MB / 3.38 GB, free: 33.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/10.96, allocations: 8.249 MB / 3.388 GB, free: 28.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004233/10.97, allocations: 1.791 MB / 3.39 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/10.97, allocations: 410.9 kB / 3.391 GB, free: 27.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2999/11.27, allocations: 80.7 MB / 3.469 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.747e-05/11.27, allocations: 41.44 kB / 3.469 GB, free: 14.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=77): time 4.879e-06/11.27, allocations: 0 / 3.469 GB, free: 14.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=77): time 0.006569/11.28, allocations: 1.686 MB / 3.471 GB, free: 14.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/11.28, allocations: 197.4 kB / 3.471 GB, free: 14.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/11.28, allocations: 0.8055 MB / 3.472 GB, free: 13.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002253/11.28, allocations: 40.92 kB / 3.472 GB, free: 13.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/11.28, allocations: 0.5997 MB / 3.473 GB, free: 13.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004195/11.28, allocations: 282.3 kB / 3.473 GB, free: 13.37 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/11.28, allocations: 22.12 kB / 3.473 GB, free: 13.37 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/11.28, allocations: 351.6 kB / 3.473 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009141/11.28, allocations: 325.5 kB / 3.474 GB, free: 13.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/11.28, allocations: 0.8 MB / 3.474 GB, free: 12.44 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/11.28, allocations: 458.4 kB / 3.475 GB, free: 12.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/11.28, allocations: 3.562 kB / 3.475 GB, free: 12.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003816/11.29, allocations: 1.303 MB / 3.476 GB, free: 12.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/11.29, allocations: 12.28 kB / 3.476 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/11.29, allocations: 16.12 kB / 3.476 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01219/11.3, allocations: 0.8138 MB / 3.477 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002831/11.3, allocations: 333.4 kB / 3.477 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/11.3, allocations: 1.532 MB / 3.479 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/11.31, allocations: 158.5 kB / 3.479 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/11.31, allocations: 68.19 kB / 3.479 GB, free: 11.05 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (138): * Single equations (assignments): 136 * 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.0003957/11.31, allocations: 193.5 kB / 3.479 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/11.31, allocations: 109 kB / 3.479 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007167/11.31, allocations: 4.546 MB / 3.484 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.887e-05/11.31, allocations: 45.27 kB / 3.484 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/11.31, allocations: 4 kB / 3.484 GB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/11.31, allocations: 7.125 kB / 3.484 GB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009292/11.32, allocations: 4.994 MB / 3.489 GB, free: 22.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/11.32, allocations: 0 / 3.489 GB, free: 22.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/11.33, allocations: 203 kB / 3.489 GB, free: 22.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.013/11.34, allocations: 1.878 MB / 3.491 GB, free: 20.94 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/11.34, allocations: 24.14 kB / 3.491 GB, free: 20.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/11.34, allocations: 1.895 MB / 3.492 GB, free: 19.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/11.34, allocations: 4.094 kB / 3.492 GB, free: 19.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/11.35, allocations: 2.067 MB / 3.494 GB, free: 18.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007736/11.35, allocations: 329.4 kB / 3.495 GB, free: 17.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003756/11.35, allocations: 14.5 kB / 3.495 GB, free: 17.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/11.35, allocations: 68.44 kB / 3.495 GB, free: 17.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/11.35, allocations: 54.31 kB / 3.495 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/11.35, allocations: 30.12 kB / 3.495 GB, free: 17.69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001499/11.35, allocations: 0.6902 MB / 3.496 GB, free: 17.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.232e-06/11.35, allocations: 0 / 3.496 GB, free: 17.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007525/11.36, allocations: 1.342 MB / 3.497 GB, free: 16.01 MB / 474.7 MB 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 (83): * Single equations (assignments): 73 * 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.01535/11.37, allocations: 4.351 MB / 3.501 GB, free: 12.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00537/11.38, allocations: 1.318 MB / 3.502 GB, free: 12.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/11.38, allocations: 0 / 3.502 GB, free: 12.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003443/11.38, allocations: 0.94 MB / 3.503 GB, free: 11.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/11.39, allocations: 0.5408 MB / 3.504 GB, free: 11.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5738/11.96, allocations: 81.43 MB / 3.583 GB, free: 76.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009739/11.96, allocations: 1.355 MB / 3.585 GB, free: 75.69 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002269/11.96, allocations: 0.578 MB / 3.585 GB, free: 75.65 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/11.97, allocations: 0.6459 MB / 3.586 GB, free: 75.64 MB / 474.7 MB Notification: Performance of SimCode: time 1.453e-06/11.97, allocations: 3.938 kB / 3.586 GB, free: 75.64 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1797/12.14, allocations: 69.89 MB / 3.654 GB, free: 53.39 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/12.15, allocations: 239.2 kB / 3.654 GB, free: 53.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.824/17.97, allocations: 0 / 3.654 GB, free: 53.1 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_res.mat does not exist to compare? outputFormat=mat