Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.216/2.216, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.209e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1233, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.848/7.972, allocations: 2.483 GB / 2.792 GB, free: 105.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/7.972, allocations: 82.11 kB / 2.792 GB, free: 105.5 MB / 426.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.731/10.7, allocations: 484 MB / 3.264 GB, free: 37.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.575e-06/10.7, allocations: 0 / 3.264 GB, free: 37.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001218/10.7, allocations: 32.16 kB / 3.264 GB, free: 37.73 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.01043/10.71, allocations: 2.081 MB / 3.266 GB, free: 36.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/10.71, allocations: 10.09 kB / 3.266 GB, free: 36.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006218/10.72, allocations: 0.5827 MB / 3.267 GB, free: 36.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/10.72, allocations: 0.9447 MB / 3.268 GB, free: 36.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/10.72, allocations: 29.97 kB / 3.268 GB, free: 36.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/10.72, allocations: 57.47 kB / 3.268 GB, free: 36.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002466/10.73, allocations: 0.972 MB / 3.269 GB, free: 36.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/10.73, allocations: 1.168 MB / 3.27 GB, free: 36.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/10.73, allocations: 10.94 kB / 3.27 GB, free: 36.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/10.73, allocations: 10.77 kB / 3.27 GB, free: 36.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/10.73, allocations: 24.44 kB / 3.27 GB, free: 36.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.374/12.1, allocations: 263.6 MB / 3.528 GB, free: 23.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/12.1, allocations: 492.6 kB / 3.528 GB, free: 23.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000456/12.1, allocations: 240 kB / 3.528 GB, free: 23.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1583/12.26, allocations: 47.29 MB / 3.574 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/12.26, allocations: 38.44 kB / 3.574 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 3.647e-06/12.26, allocations: 4.797 kB / 3.574 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.006674/12.27, allocations: 1.44 MB / 3.576 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/12.27, allocations: 187.7 kB / 3.576 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/12.27, allocations: 0.8746 MB / 3.577 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/12.27, allocations: 25.7 kB / 3.577 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005016/12.27, allocations: 0.6998 MB / 3.578 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/12.27, allocations: 153.2 kB / 3.578 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/12.27, allocations: 0 / 3.578 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001825/12.27, allocations: 357.5 kB / 3.578 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/12.27, allocations: 278.9 kB / 3.578 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008385/12.27, allocations: 0.7491 MB / 3.579 GB, free: 176 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3977/12.67, allocations: 0.7191 MB / 3.58 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-05/12.67, allocations: 4.562 kB / 3.58 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006705/12.68, allocations: 1.384 MB / 3.581 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/12.68, allocations: 13.22 kB / 3.581 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/12.68, allocations: 16.91 kB / 3.581 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007386/12.68, allocations: 188.4 kB / 3.581 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/12.68, allocations: 308 kB / 3.582 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/12.68, allocations: 1.652 MB / 3.583 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/12.69, allocations: 162.9 kB / 3.583 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/12.69, allocations: 70.34 kB / 3.583 GB, free: 100.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 20 (rightAdapter.state_b.phase,rightAdapter.state_a.phase,rightAdapter.state_a_nondes.phase,rightAdapter.state_b_des.phase,leftAdapter.state_b.phase,leftAdapter.state_a.phase,leftAdapter.state_a_nondes.phase,leftAdapter.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 (130): * Single equations (assignments): 128 * 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.0002662/12.69, allocations: 156.7 kB / 3.584 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004317/12.69, allocations: 0.8659 MB / 3.584 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/12.69, allocations: 111.1 kB / 3.585 GB, free: 99.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006307/12.7, allocations: 2.911 MB / 3.587 GB, free: 99.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-05/12.7, allocations: 21 kB / 3.587 GB, free: 99.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/12.7, allocations: 3.953 kB / 3.587 GB, free: 99.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/12.7, allocations: 5.281 kB / 3.587 GB, free: 99.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/12.7, allocations: 1.29 MB / 3.589 GB, free: 99.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/12.7, allocations: 0 / 3.589 GB, free: 99.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/12.7, allocations: 120.2 kB / 3.589 GB, free: 99.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004148/12.71, allocations: 2.173 MB / 3.591 GB, free: 99.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/12.71, allocations: 7.75 kB / 3.591 GB, free: 99.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00416/12.71, allocations: 2.982 MB / 3.594 GB, free: 98.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/12.71, allocations: 5.016 kB / 3.594 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004471/12.71, allocations: 2.104 MB / 3.596 GB, free: 97.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006477/12.71, allocations: 291.9 kB / 3.596 GB, free: 97.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/12.71, allocations: 1.625 kB / 3.596 GB, free: 97.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007759/12.72, allocations: 19.97 kB / 3.596 GB, free: 97.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/12.72, allocations: 28.31 kB / 3.596 GB, free: 97.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/12.72, allocations: 21.88 kB / 3.596 GB, free: 97.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001601/12.72, allocations: 0.7792 MB / 3.597 GB, free: 97.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-07/12.72, allocations: 1.656 kB / 3.597 GB, free: 97.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006927/12.72, allocations: 1.271 MB / 3.598 GB, free: 97.65 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: 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 (31): * Single equations (assignments): 29 * 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.01425/12.74, allocations: 3.801 MB / 3.602 GB, free: 96.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003916/12.74, allocations: 0.8964 MB / 3.603 GB, free: 96.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/12.74, allocations: 0.6094 kB / 3.603 GB, free: 96.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002806/12.75, allocations: 493.2 kB / 3.603 GB, free: 96.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/12.75, allocations: 425.6 kB / 3.604 GB, free: 96.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008078/12.76, allocations: 2.116 MB / 3.606 GB, free: 96.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/12.76, allocations: 1.183 MB / 3.607 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000911/12.76, allocations: 0.52 MB / 3.607 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.533e-06/12.76, allocations: 2.031 kB / 3.607 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.853/16.61, allocations: 54.46 MB / 3.661 GB, free: 91.98 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat does not exist to compare? outputFormat=mat