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 1.996/1.996, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.89e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.092/8.208, allocations: 2.483 GB / 2.797 GB, free: 84.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003901/8.208, allocations: 79.64 kB / 2.797 GB, free: 84.43 MB / 426.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.866/11.07, allocations: 495.3 MB / 3.281 GB, free: 37.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.955e-06/11.07, allocations: 0 / 3.281 GB, free: 37.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.581e-05/11.07, allocations: 32.88 kB / 3.281 GB, free: 37.39 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.009115/11.08, allocations: 2.083 MB / 3.283 GB, free: 36.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/11.08, allocations: 10.84 kB / 3.283 GB, free: 36.41 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000282/11.08, allocations: 149.3 kB / 3.283 GB, free: 36.38 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005708/11.09, allocations: 0.5827 MB / 3.284 GB, free: 36.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/11.09, allocations: 0.9407 MB / 3.285 GB, free: 35.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.542e-05/11.09, allocations: 68.69 kB / 3.285 GB, free: 35.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/11.09, allocations: 101.6 kB / 3.285 GB, free: 35.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004543/11.1, allocations: 1.741 MB / 3.287 GB, free: 35.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/11.1, allocations: 8.438 kB / 3.287 GB, free: 35.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/11.1, allocations: 49.88 kB / 3.287 GB, free: 35.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/11.1, allocations: 26.53 kB / 3.287 GB, free: 35.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004311/11.1, allocations: 1.494 MB / 3.288 GB, free: 35.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/11.11, allocations: 8.055 MB / 3.296 GB, free: 29.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003853/11.12, allocations: 1.756 MB / 3.298 GB, free: 29.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/11.12, allocations: 367.5 kB / 3.298 GB, free: 29.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2872/11.4, allocations: 80.65 MB / 3.377 GB, free: 7.469 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/11.4, allocations: 42.81 kB / 3.377 GB, free: 7.426 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 5.781e-06/11.4, allocations: 3.703 kB / 3.377 GB, free: 7.426 MB / 474.7 MB Notification: Performance of matching and sorting (n=69): time 0.005897/11.41, allocations: 1.593 MB / 3.379 GB, free: 6.535 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/11.41, allocations: 188.4 kB / 3.379 GB, free: 6.309 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/11.41, allocations: 0.8184 MB / 3.38 GB, free: 5.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/11.41, allocations: 36.58 kB / 3.38 GB, free: 5.715 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/11.41, allocations: 0.6059 MB / 3.38 GB, free: 5.266 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/11.41, allocations: 254.5 kB / 3.38 GB, free: 5.043 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-05/11.41, allocations: 28 kB / 3.38 GB, free: 5.016 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/11.41, allocations: 349 kB / 3.381 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007209/11.41, allocations: 289 kB / 3.381 GB, free: 4.406 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009727/11.41, allocations: 0.7703 MB / 3.382 GB, free: 3.438 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009095/11.41, allocations: 427.9 kB / 3.382 GB, free: 3.062 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/11.41, allocations: 11.95 kB / 3.382 GB, free: 3.051 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002759/11.42, allocations: 1.193 MB / 3.383 GB, free: 1.945 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/11.42, allocations: 12 kB / 3.383 GB, free: 1.934 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/11.42, allocations: 16 kB / 3.383 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/11.43, allocations: 0.8183 MB / 3.384 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/11.43, allocations: 315.9 kB / 3.385 GB, free: 1.086 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3656/11.8, allocations: 1.539 MB / 3.386 GB, free: 69.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/11.8, allocations: 150.8 kB / 3.386 GB, free: 69.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/11.8, allocations: 66.28 kB / 3.386 GB, free: 69.77 MB / 474.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 (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.0003856/11.8, allocations: 197.2 kB / 3.386 GB, free: 69.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/11.8, allocations: 108.9 kB / 3.387 GB, free: 69.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008781/11.81, allocations: 4.424 MB / 3.391 GB, free: 69.35 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.363e-05/11.81, allocations: 53.83 kB / 3.391 GB, free: 69.35 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/11.81, allocations: 0.5625 kB / 3.391 GB, free: 69.35 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.952e-05/11.81, allocations: 5.547 kB / 3.391 GB, free: 69.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009504/11.82, allocations: 4.881 MB / 3.396 GB, free: 68.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/11.82, allocations: 3.375 kB / 3.396 GB, free: 68.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/11.82, allocations: 172.5 kB / 3.396 GB, free: 68.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01379/11.84, allocations: 1.879 MB / 3.398 GB, free: 68.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/11.84, allocations: 18.64 kB / 3.398 GB, free: 68.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/11.84, allocations: 1.907 MB / 3.4 GB, free: 67.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/11.84, allocations: 1.797 kB / 3.4 GB, free: 67.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004251/11.84, allocations: 1.996 MB / 3.402 GB, free: 66.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/11.84, allocations: 321.1 kB / 3.402 GB, free: 66.49 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003749/11.84, allocations: 18.92 kB / 3.402 GB, free: 66.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/11.84, allocations: 58.59 kB / 3.402 GB, free: 66.49 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/11.85, allocations: 48.19 kB / 3.402 GB, free: 66.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/11.85, allocations: 26.78 kB / 3.402 GB, free: 66.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001685/11.85, allocations: 0.6899 MB / 3.403 GB, free: 66.37 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.152e-06/11.85, allocations: 1.25 kB / 3.403 GB, free: 66.37 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007794/11.85, allocations: 1.319 MB / 3.404 GB, free: 66.32 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 (75): * Single equations (assignments): 65 * 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.01638/11.87, allocations: 4.261 MB / 3.408 GB, free: 65.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004826/11.88, allocations: 1.25 MB / 3.409 GB, free: 65.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/11.88, allocations: 0 / 3.409 GB, free: 65.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003788/11.88, allocations: 0.9284 MB / 3.41 GB, free: 65.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005402/11.89, allocations: 0.5352 MB / 3.411 GB, free: 65.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2059/12.09, allocations: 77.46 MB / 3.486 GB, free: 61.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009202/12.09, allocations: 1.345 MB / 3.488 GB, free: 60.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/12.09, allocations: 0.6249 MB / 3.488 GB, free: 60.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.372e-06/12.09, allocations: 0 / 3.488 GB, free: 60.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.014/16.11, allocations: 58 MB / 3.545 GB, free: 24.35 MB / 474.7 MB 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