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.249/2.249, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.183e-05/4.21e-05, allocations: 0 / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.282/8.398, allocations: 2.483 GB / 2.797 GB, free: 82.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/8.398, allocations: 82.39 kB / 2.798 GB, free: 82.6 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.702/11.1, allocations: 495.3 MB / 3.281 GB, free: 37.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/11.1, allocations: 0 / 3.281 GB, free: 37.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001406/11.1, allocations: 37.42 kB / 3.281 GB, free: 37.34 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.01062/11.11, allocations: 2.078 MB / 3.283 GB, free: 36.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/11.11, allocations: 7.719 kB / 3.283 GB, free: 36.38 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005097/11.11, allocations: 150 kB / 3.283 GB, free: 36.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00665/11.12, allocations: 0.5874 MB / 3.284 GB, free: 36.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004117/11.12, allocations: 0.9447 MB / 3.285 GB, free: 35.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/11.12, allocations: 74.53 kB / 3.285 GB, free: 35.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003942/11.12, allocations: 92.22 kB / 3.285 GB, free: 35.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009618/11.13, allocations: 1.726 MB / 3.287 GB, free: 35.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/11.13, allocations: 7.469 kB / 3.287 GB, free: 35.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/11.13, allocations: 45.94 kB / 3.287 GB, free: 35.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/11.13, allocations: 24.16 kB / 3.287 GB, free: 35.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004661/11.14, allocations: 1.471 MB / 3.288 GB, free: 35.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/11.15, allocations: 8.058 MB / 3.296 GB, free: 29.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003986/11.15, allocations: 1.757 MB / 3.298 GB, free: 29.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007873/11.15, allocations: 359.4 kB / 3.298 GB, free: 29.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2981/11.45, allocations: 80.65 MB / 3.377 GB, free: 7.012 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/11.45, allocations: 38.75 kB / 3.377 GB, free: 6.969 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 4.388e-06/11.45, allocations: 0 / 3.377 GB, free: 6.969 MB / 474.7 MB Notification: Performance of matching and sorting (n=69): time 0.005895/11.46, allocations: 1.591 MB / 3.379 GB, free: 6.082 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/11.46, allocations: 195 kB / 3.379 GB, free: 5.852 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/11.46, allocations: 0.8105 MB / 3.38 GB, free: 5.297 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/11.46, allocations: 40.52 kB / 3.38 GB, free: 5.262 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000442/11.46, allocations: 0.6051 MB / 3.38 GB, free: 4.816 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/11.46, allocations: 251 kB / 3.38 GB, free: 4.594 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-05/11.46, allocations: 24 kB / 3.38 GB, free: 4.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/11.46, allocations: 353 kB / 3.381 GB, free: 4.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007095/11.46, allocations: 293.2 kB / 3.381 GB, free: 3.957 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009473/11.46, allocations: 0.7621 MB / 3.382 GB, free: 3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/11.46, allocations: 422.3 kB / 3.382 GB, free: 2.629 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/11.46, allocations: 4 kB / 3.382 GB, free: 2.625 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003119/11.47, allocations: 1.157 MB / 3.383 GB, free: 1.559 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/11.47, allocations: 13.88 kB / 3.383 GB, free: 1.547 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/11.47, allocations: 19.94 kB / 3.383 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01224/11.48, allocations: 0.812 MB / 3.384 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/11.48, allocations: 321.9 kB / 3.384 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3683/11.85, allocations: 1.518 MB / 3.386 GB, free: 69.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/11.85, allocations: 154.8 kB / 3.386 GB, free: 69.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/11.85, allocations: 67.03 kB / 3.386 GB, free: 69.56 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.0003972/11.85, allocations: 188 kB / 3.386 GB, free: 69.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/11.85, allocations: 107.1 kB / 3.386 GB, free: 69.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00831/11.86, allocations: 4.438 MB / 3.391 GB, free: 69.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.747e-05/11.86, allocations: 46.81 kB / 3.391 GB, free: 69.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/11.86, allocations: 1.734 kB / 3.391 GB, free: 69.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/11.86, allocations: 4.031 kB / 3.391 GB, free: 69.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008991/11.87, allocations: 4.88 MB / 3.396 GB, free: 68.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/11.87, allocations: 1.062 kB / 3.396 GB, free: 68.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/11.87, allocations: 179.2 kB / 3.396 GB, free: 68.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01377/11.89, allocations: 1.879 MB / 3.398 GB, free: 68.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/11.89, allocations: 19.78 kB / 3.398 GB, free: 68.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/11.89, allocations: 1.903 MB / 3.399 GB, free: 66.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/11.89, allocations: 0.5625 kB / 3.399 GB, free: 66.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00382/11.89, allocations: 1.99 MB / 3.401 GB, free: 66.47 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008539/11.89, allocations: 320.6 kB / 3.402 GB, free: 66.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/11.89, allocations: 16.84 kB / 3.402 GB, free: 66.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009337/11.9, allocations: 62.23 kB / 3.402 GB, free: 66.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/11.9, allocations: 51.83 kB / 3.402 GB, free: 66.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.75e-05/11.9, allocations: 23.17 kB / 3.402 GB, free: 66.28 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001584/11.9, allocations: 0.6889 MB / 3.403 GB, free: 66.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.72e-07/11.9, allocations: 0 / 3.403 GB, free: 66.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008095/11.91, allocations: 1.328 MB / 3.404 GB, free: 66.11 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.01593/11.92, allocations: 4.271 MB / 3.408 GB, free: 64.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004677/11.93, allocations: 1.223 MB / 3.409 GB, free: 64.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/11.93, allocations: 0.9062 kB / 3.409 GB, free: 64.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00377/11.93, allocations: 0.9277 MB / 3.41 GB, free: 64.94 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005004/11.93, allocations: 0.5287 MB / 3.411 GB, free: 64.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2054/12.14, allocations: 77.45 MB / 3.486 GB, free: 61.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009888/12.14, allocations: 1.34 MB / 3.488 GB, free: 60.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/12.14, allocations: 0.6252 MB / 3.488 GB, free: 60.74 MB / 474.7 MB Notification: Performance of SimCode: time 1.733e-06/12.14, allocations: 0 / 3.488 GB, free: 60.74 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.066/16.21, allocations: 58.03 MB / 3.545 GB, free: 24.02 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