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 1.909/1.909, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.305e-05, allocations: 3.984 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3087, allocations: 44.49 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.225/7.534, allocations: 2.584 GB / 2.871 GB, free: 72.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/7.534, allocations: 77.33 kB / 2.871 GB, free: 72.46 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.472/10.01, allocations: 495.6 MB / 3.355 GB, free: 44.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/10.01, allocations: 2.5 kB / 3.355 GB, free: 44.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001174/10.01, allocations: 32.91 kB / 3.355 GB, free: 44.47 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.01008/10.02, allocations: 2.204 MB / 3.358 GB, free: 43.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/10.02, allocations: 7.344 kB / 3.358 GB, free: 43.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007197/10.02, allocations: 0.7095 MB / 3.358 GB, free: 43.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/10.03, allocations: 0.952 MB / 3.359 GB, free: 42.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/10.03, allocations: 32.44 kB / 3.359 GB, free: 42.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/10.03, allocations: 54.28 kB / 3.359 GB, free: 42.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002596/10.03, allocations: 1.07 MB / 3.36 GB, free: 42.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/10.03, allocations: 1.235 MB / 3.361 GB, free: 41.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/10.03, allocations: 7.844 kB / 3.361 GB, free: 41.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/10.03, allocations: 3.531 kB / 3.361 GB, free: 41.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/10.03, allocations: 28.12 kB / 3.362 GB, free: 41.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.584/11.62, allocations: 264.2 MB / 3.62 GB, free: 95.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/11.62, allocations: 0.534 MB / 3.62 GB, free: 95.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/11.62, allocations: 278.2 kB / 3.62 GB, free: 95.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1512/11.77, allocations: 47.29 MB / 3.666 GB, free: 66.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/11.77, allocations: 40.77 kB / 3.667 GB, free: 66.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 2.605e-06/11.77, allocations: 0 / 3.667 GB, free: 66.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.006743/11.78, allocations: 1.513 MB / 3.668 GB, free: 66.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/11.78, allocations: 190.2 kB / 3.668 GB, free: 66.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/11.78, allocations: 0.8705 MB / 3.669 GB, free: 66.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/11.78, allocations: 25.7 kB / 3.669 GB, free: 66.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/11.78, allocations: 0.707 MB / 3.67 GB, free: 65.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/11.78, allocations: 179.2 kB / 3.67 GB, free: 65.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/11.78, allocations: 0 / 3.67 GB, free: 65.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/11.78, allocations: 364.3 kB / 3.67 GB, free: 65.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000667/11.78, allocations: 311.7 kB / 3.671 GB, free: 65.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009142/11.78, allocations: 0.7796 MB / 3.671 GB, free: 64.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/11.78, allocations: 0.7296 MB / 3.672 GB, free: 64.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/11.78, allocations: 5.75 kB / 3.672 GB, free: 64.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005505/11.79, allocations: 1.469 MB / 3.673 GB, free: 64.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/11.79, allocations: 9.219 kB / 3.673 GB, free: 64.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/11.79, allocations: 19.7 kB / 3.674 GB, free: 64.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/11.79, allocations: 186.7 kB / 3.674 GB, free: 64.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/11.79, allocations: 328.5 kB / 3.674 GB, free: 64.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/11.8, allocations: 1.654 MB / 3.676 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/11.8, allocations: 162.4 kB / 3.676 GB, free: 63.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/11.8, allocations: 73.45 kB / 3.676 GB, free: 63.61 MB / 490.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.0002551/11.8, allocations: 151.4 kB / 3.676 GB, free: 63.5 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00404/11.8, allocations: 0.9413 MB / 3.677 GB, free: 63.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/11.8, allocations: 115.8 kB / 3.677 GB, free: 63.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005418/11.81, allocations: 3.006 MB / 3.68 GB, free: 63.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/11.81, allocations: 20.92 kB / 3.68 GB, free: 63.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/11.81, allocations: 5.047 kB / 3.68 GB, free: 63.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/11.81, allocations: 3.609 kB / 3.68 GB, free: 63.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/11.81, allocations: 1.341 MB / 3.681 GB, free: 62.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/11.81, allocations: 0 / 3.681 GB, free: 62.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/11.81, allocations: 138.9 kB / 3.681 GB, free: 62.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003101/11.81, allocations: 2.137 MB / 3.684 GB, free: 62.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/11.81, allocations: 6.406 kB / 3.684 GB, free: 62.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003282/11.82, allocations: 2.993 MB / 3.686 GB, free: 61.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/11.82, allocations: 3.953 kB / 3.686 GB, free: 61.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004007/11.82, allocations: 2.179 MB / 3.689 GB, free: 61.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/11.82, allocations: 289.2 kB / 3.689 GB, free: 61.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/11.82, allocations: 0 / 3.689 GB, free: 61.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008858/11.82, allocations: 32.55 kB / 3.689 GB, free: 61.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/11.82, allocations: 31.94 kB / 3.689 GB, free: 61.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/11.82, allocations: 23.84 kB / 3.689 GB, free: 61.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001309/11.82, allocations: 0.7845 MB / 3.69 GB, free: 61.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/11.82, allocations: 1.688 kB / 3.69 GB, free: 61.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005861/11.83, allocations: 1.278 MB / 3.691 GB, free: 60.95 MB / 490.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: 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 (39): * Single equations (assignments): 37 * 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.01228/11.84, allocations: 3.884 MB / 3.695 GB, free: 59.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003792/11.85, allocations: 0.9753 MB / 3.696 GB, free: 59.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/11.85, allocations: 0.5 kB / 3.696 GB, free: 59.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002803/11.85, allocations: 0.5296 MB / 3.696 GB, free: 59.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/11.85, allocations: 439.2 kB / 3.697 GB, free: 59.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007604/11.86, allocations: 2.171 MB / 3.699 GB, free: 59.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/11.86, allocations: 1.192 MB / 3.7 GB, free: 58.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009325/11.86, allocations: 0.5395 MB / 3.7 GB, free: 58.37 MB / 490.7 MB Notification: Performance of SimCode: time 9.31e-07/11.86, allocations: 0 / 3.7 GB, free: 58.37 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.187/16.05, allocations: 55.62 MB / 3.755 GB, free: 108.1 MB / 490.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