Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 1.9/1.9, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.491e-05, allocations: 7.984 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.0896, allocations: 48.69 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.284, allocations: 463.1 MB / 0.7664 GB, free: 82.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/1.284, allocations: 83.95 kB / 0.7665 GB, free: 82.69 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.8355/2.12, allocations: 196.1 MB / 0.958 GB, free: 50.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.798e-06/2.12, allocations: 0 / 0.958 GB, free: 50.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.543e-05/2.12, allocations: 16 kB / 0.9581 GB, free: 50.45 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.002583/2.123, allocations: 1.02 MB / 0.959 GB, free: 49.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/2.123, allocations: 12.03 kB / 0.9591 GB, free: 49.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/2.125, allocations: 167 kB / 0.9592 GB, free: 49.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/2.126, allocations: 0.5755 MB / 0.9598 GB, free: 48.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/2.126, allocations: 33 kB / 0.9598 GB, free: 48.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/2.126, allocations: 40 kB / 0.9598 GB, free: 48.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/2.127, allocations: 0.5822 MB / 0.9604 GB, free: 47.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/2.127, allocations: 4 kB / 0.9604 GB, free: 47.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/2.128, allocations: 20 kB / 0.9604 GB, free: 47.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/2.128, allocations: 16 kB / 0.9605 GB, free: 47.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009165/2.129, allocations: 453.5 kB / 0.9609 GB, free: 47.41 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.132, allocations: 2.597 MB / 0.9634 GB, free: 44.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006032/2.133, allocations: 259.8 kB / 0.9637 GB, free: 44.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/2.133, allocations: 168.8 kB / 0.9638 GB, free: 44.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/2.134, allocations: 240.5 kB / 0.9641 GB, free: 43.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004407/2.134, allocations: 253.8 kB / 0.9643 GB, free: 43.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 4.518e-06/2.134, allocations: 0 / 0.9643 GB, free: 43.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001054/2.135, allocations: 465.7 kB / 0.9647 GB, free: 43.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/2.135, allocations: 166.2 kB / 0.9649 GB, free: 43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007315/2.136, allocations: 480.8 kB / 0.9654 GB, free: 42.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/2.136, allocations: 33.7 kB / 0.9654 GB, free: 42.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/2.136, allocations: 377.6 kB / 0.9658 GB, free: 42.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/2.137, allocations: 118.3 kB / 0.9659 GB, free: 42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/2.137, allocations: 12 kB / 0.9659 GB, free: 41.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/2.137, allocations: 326.8 kB / 0.9662 GB, free: 41.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/2.137, allocations: 165.1 kB / 0.9664 GB, free: 41.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/2.137, allocations: 365.6 kB / 0.9667 GB, free: 41.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/2.138, allocations: 246.5 kB / 0.9669 GB, free: 40.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.651e-06/2.138, allocations: 0 / 0.9669 GB, free: 40.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001267/2.139, allocations: 0.5968 MB / 0.9675 GB, free: 40.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000575/2.14, allocations: 2.732 MB / 0.9702 GB, free: 37.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/2.14, allocations: 8 kB / 0.9702 GB, free: 37.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/2.14, allocations: 8 kB / 0.9702 GB, free: 37.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006908/2.147, allocations: 0.6165 MB / 0.9708 GB, free: 36.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005309/2.147, allocations: 0.66 MB / 0.9714 GB, free: 35.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/2.148, allocations: 67.52 kB / 0.9715 GB, free: 35.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/2.148, allocations: 59.92 kB / 0.9716 GB, free: 35.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/2.148, allocations: 4 kB / 0.9716 GB, free: 35.79 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/2.15, allocations: 0.5283 MB / 0.9721 GB, free: 35.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/2.15, allocations: 8 kB / 0.9721 GB, free: 35.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/2.15, allocations: 12.88 kB / 0.9721 GB, free: 35.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/2.15, allocations: 135.8 kB / 0.9722 GB, free: 35.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/2.15, allocations: 15.98 kB / 0.9723 GB, free: 35.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/2.151, allocations: 59.52 kB / 0.9723 GB, free: 35.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-05/2.151, allocations: 51.98 kB / 0.9724 GB, free: 34.97 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.0002405/2.151, allocations: 178.4 kB / 0.9725 GB, free: 34.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/2.151, allocations: 59.34 kB / 0.9726 GB, free: 34.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/2.154, allocations: 0.7593 MB / 0.9733 GB, free: 33.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/2.154, allocations: 4 kB / 0.9733 GB, free: 33.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.299e-06/2.154, allocations: 0 / 0.9733 GB, free: 33.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.891e-06/2.154, allocations: 3.984 kB / 0.9733 GB, free: 33.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/2.156, allocations: 1.649 MB / 0.9749 GB, free: 32.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.546e-06/2.156, allocations: 0 / 0.9749 GB, free: 32.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/2.159, allocations: 211.9 kB / 0.9751 GB, free: 31.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/2.159, allocations: 4 kB / 0.9752 GB, free: 31.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.025e-05/2.159, allocations: 16 kB / 0.9752 GB, free: 31.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003857/2.159, allocations: 0.6446 MB / 0.9758 GB, free: 31.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.33e-06/2.159, allocations: 0 / 0.9758 GB, free: 31.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/2.16, allocations: 0.7349 MB / 0.9765 GB, free: 30.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/2.16, allocations: 140.3 kB / 0.9766 GB, free: 30.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/2.161, allocations: 11.95 kB / 0.9767 GB, free: 30.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/2.161, allocations: 35.92 kB / 0.9767 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/2.161, allocations: 31.97 kB / 0.9767 GB, free: 30.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/2.161, allocations: 27.98 kB / 0.9768 GB, free: 30.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005389/2.162, allocations: 385.5 kB / 0.9771 GB, free: 29.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.35e-07/2.162, allocations: 4 kB / 0.9771 GB, free: 29.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002429/2.164, allocations: 0.6162 MB / 0.9777 GB, free: 29.14 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.002756/2.167, allocations: 1.214 MB / 0.9789 GB, free: 27.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0124/2.18, allocations: 1.577 MB / 0.9804 GB, free: 26.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/2.18, allocations: 0 / 0.9804 GB, free: 26.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003312/2.183, allocations: 461.7 kB / 0.9809 GB, free: 25.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/2.185, allocations: 236.6 kB / 0.9811 GB, free: 25.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00779/2.192, allocations: 2.318 MB / 0.9834 GB, free: 23.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/2.193, allocations: 0.8991 MB / 0.9843 GB, free: 22.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/2.193, allocations: 107.4 kB / 0.9844 GB, free: 22.23 MB / 426.7 MB Notification: Performance of SimCode: time 2.073e-06/2.193, allocations: 0 / 0.9844 GB, free: 22.23 MB / 426.7 MB Notification: Performance of Templates: time 0.02835/2.222, allocations: 18.77 MB / 1.003 GB, free: 3.465 MB / 426.7 MB