Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.041/2.041, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.644e-05, allocations: 4 kB / 292.7 MB, free: 8.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 50.42 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.491/8.607, allocations: 2.756 GB / 3.091 GB, free: 99.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/8.607, allocations: 81.95 kB / 3.091 GB, free: 99.05 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.911/11.52, allocations: 0.5041 GB / 3.595 GB, free: 46.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.415e-06/11.52, allocations: 0 / 3.595 GB, free: 46.89 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002007/11.52, allocations: 27.19 kB / 3.595 GB, free: 46.89 MB / 474.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.01129/11.53, allocations: 2.193 MB / 3.597 GB, free: 45.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/11.53, allocations: 11.38 kB / 3.597 GB, free: 45.95 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005288/11.53, allocations: 155.9 kB / 3.597 GB, free: 45.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007532/11.54, allocations: 0.7089 MB / 3.598 GB, free: 45.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/11.54, allocations: 0.9307 MB / 3.599 GB, free: 45.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/11.54, allocations: 74.52 kB / 3.599 GB, free: 45.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/11.54, allocations: 98.5 kB / 3.599 GB, free: 45.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005392/11.55, allocations: 1.789 MB / 3.601 GB, free: 45.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/11.55, allocations: 8.938 kB / 3.601 GB, free: 45.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/11.55, allocations: 46.84 kB / 3.601 GB, free: 45.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/11.55, allocations: 25 kB / 3.601 GB, free: 45.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005195/11.55, allocations: 1.568 MB / 3.603 GB, free: 45.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/11.57, allocations: 8.549 MB / 3.611 GB, free: 39.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004417/11.57, allocations: 1.812 MB / 3.613 GB, free: 38.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/11.57, allocations: 423.7 kB / 3.613 GB, free: 38.67 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2398/11.81, allocations: 63.21 MB / 3.675 GB, free: 31.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/11.81, allocations: 48.84 kB / 3.675 GB, free: 30.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=77): time 4.288e-06/11.81, allocations: 5.125 kB / 3.675 GB, free: 30.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=77): time 0.006682/11.82, allocations: 1.724 MB / 3.676 GB, free: 30.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/11.82, allocations: 187.3 kB / 3.677 GB, free: 30.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/11.82, allocations: 0.9281 MB / 3.678 GB, free: 30.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002188/11.82, allocations: 41.89 kB / 3.678 GB, free: 30.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/11.82, allocations: 0.5613 MB / 3.678 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/11.82, allocations: 281.6 kB / 3.678 GB, free: 30.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/11.82, allocations: 19.22 kB / 3.678 GB, free: 30.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001765/11.82, allocations: 357.8 kB / 3.679 GB, free: 29.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008893/11.83, allocations: 330.2 kB / 3.679 GB, free: 29.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/11.83, allocations: 0.7419 MB / 3.68 GB, free: 29.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/11.83, allocations: 448.3 kB / 3.68 GB, free: 29.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/11.83, allocations: 3.469 kB / 3.68 GB, free: 29.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003414/11.83, allocations: 1.277 MB / 3.682 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/11.83, allocations: 12.09 kB / 3.682 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/11.83, allocations: 17.84 kB / 3.682 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01182/11.84, allocations: 0.8334 MB / 3.682 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/11.85, allocations: 298 kB / 3.683 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/11.85, allocations: 1.561 MB / 3.684 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/11.85, allocations: 161.6 kB / 3.684 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/11.85, allocations: 62.44 kB / 3.684 GB, free: 27.8 MB / 0.4948 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 (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.0003549/11.85, allocations: 188.6 kB / 3.685 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/11.85, allocations: 125.2 kB / 3.685 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00669/11.86, allocations: 4.551 MB / 3.689 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.475e-05/11.86, allocations: 48.45 kB / 3.689 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/11.86, allocations: 3.938 kB / 3.689 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/11.86, allocations: 5.766 kB / 3.689 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008436/11.87, allocations: 5.119 MB / 3.694 GB, free: 26.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/11.87, allocations: 3.141 kB / 3.694 GB, free: 26.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/11.87, allocations: 191 kB / 3.694 GB, free: 26.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01259/11.88, allocations: 1.917 MB / 3.696 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/11.88, allocations: 23.09 kB / 3.696 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/11.88, allocations: 1.933 MB / 3.698 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/11.88, allocations: 0 / 3.698 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/11.89, allocations: 2.093 MB / 3.7 GB, free: 24.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007773/11.89, allocations: 365.6 kB / 3.701 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/11.89, allocations: 14.53 kB / 3.701 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/11.89, allocations: 60.81 kB / 3.701 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/11.89, allocations: 57.27 kB / 3.701 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.624e-05/11.89, allocations: 35.12 kB / 3.701 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001664/11.89, allocations: 0.8871 MB / 3.702 GB, free: 23.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.72e-07/11.89, allocations: 0 / 3.702 GB, free: 23.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006656/11.9, allocations: 1.35 MB / 3.703 GB, free: 23.23 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.01403/11.91, allocations: 4.386 MB / 3.707 GB, free: 19.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004745/11.92, allocations: 1.306 MB / 3.708 GB, free: 18.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/11.92, allocations: 0 / 3.708 GB, free: 18.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003081/11.92, allocations: 0.9478 MB / 3.709 GB, free: 17.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006293/11.93, allocations: 0.6789 MB / 3.71 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/11.94, allocations: 2.965 MB / 3.713 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/11.94, allocations: 1.355 MB / 3.714 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002266/11.94, allocations: 0.6162 MB / 3.715 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/11.94, allocations: 0.6528 MB / 3.715 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/11.94, allocations: 0 / 3.715 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5599/12.5, allocations: 73.89 MB / 3.788 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/12.5, allocations: 234.7 kB / 3.788 GB, free: 65.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.027/18.53, allocations: 0 / 3.788 GB, free: 65.73 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_res.mat does not exist to compare? outputFormat=mat