Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.187/2.187, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.026e-05/4.032e-05, allocations: 0 / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2988, allocations: 38.78 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.481/7.779, allocations: 2.475 GB / 2.733 GB, free: 83.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/7.78, allocations: 76.88 kB / 2.733 GB, free: 83.66 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.434/10.21, allocations: 496.3 MB / 3.217 GB, free: 26.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/10.21, allocations: 0 / 3.217 GB, free: 26.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.364e-05/10.21, allocations: 29.08 kB / 3.217 GB, free: 26.57 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.009589/10.22, allocations: 2.101 MB / 3.219 GB, free: 25.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/10.22, allocations: 7.719 kB / 3.219 GB, free: 25.42 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003418/10.22, allocations: 152.5 kB / 3.22 GB, free: 25.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006982/10.23, allocations: 0.6754 MB / 3.22 GB, free: 25.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002702/10.23, allocations: 0.9466 MB / 3.221 GB, free: 24.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/10.23, allocations: 83.75 kB / 3.221 GB, free: 24.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/10.23, allocations: 97.19 kB / 3.221 GB, free: 24.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004715/10.24, allocations: 1.782 MB / 3.223 GB, free: 23.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/10.24, allocations: 7.594 kB / 3.223 GB, free: 23.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/10.24, allocations: 49.53 kB / 3.223 GB, free: 23.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/10.24, allocations: 29.75 kB / 3.223 GB, free: 23.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004541/10.24, allocations: 1.564 MB / 3.225 GB, free: 23.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/10.25, allocations: 8.26 MB / 3.233 GB, free: 16.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/10.26, allocations: 1.784 MB / 3.234 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009252/10.26, allocations: 414.5 kB / 3.235 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5918/10.85, allocations: 80.8 MB / 3.314 GB, free: 20.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/10.85, allocations: 44.44 kB / 3.314 GB, free: 20.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 4.358e-06/10.85, allocations: 4 kB / 3.314 GB, free: 20.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.006199/10.86, allocations: 1.678 MB / 3.315 GB, free: 20.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/10.86, allocations: 200.1 kB / 3.316 GB, free: 20.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/10.86, allocations: 0.8026 MB / 3.316 GB, free: 20.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001608/10.86, allocations: 38.42 kB / 3.316 GB, free: 20.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004859/10.86, allocations: 0.6064 MB / 3.317 GB, free: 20.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/10.86, allocations: 278.1 kB / 3.317 GB, free: 19.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/10.86, allocations: 26.81 kB / 3.317 GB, free: 19.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/10.86, allocations: 357.9 kB / 3.318 GB, free: 19.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000869/10.86, allocations: 325.6 kB / 3.318 GB, free: 19.63 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/10.86, allocations: 0.7963 MB / 3.319 GB, free: 19.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/10.86, allocations: 455.3 kB / 3.319 GB, free: 19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/10.86, allocations: 7.594 kB / 3.319 GB, free: 18.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003445/10.87, allocations: 1.293 MB / 3.321 GB, free: 18.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/10.87, allocations: 19.03 kB / 3.321 GB, free: 18.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/10.87, allocations: 13.31 kB / 3.321 GB, free: 18.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01196/10.88, allocations: 0.8191 MB / 3.321 GB, free: 18.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/10.88, allocations: 323.6 kB / 3.322 GB, free: 18.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/10.88, allocations: 1.529 MB / 3.323 GB, free: 17.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/10.89, allocations: 162.7 kB / 3.323 GB, free: 17.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/10.89, allocations: 70.2 kB / 3.323 GB, free: 17.69 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.0003254/10.89, allocations: 197 kB / 3.324 GB, free: 17.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/10.89, allocations: 125.4 kB / 3.324 GB, free: 17.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006808/10.89, allocations: 4.521 MB / 3.328 GB, free: 17.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.444e-05/10.89, allocations: 45.02 kB / 3.328 GB, free: 17.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/10.89, allocations: 3.75 kB / 3.328 GB, free: 17.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/10.89, allocations: 7.453 kB / 3.328 GB, free: 17.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008345/10.9, allocations: 5.007 MB / 3.333 GB, free: 16.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/10.9, allocations: 0 / 3.333 GB, free: 16.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/10.9, allocations: 197.6 kB / 3.333 GB, free: 16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01277/10.92, allocations: 1.887 MB / 3.335 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/10.92, allocations: 20.95 kB / 3.335 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/10.92, allocations: 1.9 MB / 3.337 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/10.92, allocations: 3.281 kB / 3.337 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/10.92, allocations: 2.054 MB / 3.339 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006738/10.92, allocations: 341.7 kB / 3.339 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/10.92, allocations: 15.88 kB / 3.339 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/10.92, allocations: 58.73 kB / 3.339 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/10.92, allocations: 52.11 kB / 3.339 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/10.92, allocations: 31.12 kB / 3.339 GB, free: 14.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001306/10.93, allocations: 0.6902 MB / 3.34 GB, free: 14.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.32e-07/10.93, allocations: 0 / 3.34 GB, free: 14.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006758/10.93, allocations: 1.343 MB / 3.341 GB, free: 13.93 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.01403/10.95, allocations: 4.353 MB / 3.346 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004726/10.95, allocations: 1.32 MB / 3.347 GB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/10.95, allocations: 0 / 3.347 GB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00318/10.95, allocations: 0.9408 MB / 3.348 GB, free: 12.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00497/10.96, allocations: 0.5327 MB / 3.348 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.218/11.18, allocations: 78.19 MB / 3.425 GB, free: 296 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.325/11.5, allocations: 1.347 MB / 3.426 GB, free: 60.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003697/11.51, allocations: 0.5765 MB / 3.427 GB, free: 60.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001967/11.51, allocations: 0.6536 MB / 3.427 GB, free: 60.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.174e-06/11.51, allocations: 0 / 3.427 GB, free: 60.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1693/11.68, allocations: 69.72 MB / 3.495 GB, free: 57.47 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/11.68, allocations: 238.3 kB / 3.496 GB, free: 57.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.408/17.09, allocations: 0 / 3.496 GB, free: 57.2 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_res.mat does not exist to compare? outputFormat=mat