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.715/1.715, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.306e-05, allocations: 4 kB / 225.1 MB, free: 2.613 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2597, allocations: 38.77 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.282/7.542, allocations: 2.475 GB / 2.733 GB, free: 83.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/7.542, allocations: 78.03 kB / 2.733 GB, free: 83.07 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.479/10.02, allocations: 496.3 MB / 3.217 GB, free: 27.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/10.02, allocations: 0 / 3.217 GB, free: 27.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001014/10.02, allocations: 31.91 kB / 3.217 GB, free: 27.16 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.009849/10.03, allocations: 2.094 MB / 3.219 GB, free: 26.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/10.03, allocations: 13.94 kB / 3.219 GB, free: 26.02 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004166/10.03, allocations: 154.6 kB / 3.22 GB, free: 25.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007199/10.04, allocations: 0.6746 MB / 3.22 GB, free: 25.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/10.04, allocations: 0.9485 MB / 3.221 GB, free: 25.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.16e-05/10.04, allocations: 73.11 kB / 3.221 GB, free: 25.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/10.04, allocations: 98.69 kB / 3.221 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004948/10.05, allocations: 1.785 MB / 3.223 GB, free: 24.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/10.05, allocations: 7.812 kB / 3.223 GB, free: 24.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/10.05, allocations: 43.38 kB / 3.223 GB, free: 24.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/10.05, allocations: 29.66 kB / 3.223 GB, free: 24.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/10.05, allocations: 1.568 MB / 3.225 GB, free: 23.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/10.06, allocations: 8.261 MB / 3.233 GB, free: 16.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/10.07, allocations: 1.787 MB / 3.234 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009075/10.07, allocations: 407.6 kB / 3.235 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5862/10.66, allocations: 80.81 MB / 3.314 GB, free: 21.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/10.66, allocations: 43.92 kB / 3.314 GB, free: 21.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 3.226e-06/10.66, allocations: 3.406 kB / 3.314 GB, free: 21.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.006123/10.66, allocations: 1.681 MB / 3.315 GB, free: 21.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/10.66, allocations: 190.9 kB / 3.316 GB, free: 21.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/10.66, allocations: 0.8121 MB / 3.316 GB, free: 21.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/10.66, allocations: 38.45 kB / 3.316 GB, free: 20.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/10.66, allocations: 0.6129 MB / 3.317 GB, free: 20.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/10.66, allocations: 280.3 kB / 3.317 GB, free: 20.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.274e-05/10.66, allocations: 20.66 kB / 3.317 GB, free: 20.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/10.66, allocations: 361.4 kB / 3.318 GB, free: 20.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008285/10.67, allocations: 328.7 kB / 3.318 GB, free: 20.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/10.67, allocations: 0.7969 MB / 3.319 GB, free: 19.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/10.67, allocations: 457.5 kB / 3.319 GB, free: 19.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/10.67, allocations: 3.062 kB / 3.319 GB, free: 19.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003016/10.67, allocations: 1.239 MB / 3.32 GB, free: 19.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/10.67, allocations: 15.25 kB / 3.32 GB, free: 19.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/10.67, allocations: 16.47 kB / 3.32 GB, free: 19.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/10.68, allocations: 0.8221 MB / 3.321 GB, free: 19.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/10.69, allocations: 331.2 kB / 3.322 GB, free: 19.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/10.69, allocations: 1.515 MB / 3.323 GB, free: 18.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/10.69, allocations: 162.7 kB / 3.323 GB, free: 18.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/10.69, allocations: 70.55 kB / 3.323 GB, free: 18.31 MB / 394.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.0003107/10.69, allocations: 202.7 kB / 3.323 GB, free: 18.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/10.69, allocations: 109.9 kB / 3.324 GB, free: 18.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006636/10.7, allocations: 4.524 MB / 3.328 GB, free: 17.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.237e-05/10.7, allocations: 42.7 kB / 3.328 GB, free: 17.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/10.7, allocations: 8.172 kB / 3.328 GB, free: 17.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/10.7, allocations: 5.719 kB / 3.328 GB, free: 17.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008005/10.7, allocations: 5.02 MB / 3.333 GB, free: 16.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/10.7, allocations: 0.625 kB / 3.333 GB, free: 16.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/10.71, allocations: 190.3 kB / 3.333 GB, free: 16.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01246/10.72, allocations: 1.884 MB / 3.335 GB, free: 16.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/10.72, allocations: 24.16 kB / 3.335 GB, free: 16.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/10.72, allocations: 1.906 MB / 3.337 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/10.72, allocations: 0 / 3.337 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003471/10.72, allocations: 2.063 MB / 3.339 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007471/10.73, allocations: 330.1 kB / 3.339 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/10.73, allocations: 19.75 kB / 3.339 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/10.73, allocations: 54.25 kB / 3.339 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/10.73, allocations: 58.88 kB / 3.339 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/10.73, allocations: 27.53 kB / 3.339 GB, free: 14.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001333/10.73, allocations: 0.6957 MB / 3.34 GB, free: 14.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.223e-06/10.73, allocations: 0 / 3.34 GB, free: 14.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007323/10.74, allocations: 1.327 MB / 3.341 GB, free: 14.55 MB / 394.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.01464/10.75, allocations: 4.357 MB / 3.346 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004679/10.76, allocations: 1.315 MB / 3.347 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/10.76, allocations: 7.906 kB / 3.347 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003655/10.76, allocations: 0.9648 MB / 3.348 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005046/10.76, allocations: 0.5409 MB / 3.348 GB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2069/10.97, allocations: 77.51 MB / 3.424 GB, free: 36 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2909/11.26, allocations: 1.348 MB / 3.425 GB, free: 61.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/11.26, allocations: 0.6431 MB / 3.426 GB, free: 61.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/11.26, allocations: 0 / 3.426 GB, free: 61.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.963/15.23, allocations: 59.02 MB / 3.484 GB, free: 58.09 MB / 410.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