Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.954/1.954, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.078e-05/4.083e-05, allocations: 5.547 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.488/1.599, allocations: 463.1 MB / 0.7666 GB, free: 47.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.599, allocations: 74.83 kB / 0.7666 GB, free: 47.09 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/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/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 0.9456/2.545, allocations: 196.1 MB / 0.9582 GB, free: 19.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.335e-06/2.545, allocations: 4 kB / 0.9582 GB, free: 19.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.148e-05/2.545, allocations: 11.94 kB / 0.9582 GB, free: 19.05 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002513/2.548, allocations: 1.023 MB / 0.9592 GB, free: 17.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/2.548, allocations: 12.03 kB / 0.9592 GB, free: 17.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/2.548, allocations: 86.45 kB / 0.9593 GB, free: 17.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/2.55, allocations: 175 kB / 0.9594 GB, free: 17.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/2.551, allocations: 0.5677 MB / 0.96 GB, free: 17.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/2.551, allocations: 29 kB / 0.96 GB, free: 17.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.344e-05/2.551, allocations: 40 kB / 0.9601 GB, free: 17.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/2.552, allocations: 0.5822 MB / 0.9606 GB, free: 16.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/2.552, allocations: 0 / 0.9606 GB, free: 16.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/2.552, allocations: 24 kB / 0.9606 GB, free: 16.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/2.552, allocations: 8 kB / 0.9607 GB, free: 16.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00099/2.553, allocations: 461.5 kB / 0.9611 GB, free: 15.91 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003809/2.557, allocations: 2.596 MB / 0.9636 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/2.558, allocations: 262.7 kB / 0.9639 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/2.558, allocations: 168.9 kB / 0.964 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003757/2.559, allocations: 232.6 kB / 0.9643 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004721/2.559, allocations: 261.8 kB / 0.9645 GB, free: 12.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.156e-06/2.559, allocations: 4 kB / 0.9645 GB, free: 12.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001063/2.56, allocations: 449.5 kB / 0.9649 GB, free: 11.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/2.56, allocations: 166.5 kB / 0.9651 GB, free: 11.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006866/2.561, allocations: 484.8 kB / 0.9656 GB, free: 11.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/2.561, allocations: 29.7 kB / 0.9656 GB, free: 11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/2.561, allocations: 351.1 kB / 0.9659 GB, free: 10.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/2.562, allocations: 114.4 kB / 0.966 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/2.562, allocations: 15.94 kB / 0.9661 GB, free: 10.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/2.562, allocations: 370.7 kB / 0.9664 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/2.562, allocations: 157.1 kB / 0.9666 GB, free: 9.992 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/2.563, allocations: 365.7 kB / 0.9669 GB, free: 9.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/2.563, allocations: 245.8 kB / 0.9671 GB, free: 9.289 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/2.563, allocations: 0 / 0.9671 GB, free: 9.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001386/2.565, allocations: 0.6315 MB / 0.9678 GB, free: 8.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005341/2.565, allocations: 2.731 MB / 0.9704 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/2.565, allocations: 11.95 kB / 0.9704 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.27e-05/2.565, allocations: 11.94 kB / 0.9704 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01167/2.577, allocations: 0.6126 MB / 0.971 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006031/2.577, allocations: 0.6562 MB / 0.9717 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/2.578, allocations: 71.52 kB / 0.9718 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/2.578, allocations: 55.92 kB / 0.9718 GB, free: 4.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/2.578, allocations: 4 kB / 0.9718 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001208/2.58, allocations: 0.536 MB / 0.9723 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/2.58, allocations: 8.938 kB / 0.9723 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/2.58, allocations: 12 kB / 0.9724 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/2.58, allocations: 139.8 kB / 0.9725 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/2.58, allocations: 15.94 kB / 0.9725 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/2.581, allocations: 59.56 kB / 0.9726 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/2.581, allocations: 59.97 kB / 0.9726 GB, free: 3.418 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * 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.000209/2.581, allocations: 178.4 kB / 0.9728 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/2.581, allocations: 55.34 kB / 0.9728 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/2.584, allocations: 0.7439 MB / 0.9736 GB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/2.584, allocations: 4 kB / 0.9736 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/2.584, allocations: 7.938 kB / 0.9736 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/2.584, allocations: 0 / 0.9736 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/2.587, allocations: 1.653 MB / 0.9752 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/2.587, allocations: 0 / 0.9752 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003273/2.59, allocations: 208 kB / 0.9754 GB, free: 392 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/2.59, allocations: 4 kB / 0.9754 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/2.59, allocations: 16 kB / 0.9754 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3162/2.906, allocations: 0.6363 MB / 0.976 GB, free: 76.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/2.906, allocations: 2.5 kB / 0.976 GB, free: 76.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/2.908, allocations: 0.7321 MB / 0.9767 GB, free: 75.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/2.908, allocations: 140.8 kB / 0.9769 GB, free: 75.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/2.908, allocations: 14.06 kB / 0.9769 GB, free: 75.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005563/2.909, allocations: 29.12 kB / 0.9769 GB, free: 75.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/2.909, allocations: 34.83 kB / 0.977 GB, free: 75.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.634e-05/2.909, allocations: 34.17 kB / 0.977 GB, free: 75.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006862/2.91, allocations: 380.2 kB / 0.9774 GB, free: 75.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.222e-06/2.91, allocations: 0 / 0.9774 GB, free: 75.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002894/2.913, allocations: 0.6106 MB / 0.978 GB, free: 75.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.005013/2.918, allocations: 2.945 MB / 0.9808 GB, free: 74.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02172/2.939, allocations: 1.588 MB / 0.9824 GB, free: 74.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/2.94, allocations: 5.125 kB / 0.9824 GB, free: 74.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005533/2.945, allocations: 456.1 kB / 0.9828 GB, free: 73.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/2.947, allocations: 248.8 kB / 0.9831 GB, free: 73.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/2.959, allocations: 2.564 MB / 0.9856 GB, free: 73.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/2.959, allocations: 0.8952 MB / 0.9864 GB, free: 72.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002406/2.962, allocations: 302.1 kB / 0.9867 GB, free: 72.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006699/2.962, allocations: 240.1 kB / 0.9869 GB, free: 72.94 MB / 426.7 MB Notification: Performance of SimCode: time 1.233e-06/2.963, allocations: 0 / 0.9869 GB, free: 72.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09314/3.056, allocations: 35.31 MB / 1.021 GB, free: 71.63 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/3.056, allocations: 237 kB / 1.022 GB, free: 71.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.24/7.296, allocations: 0 / 1.022 GB, free: 71.32 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat does not exist to compare? outputFormat=mat