Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.588/1.588, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.834e-05, allocations: 0 / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2513, allocations: 38.77 MB / 263.8 MB, free: 9.754 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.176/7.427, allocations: 2.475 GB / 2.733 GB, free: 83.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/7.428, allocations: 78.94 kB / 2.733 GB, free: 83.62 MB / 362.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.497/9.925, allocations: 496.3 MB / 3.217 GB, free: 25.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/9.925, allocations: 0 / 3.217 GB, free: 25.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.664e-05/9.925, allocations: 39.48 kB / 3.217 GB, free: 25.91 MB / 378.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.009139/9.934, allocations: 2.098 MB / 3.219 GB, free: 24.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/9.934, allocations: 10.28 kB / 3.219 GB, free: 24.76 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003229/9.934, allocations: 154.5 kB / 3.22 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00682/9.941, allocations: 0.6789 MB / 3.22 GB, free: 24.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/9.944, allocations: 0.9492 MB / 3.221 GB, free: 23.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/9.944, allocations: 73.73 kB / 3.221 GB, free: 23.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/9.944, allocations: 99.03 kB / 3.221 GB, free: 23.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004858/9.949, allocations: 1.796 MB / 3.223 GB, free: 22.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.944e-05/9.949, allocations: 9.125 kB / 3.223 GB, free: 22.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/9.949, allocations: 44.75 kB / 3.223 GB, free: 22.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/9.949, allocations: 27.25 kB / 3.223 GB, free: 22.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004651/9.954, allocations: 1.593 MB / 3.225 GB, free: 22.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/9.966, allocations: 8.257 MB / 3.233 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/9.97, allocations: 1.805 MB / 3.234 GB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008866/9.971, allocations: 407 kB / 3.235 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5741/10.54, allocations: 80.65 MB / 3.314 GB, free: 20.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/10.54, allocations: 42.59 kB / 3.314 GB, free: 20.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 4.829e-06/10.54, allocations: 0 / 3.314 GB, free: 20.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.00611/10.55, allocations: 1.681 MB / 3.315 GB, free: 20.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/10.55, allocations: 200.3 kB / 3.316 GB, free: 20.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/10.55, allocations: 0.8013 MB / 3.316 GB, free: 20.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/10.55, allocations: 40.42 kB / 3.316 GB, free: 20.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/10.55, allocations: 0.6165 MB / 3.317 GB, free: 20.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/10.55, allocations: 273.2 kB / 3.317 GB, free: 19.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.454e-05/10.55, allocations: 23.66 kB / 3.317 GB, free: 19.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/10.55, allocations: 362.4 kB / 3.318 GB, free: 19.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008436/10.55, allocations: 324.7 kB / 3.318 GB, free: 19.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/10.56, allocations: 0.8118 MB / 3.319 GB, free: 18.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/10.56, allocations: 455.6 kB / 3.319 GB, free: 18.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/10.56, allocations: 3.344 kB / 3.319 GB, free: 18.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003061/10.56, allocations: 1.281 MB / 3.32 GB, free: 18.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/10.56, allocations: 11.59 kB / 3.32 GB, free: 18.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/10.56, allocations: 16.16 kB / 3.32 GB, free: 18.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/10.57, allocations: 0.8219 MB / 3.321 GB, free: 18.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/10.57, allocations: 327.7 kB / 3.322 GB, free: 18.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/10.58, allocations: 1.527 MB / 3.323 GB, free: 17.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/10.58, allocations: 161.2 kB / 3.323 GB, free: 17.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/10.58, allocations: 70.23 kB / 3.323 GB, free: 17.68 MB / 394.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.0003144/10.58, allocations: 201.5 kB / 3.323 GB, free: 17.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/10.58, allocations: 111 kB / 3.324 GB, free: 17.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006673/10.59, allocations: 4.528 MB / 3.328 GB, free: 17.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.758e-05/10.59, allocations: 44.94 kB / 3.328 GB, free: 17.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/10.59, allocations: 8 kB / 3.328 GB, free: 17.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/10.59, allocations: 6.891 kB / 3.328 GB, free: 17.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00784/10.59, allocations: 5.009 MB / 3.333 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/10.59, allocations: 0 / 3.333 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/10.6, allocations: 197.4 kB / 3.333 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01241/10.61, allocations: 1.879 MB / 3.335 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/10.61, allocations: 25.02 kB / 3.335 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/10.61, allocations: 1.904 MB / 3.337 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/10.61, allocations: 3.906 kB / 3.337 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/10.61, allocations: 2.051 MB / 3.339 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007045/10.61, allocations: 340.3 kB / 3.339 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/10.61, allocations: 15.38 kB / 3.339 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/10.62, allocations: 65.64 kB / 3.339 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/10.62, allocations: 54.69 kB / 3.339 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-05/10.62, allocations: 33.55 kB / 3.339 GB, free: 14.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001282/10.62, allocations: 0.6876 MB / 3.34 GB, free: 13.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/10.62, allocations: 0 / 3.34 GB, free: 13.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006816/10.62, allocations: 1.336 MB / 3.341 GB, free: 13.91 MB / 394.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.01446/10.64, allocations: 4.339 MB / 3.345 GB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004853/10.64, allocations: 1.348 MB / 3.347 GB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/10.64, allocations: 0 / 3.347 GB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003517/10.65, allocations: 0.9686 MB / 3.348 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004655/10.65, allocations: 0.5371 MB / 3.348 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4955/11.15, allocations: 77.97 MB / 3.424 GB, free: 61.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009075/11.15, allocations: 1.353 MB / 3.426 GB, free: 60.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/11.15, allocations: 0.6427 MB / 3.426 GB, free: 60.65 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/11.15, allocations: 0 / 3.426 GB, free: 60.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.964/15.11, allocations: 59 MB / 3.484 GB, free: 57.57 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_res.mat does not exist to compare? outputFormat=mat