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.148/2.148, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.765e-05, allocations: 11.98 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3743, allocations: 44.49 MB / 294.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.887/8.262, allocations: 2.584 GB / 2.871 GB, free: 73.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/8.262, allocations: 79.2 kB / 2.871 GB, free: 73.71 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.741/11, allocations: 495.6 MB / 3.355 GB, free: 43.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.275e-06/11, allocations: 0 / 3.355 GB, free: 43.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001782/11, allocations: 25.91 kB / 3.355 GB, free: 43.47 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.01125/11.01, allocations: 2.197 MB / 3.358 GB, free: 42.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/11.01, allocations: 11.88 kB / 3.358 GB, free: 42.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007637/11.02, allocations: 0.7101 MB / 3.358 GB, free: 42.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/11.03, allocations: 0.9469 MB / 3.359 GB, free: 42.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/11.03, allocations: 31.84 kB / 3.359 GB, free: 42.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/11.03, allocations: 56.59 kB / 3.359 GB, free: 42.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003218/11.03, allocations: 1.064 MB / 3.36 GB, free: 42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003405/11.03, allocations: 1.24 MB / 3.361 GB, free: 41.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.533e-05/11.03, allocations: 3.812 kB / 3.361 GB, free: 41.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/11.03, allocations: 5.625 kB / 3.361 GB, free: 41.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/11.03, allocations: 29.44 kB / 3.362 GB, free: 41.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.812/12.84, allocations: 264.2 MB / 3.619 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/12.85, allocations: 0.5363 MB / 3.62 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/12.85, allocations: 279.6 kB / 3.62 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2298/13.08, allocations: 47.29 MB / 3.666 GB, free: 75.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/13.08, allocations: 43.08 kB / 3.667 GB, free: 75.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 6.192e-06/13.08, allocations: 0 / 3.667 GB, free: 75.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.01162/13.09, allocations: 1.5 MB / 3.668 GB, free: 75.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.816e-05/13.09, allocations: 199.3 kB / 3.668 GB, free: 74.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002694/13.09, allocations: 0.871 MB / 3.669 GB, free: 74.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/13.09, allocations: 25.7 kB / 3.669 GB, free: 74.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007812/13.09, allocations: 0.6913 MB / 3.67 GB, free: 74.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/13.09, allocations: 182.2 kB / 3.67 GB, free: 74.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/13.09, allocations: 0 / 3.67 GB, free: 74.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/13.09, allocations: 354.6 kB / 3.67 GB, free: 73.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/13.1, allocations: 307.4 kB / 3.671 GB, free: 73.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/13.1, allocations: 0.7874 MB / 3.671 GB, free: 73.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006708/13.1, allocations: 0.7215 MB / 3.672 GB, free: 73.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-05/13.1, allocations: 3.75 kB / 3.672 GB, free: 73.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01002/13.11, allocations: 1.526 MB / 3.673 GB, free: 73.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/13.11, allocations: 10.31 kB / 3.673 GB, free: 73.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.892e-05/13.11, allocations: 16.31 kB / 3.674 GB, free: 73.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009534/13.12, allocations: 194.8 kB / 3.674 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/13.12, allocations: 330.6 kB / 3.674 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/13.12, allocations: 1.653 MB / 3.676 GB, free: 72.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/13.12, allocations: 158.3 kB / 3.676 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/13.13, allocations: 79.33 kB / 3.676 GB, free: 71.97 MB / 490.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.0003207/13.13, allocations: 156.6 kB / 3.676 GB, free: 71.86 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00461/13.13, allocations: 0.9444 MB / 3.677 GB, free: 71.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/13.13, allocations: 111.7 kB / 3.677 GB, free: 71.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005996/13.14, allocations: 2.997 MB / 3.68 GB, free: 71.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/13.14, allocations: 17.95 kB / 3.68 GB, free: 71.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/13.14, allocations: 4.719 kB / 3.68 GB, free: 71.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/13.14, allocations: 6.891 kB / 3.68 GB, free: 71.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/13.14, allocations: 1.343 MB / 3.681 GB, free: 71.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/13.14, allocations: 0 / 3.681 GB, free: 71.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/13.14, allocations: 141.5 kB / 3.681 GB, free: 71.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003349/13.14, allocations: 2.134 MB / 3.684 GB, free: 71.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/13.14, allocations: 8.844 kB / 3.684 GB, free: 71.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003664/13.15, allocations: 2.994 MB / 3.686 GB, free: 70.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/13.15, allocations: 5.484 kB / 3.686 GB, free: 70.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004328/13.15, allocations: 2.181 MB / 3.689 GB, free: 69.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/13.15, allocations: 296 kB / 3.689 GB, free: 69.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/13.15, allocations: 3.125 kB / 3.689 GB, free: 69.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009553/13.15, allocations: 19.88 kB / 3.689 GB, free: 69.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/13.15, allocations: 36.19 kB / 3.689 GB, free: 69.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/13.16, allocations: 18.52 kB / 3.689 GB, free: 69.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001446/13.16, allocations: 0.7822 MB / 3.69 GB, free: 69.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/13.16, allocations: 0 / 3.69 GB, free: 69.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0068/13.16, allocations: 1.282 MB / 3.691 GB, free: 69.32 MB / 490.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: 8 ($cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01512/13.18, allocations: 3.887 MB / 3.695 GB, free: 68.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004038/13.18, allocations: 0.9738 MB / 3.696 GB, free: 68.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/13.18, allocations: 0.6875 kB / 3.696 GB, free: 68.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002452/13.19, allocations: 0.5037 MB / 3.696 GB, free: 68.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/13.19, allocations: 441 kB / 3.697 GB, free: 68.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008874/13.2, allocations: 2.142 MB / 3.699 GB, free: 67.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/13.2, allocations: 1.21 MB / 3.7 GB, free: 66.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00293/13.2, allocations: 0.9609 MB / 3.701 GB, free: 66.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/13.2, allocations: 0.5337 MB / 3.701 GB, free: 66.72 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/13.2, allocations: 0 / 3.701 GB, free: 66.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1542/13.36, allocations: 54.35 MB / 3.754 GB, free: 52.06 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/13.36, allocations: 182.9 kB / 3.755 GB, free: 51.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.394/18.75, allocations: 0 / 3.755 GB, free: 51.86 MB / 490.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