Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.3 MB / 178.8 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.933e-05, allocations: 4 kB / 219.6 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.255, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.727/6.982, allocations: 2.474 GB / 2.727 GB, free: 23.26 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/6.982, allocations: 78.45 kB / 2.727 GB, free: 23.22 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.674/9.656, allocations: 484.9 MB / 3.2 GB, free: 31.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/9.656, allocations: 0 / 3.2 GB, free: 31.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001077/9.656, allocations: 36.28 kB / 3.2 GB, free: 31.82 MB / 378.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.009978/9.666, allocations: 2.086 MB / 3.202 GB, free: 30.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/9.666, allocations: 13.12 kB / 3.202 GB, free: 30.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007241/9.673, allocations: 0.6821 MB / 3.203 GB, free: 30.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/9.676, allocations: 0.9514 MB / 3.204 GB, free: 30.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/9.676, allocations: 33.69 kB / 3.204 GB, free: 30.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/9.677, allocations: 55.59 kB / 3.204 GB, free: 30.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002669/9.679, allocations: 1.068 MB / 3.205 GB, free: 30.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/9.682, allocations: 1.232 MB / 3.206 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/9.682, allocations: 3.375 kB / 3.206 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/9.682, allocations: 6.438 kB / 3.206 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/9.682, allocations: 27.19 kB / 3.206 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.286/10.97, allocations: 263.8 MB / 3.464 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/10.97, allocations: 0.5316 MB / 3.464 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/10.97, allocations: 279.9 kB / 3.465 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5379/11.51, allocations: 47.29 MB / 3.511 GB, free: 84.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/11.51, allocations: 37.66 kB / 3.511 GB, free: 84.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 3.055e-06/11.51, allocations: 0 / 3.511 GB, free: 84.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.006994/11.51, allocations: 1.514 MB / 3.512 GB, free: 84.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/11.51, allocations: 189 kB / 3.513 GB, free: 84.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/11.52, allocations: 0.8707 MB / 3.513 GB, free: 84.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001321/11.52, allocations: 27.89 kB / 3.513 GB, free: 84.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005112/11.52, allocations: 0.6994 MB / 3.514 GB, free: 83.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/11.52, allocations: 182.4 kB / 3.514 GB, free: 83.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/11.52, allocations: 3.219 kB / 3.514 GB, free: 83.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/11.52, allocations: 358.2 kB / 3.515 GB, free: 83.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/11.52, allocations: 309.4 kB / 3.515 GB, free: 83.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009535/11.52, allocations: 0.7863 MB / 3.516 GB, free: 82.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004141/11.52, allocations: 0.7211 MB / 3.516 GB, free: 82.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-05/11.52, allocations: 6.312 kB / 3.516 GB, free: 82.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006122/11.53, allocations: 1.466 MB / 3.518 GB, free: 82.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/11.53, allocations: 16.5 kB / 3.518 GB, free: 82.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/11.53, allocations: 21.39 kB / 3.518 GB, free: 82.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006414/11.53, allocations: 186.7 kB / 3.518 GB, free: 82.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/11.53, allocations: 330.4 kB / 3.518 GB, free: 82.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/11.54, allocations: 1.648 MB / 3.52 GB, free: 81.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/11.54, allocations: 165.9 kB / 3.52 GB, free: 81.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/11.54, allocations: 69.62 kB / 3.52 GB, free: 81.62 MB / 442.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.0002929/11.54, allocations: 164.5 kB / 3.52 GB, free: 81.51 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004516/11.54, allocations: 0.9338 MB / 3.521 GB, free: 81.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/11.54, allocations: 112.4 kB / 3.521 GB, free: 81.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005961/11.55, allocations: 3.01 MB / 3.524 GB, free: 81.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-05/11.55, allocations: 16.77 kB / 3.524 GB, free: 81.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/11.55, allocations: 2.531 kB / 3.524 GB, free: 81.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/11.55, allocations: 6.375 kB / 3.524 GB, free: 81.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/11.55, allocations: 1.336 MB / 3.526 GB, free: 80.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/11.55, allocations: 7.125 kB / 3.526 GB, free: 80.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/11.55, allocations: 140.3 kB / 3.526 GB, free: 80.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003159/11.56, allocations: 2.137 MB / 3.528 GB, free: 80.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/11.56, allocations: 7.812 kB / 3.528 GB, free: 80.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00355/11.56, allocations: 2.999 MB / 3.531 GB, free: 79.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/11.56, allocations: 0 / 3.531 GB, free: 79.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004266/11.56, allocations: 2.18 MB / 3.533 GB, free: 79.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006935/11.57, allocations: 297.2 kB / 3.533 GB, free: 79.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/11.57, allocations: 1.031 kB / 3.533 GB, free: 79.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009151/11.57, allocations: 25.84 kB / 3.533 GB, free: 79.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/11.57, allocations: 37.45 kB / 3.533 GB, free: 79.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/11.57, allocations: 19.91 kB / 3.533 GB, free: 79.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001373/11.57, allocations: 0.7861 MB / 3.534 GB, free: 79.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.82e-07/11.57, allocations: 0 / 3.534 GB, free: 79.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006548/11.57, allocations: 1.281 MB / 3.535 GB, free: 78.96 MB / 442.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.01454/11.59, allocations: 3.862 MB / 3.539 GB, free: 77.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003906/11.59, allocations: 0.979 MB / 3.54 GB, free: 77.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/11.59, allocations: 0 / 3.54 GB, free: 77.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002849/11.6, allocations: 0.5295 MB / 3.541 GB, free: 77.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003967/11.6, allocations: 431.9 kB / 3.541 GB, free: 77.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009257/11.61, allocations: 2.181 MB / 3.543 GB, free: 77.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007195/11.61, allocations: 1.195 MB / 3.544 GB, free: 76.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/11.61, allocations: 0.5392 MB / 3.545 GB, free: 76.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/11.61, allocations: 0 / 3.545 GB, free: 76.58 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.819/15.43, allocations: 55.46 MB / 3.599 GB, free: 72.77 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_res.mat does not exist to compare? outputFormat=mat