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 2.018/2.018, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.565e-05/4.59e-05, allocations: 4 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 44.5 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.632/7.762, allocations: 2.585 GB / 2.877 GB, free: 87.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/7.763, allocations: 77.45 kB / 2.878 GB, free: 87.99 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.538/10.3, allocations: 0.4952 GB / 3.373 GB, free: 35.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.637e-06/10.3, allocations: 0.75 kB / 3.373 GB, free: 35.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001321/10.3, allocations: 29.53 kB / 3.373 GB, free: 35.96 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.01398/10.31, allocations: 2.199 MB / 3.375 GB, free: 35.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/10.31, allocations: 8.344 kB / 3.375 GB, free: 35.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005651/10.32, allocations: 158.4 kB / 3.375 GB, free: 35.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/10.33, allocations: 0.7136 MB / 3.376 GB, free: 34.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003852/10.33, allocations: 0.9485 MB / 3.377 GB, free: 34.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/10.33, allocations: 74.98 kB / 3.377 GB, free: 34.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/10.33, allocations: 98.59 kB / 3.377 GB, free: 34.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007517/10.34, allocations: 1.785 MB / 3.379 GB, free: 34.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.814e-05/10.34, allocations: 9.25 kB / 3.379 GB, free: 34.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002815/10.34, allocations: 50.77 kB / 3.379 GB, free: 34.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/10.34, allocations: 25.09 kB / 3.379 GB, free: 34.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007505/10.35, allocations: 1.57 MB / 3.38 GB, free: 34.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01597/10.36, allocations: 8.253 MB / 3.388 GB, free: 28.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006254/10.37, allocations: 1.793 MB / 3.39 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/10.37, allocations: 407 kB / 3.39 GB, free: 27.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2933/10.66, allocations: 80.71 MB / 3.469 GB, free: 14.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/10.66, allocations: 38.44 kB / 3.469 GB, free: 14.74 MB / 458.7 MB Notification: Performance of pre-optimization done (n=77): time 3.366e-06/10.66, allocations: 0 / 3.469 GB, free: 14.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=77): time 0.005974/10.67, allocations: 1.687 MB / 3.471 GB, free: 14.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/10.67, allocations: 188.2 kB / 3.471 GB, free: 14.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/10.67, allocations: 0.8098 MB / 3.472 GB, free: 14.24 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/10.67, allocations: 40.33 kB / 3.472 GB, free: 14.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/10.67, allocations: 0.6114 MB / 3.473 GB, free: 13.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/10.67, allocations: 279.5 kB / 3.473 GB, free: 13.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/10.67, allocations: 24.66 kB / 3.473 GB, free: 13.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/10.67, allocations: 358.7 kB / 3.473 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007946/10.67, allocations: 323.2 kB / 3.474 GB, free: 13.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/10.67, allocations: 0.7957 MB / 3.474 GB, free: 12.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/10.68, allocations: 459.6 kB / 3.475 GB, free: 12.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/10.68, allocations: 10.59 kB / 3.475 GB, free: 12.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002886/10.68, allocations: 1.242 MB / 3.476 GB, free: 12.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/10.68, allocations: 11.03 kB / 3.476 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/10.68, allocations: 20.22 kB / 3.476 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/10.69, allocations: 0.8194 MB / 3.477 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/10.69, allocations: 331.8 kB / 3.477 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/10.7, allocations: 1.521 MB / 3.479 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/10.7, allocations: 158.1 kB / 3.479 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/10.7, allocations: 78.25 kB / 3.479 GB, free: 11.37 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.0004227/10.7, allocations: 191 kB / 3.479 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/10.7, allocations: 108.7 kB / 3.479 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0096/10.71, allocations: 4.535 MB / 3.484 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.753e-05/10.71, allocations: 52.36 kB / 3.484 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/10.71, allocations: 0 / 3.484 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/10.71, allocations: 3.516 kB / 3.484 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/10.72, allocations: 5.009 MB / 3.488 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/10.72, allocations: 0 / 3.488 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002691/10.72, allocations: 201.1 kB / 3.489 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01669/10.74, allocations: 1.872 MB / 3.491 GB, free: 5.555 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/10.74, allocations: 24.05 kB / 3.491 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3174/11.06, allocations: 1.896 MB / 3.492 GB, free: 66.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/11.06, allocations: 1.062 kB / 3.492 GB, free: 66.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/11.06, allocations: 2.068 MB / 3.494 GB, free: 66.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/11.06, allocations: 330.6 kB / 3.495 GB, free: 66.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/11.06, allocations: 17.44 kB / 3.495 GB, free: 66.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/11.06, allocations: 56.91 kB / 3.495 GB, free: 66.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/11.06, allocations: 54 kB / 3.495 GB, free: 66.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.041e-05/11.06, allocations: 27.14 kB / 3.495 GB, free: 66.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001427/11.06, allocations: 0.6936 MB / 3.496 GB, free: 66.26 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/11.06, allocations: 0 / 3.496 GB, free: 66.26 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006884/11.07, allocations: 1.347 MB / 3.497 GB, free: 66.25 MB / 458.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.01356/11.08, allocations: 4.343 MB / 3.501 GB, free: 65.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004724/11.09, allocations: 1.313 MB / 3.502 GB, free: 65.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/11.09, allocations: 2.531 kB / 3.502 GB, free: 65.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003638/11.09, allocations: 0.975 MB / 3.503 GB, free: 65.15 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004745/11.1, allocations: 0.5425 MB / 3.504 GB, free: 65.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1909/11.29, allocations: 81.42 MB / 3.583 GB, free: 61.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008563/11.29, allocations: 1.35 MB / 3.585 GB, free: 60.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/11.29, allocations: 0.6408 MB / 3.585 GB, free: 60.83 MB / 458.7 MB Notification: Performance of SimCode: time 1.213e-06/11.29, allocations: 1.594 kB / 3.585 GB, free: 60.83 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.1/15.39, allocations: 59.19 MB / 3.643 GB, free: 25.99 MB / 458.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