Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.407/2.407, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.637e-05, allocations: 4 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.404, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7559/1.16, allocations: 289 MB / 0.6555 GB, free: 3.902 MB / 458.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/1.16, allocations: 80.27 kB / 0.6556 GB, free: 3.859 MB / 458.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:306:3-308: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.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:306:3-308: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 0.7333/1.894, allocations: 117.3 MB / 0.7702 GB, free: 141 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.294e-06/1.894, allocations: 0 / 0.7702 GB, free: 141 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 4.825e-05/1.894, allocations: 16 kB / 0.7702 GB, free: 141 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001795/1.896, allocations: 0.8663 MB / 0.771 GB, free: 140.1 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.896, allocations: 12.03 kB / 0.7711 GB, free: 140.1 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/1.896, allocations: 86.52 kB / 0.7711 GB, free: 140 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004409/1.896, allocations: 91.12 kB / 0.7712 GB, free: 139.9 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/1.898, allocations: 0.5132 MB / 0.7717 GB, free: 139.4 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/1.898, allocations: 33 kB / 0.7718 GB, free: 139.3 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-05/1.898, allocations: 47.95 kB / 0.7718 GB, free: 139.3 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/1.899, allocations: 0.6415 MB / 0.7724 GB, free: 138.6 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/1.899, allocations: 4 kB / 0.7724 GB, free: 138.6 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/1.899, allocations: 28 kB / 0.7725 GB, free: 138.6 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/1.899, allocations: 15.94 kB / 0.7725 GB, free: 138.5 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/1.901, allocations: 0.4938 MB / 0.773 GB, free: 138 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005002/1.906, allocations: 3.081 MB / 0.776 GB, free: 134.8 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/1.906, allocations: 206.7 kB / 0.7762 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/1.907, allocations: 137.1 kB / 0.7763 GB, free: 134.4 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/1.907, allocations: 340.4 kB / 0.7766 GB, free: 134 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005176/1.908, allocations: 282.9 kB / 0.7769 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=28): time 3.747e-06/1.908, allocations: 0 / 0.7769 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=28): time 0.001309/1.909, allocations: 405.5 kB / 0.7773 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.909, allocations: 290.7 kB / 0.7775 GB, free: 132.9 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007807/1.91, allocations: 488.8 kB / 0.778 GB, free: 132.5 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/1.91, allocations: 37.7 kB / 0.7781 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/1.91, allocations: 335.1 kB / 0.7784 GB, free: 132.1 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 9.475e-05/1.91, allocations: 94.73 kB / 0.7785 GB, free: 132 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/1.91, allocations: 8 kB / 0.7785 GB, free: 132 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.911, allocations: 370.8 kB / 0.7788 GB, free: 131.6 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/1.911, allocations: 137.1 kB / 0.779 GB, free: 131.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/1.911, allocations: 371.8 kB / 0.7793 GB, free: 131 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/1.912, allocations: 223 kB / 0.7795 GB, free: 130.8 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/1.912, allocations: 4 kB / 0.7795 GB, free: 130.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001496/1.913, allocations: 0.5968 MB / 0.7801 GB, free: 130.2 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004916/1.914, allocations: 2.123 MB / 0.7822 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.914, allocations: 4 kB / 0.7822 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/1.914, allocations: 8 kB / 0.7822 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/1.916, allocations: 179.7 kB / 0.7824 GB, free: 127.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005037/1.917, allocations: 0.6133 MB / 0.783 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009513/1.918, allocations: 87.28 kB / 0.783 GB, free: 127 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.439e-05/1.918, allocations: 31.98 kB / 0.7831 GB, free: 126.9 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.918, allocations: 4.781 kB / 0.7831 GB, free: 126.9 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00124/1.919, allocations: 0.5128 MB / 0.7836 GB, free: 126.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.919, allocations: 4 kB / 0.7836 GB, free: 126.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.919, allocations: 8 kB / 0.7836 GB, free: 126.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/1.92, allocations: 115.8 kB / 0.7837 GB, free: 126.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1.92, allocations: 15.92 kB / 0.7837 GB, free: 126.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000769/1.921, allocations: 64.08 kB / 0.7838 GB, free: 126.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/1.921, allocations: 31.98 kB / 0.7838 GB, free: 126.2 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.00022/1.921, allocations: 164.9 kB / 0.784 GB, free: 126 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.921, allocations: 71.19 kB / 0.784 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/1.923, allocations: 0.7475 MB / 0.7848 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.923, allocations: 7.984 kB / 0.7848 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.923, allocations: 3.984 kB / 0.7848 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/1.923, allocations: 0 / 0.7848 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000818/1.924, allocations: 0.5208 MB / 0.7853 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.924, allocations: 0 / 0.7853 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.925, allocations: 123.8 kB / 0.7854 GB, free: 124.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/1.925, allocations: 4 kB / 0.7854 GB, free: 124.5 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/1.925, allocations: 12 kB / 0.7854 GB, free: 124.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002896/1.925, allocations: 0.5937 MB / 0.786 GB, free: 123.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.925, allocations: 4.031 kB / 0.786 GB, free: 123.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/1.926, allocations: 0.529 MB / 0.7865 GB, free: 123.3 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/1.927, allocations: 208.2 kB / 0.7867 GB, free: 123.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/1.927, allocations: 16 kB / 0.7867 GB, free: 123.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/1.927, allocations: 27.91 kB / 0.7868 GB, free: 123 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/1.928, allocations: 24.3 kB / 0.7868 GB, free: 123 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/1.928, allocations: 23.98 kB / 0.7868 GB, free: 123 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0006318/1.928, allocations: 407.2 kB / 0.7872 GB, free: 122.6 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.31e-07/1.928, allocations: 0 / 0.7872 GB, free: 122.6 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001884/1.93, allocations: 459.5 kB / 0.7876 GB, free: 122.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0024/1.933, allocations: 1.438 MB / 0.789 GB, free: 120.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.003291/1.936, allocations: 0.8897 MB / 0.7899 GB, free: 119.8 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/1.936, allocations: 0 / 0.7899 GB, free: 119.8 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/1.937, allocations: 363.8 kB / 0.7903 GB, free: 119.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/1.94, allocations: 257.7 kB / 0.7905 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/1.943, allocations: 0.9402 MB / 0.7914 GB, free: 118.2 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/1.943, allocations: 0.9009 MB / 0.7923 GB, free: 117.2 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001215/1.944, allocations: 232.5 kB / 0.7925 GB, free: 117 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/1.945, allocations: 227.3 kB / 0.7927 GB, free: 116.8 MB / 0.4949 GB Notification: Performance of SimCode: time 1.232e-06/1.945, allocations: 0 / 0.7927 GB, free: 116.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06593/2.011, allocations: 22.18 MB / 0.8144 GB, free: 94.67 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/2.011, allocations: 252.2 kB / 0.8146 GB, free: 94.33 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.388/5.399, allocations: 4.062 kB / 0.8146 GB, free: 94.32 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat does not exist to compare? outputFormat=mat