Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.837/1.837, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.769e-05, allocations: 0 / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09564, allocations: 44.51 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.755/7.851, allocations: 2.585 GB / 2.877 GB, free: 90.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/7.851, allocations: 79.16 kB / 2.878 GB, free: 90.4 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.68/10.53, allocations: 0.4952 GB / 3.373 GB, free: 36.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.346e-06/10.53, allocations: 3.844 kB / 3.373 GB, free: 36.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001058/10.53, allocations: 29.11 kB / 3.373 GB, free: 36.19 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.01003/10.54, allocations: 2.199 MB / 3.375 GB, free: 35.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/10.54, allocations: 12.88 kB / 3.375 GB, free: 35.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003859/10.54, allocations: 151.7 kB / 3.375 GB, free: 35.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00713/10.55, allocations: 0.7109 MB / 3.376 GB, free: 35.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/10.55, allocations: 0.9511 MB / 3.377 GB, free: 34.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/10.55, allocations: 71.64 kB / 3.377 GB, free: 34.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/10.55, allocations: 98.8 kB / 3.377 GB, free: 34.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004857/10.56, allocations: 1.798 MB / 3.379 GB, free: 34.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/10.56, allocations: 8.875 kB / 3.379 GB, free: 34.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/10.56, allocations: 50.8 kB / 3.379 GB, free: 34.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/10.56, allocations: 25.34 kB / 3.379 GB, free: 34.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00474/10.56, allocations: 1.59 MB / 3.38 GB, free: 34.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/10.57, allocations: 8.257 MB / 3.388 GB, free: 28.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/10.58, allocations: 1.796 MB / 3.39 GB, free: 28.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008862/10.58, allocations: 410.9 kB / 3.39 GB, free: 28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2934/10.87, allocations: 80.71 MB / 3.469 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.725e-05/10.87, allocations: 45.56 kB / 3.469 GB, free: 14.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=77): time 3.897e-06/10.87, allocations: 3.375 kB / 3.469 GB, free: 14.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=77): time 0.005928/10.88, allocations: 1.678 MB / 3.471 GB, free: 14.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/10.88, allocations: 192 kB / 3.471 GB, free: 14.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/10.88, allocations: 0.8047 MB / 3.472 GB, free: 14.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/10.88, allocations: 37.86 kB / 3.472 GB, free: 14.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/10.88, allocations: 0.6148 MB / 3.473 GB, free: 13.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/10.88, allocations: 281.2 kB / 3.473 GB, free: 13.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/10.88, allocations: 23.94 kB / 3.473 GB, free: 13.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/10.88, allocations: 355.6 kB / 3.473 GB, free: 13.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008288/10.88, allocations: 325.4 kB / 3.474 GB, free: 13.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/10.88, allocations: 0.8108 MB / 3.474 GB, free: 12.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/10.88, allocations: 453.8 kB / 3.475 GB, free: 12.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/10.88, allocations: 7.812 kB / 3.475 GB, free: 12.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002941/10.89, allocations: 1.288 MB / 3.476 GB, free: 12.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/10.89, allocations: 12 kB / 3.476 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/10.89, allocations: 16 kB / 3.476 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/10.9, allocations: 0.8198 MB / 3.477 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/10.9, allocations: 329.8 kB / 3.477 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/10.9, allocations: 1.525 MB / 3.479 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/10.91, allocations: 156.8 kB / 3.479 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/10.91, allocations: 70.59 kB / 3.479 GB, free: 10.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.0007127/10.91, allocations: 195.7 kB / 3.479 GB, free: 25.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/10.91, allocations: 114.3 kB / 3.479 GB, free: 25.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006552/10.91, allocations: 4.531 MB / 3.484 GB, free: 23.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-05/10.91, allocations: 50.45 kB / 3.484 GB, free: 23.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/10.91, allocations: 0 / 3.484 GB, free: 23.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/10.91, allocations: 3.609 kB / 3.484 GB, free: 23.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007979/10.92, allocations: 5.018 MB / 3.489 GB, free: 20.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/10.92, allocations: 0 / 3.489 GB, free: 20.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/10.92, allocations: 191.4 kB / 3.489 GB, free: 20.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01264/10.94, allocations: 1.872 MB / 3.491 GB, free: 18.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/10.94, allocations: 28.38 kB / 3.491 GB, free: 18.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/10.94, allocations: 1.897 MB / 3.492 GB, free: 17.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/10.94, allocations: 11.69 kB / 3.492 GB, free: 17.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/10.94, allocations: 2.066 MB / 3.494 GB, free: 16.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006555/10.94, allocations: 326.3 kB / 3.495 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/10.94, allocations: 16.69 kB / 3.495 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/10.94, allocations: 63.22 kB / 3.495 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/10.94, allocations: 54.34 kB / 3.495 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.985e-05/10.94, allocations: 30.92 kB / 3.495 GB, free: 15.69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001244/10.94, allocations: 0.6932 MB / 3.496 GB, free: 15.24 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.91e-07/10.94, allocations: 0 / 3.496 GB, free: 15.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006582/10.95, allocations: 1.333 MB / 3.497 GB, free: 14.02 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.01486/10.97, allocations: 4.339 MB / 3.501 GB, free: 10.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005091/10.97, allocations: 1.352 MB / 3.502 GB, free: 9.648 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/10.97, allocations: 0 / 3.502 GB, free: 9.648 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003928/10.98, allocations: 0.9811 MB / 3.503 GB, free: 8.766 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004949/10.98, allocations: 0.545 MB / 3.504 GB, free: 8.367 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5517/11.53, allocations: 81.8 MB / 3.584 GB, free: 76.08 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009551/11.53, allocations: 1.346 MB / 3.585 GB, free: 75.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/11.53, allocations: 0.641 MB / 3.586 GB, free: 75.34 MB / 474.7 MB Notification: Performance of SimCode: time 1.904e-06/11.53, allocations: 2.25 kB / 3.586 GB, free: 75.34 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.003/15.54, allocations: 59.15 MB / 3.644 GB, free: 62.36 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_res.mat does not exist to compare? outputFormat=mat