Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.294/2.294, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.41e-05, allocations: 7.984 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3261, allocations: 61.87 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.451, allocations: 477.1 MB / 0.8652 GB, free: 53.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/1.451, allocations: 82.02 kB / 0.8653 GB, free: 53.66 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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.8934/2.345, allocations: 190.1 MB / 1.051 GB, free: 82.76 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.026e-06/2.345, allocations: 0 / 1.051 GB, free: 82.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.852e-05/2.345, allocations: 19.98 kB / 1.051 GB, free: 82.74 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001976/2.347, allocations: 0.9794 MB / 1.052 GB, free: 81.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/2.347, allocations: 12.03 kB / 1.052 GB, free: 81.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/2.348, allocations: 170.9 kB / 1.052 GB, free: 81.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/2.35, allocations: 0.5522 MB / 1.053 GB, free: 80.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/2.35, allocations: 33 kB / 1.053 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.754e-05/2.35, allocations: 40 kB / 1.053 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/2.351, allocations: 0.6017 MB / 1.053 GB, free: 80.22 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/2.351, allocations: 0 / 1.053 GB, free: 80.22 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.922e-05/2.351, allocations: 31.88 kB / 1.053 GB, free: 80.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/2.351, allocations: 12 kB / 1.053 GB, free: 80.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00091/2.352, allocations: 469.6 kB / 1.054 GB, free: 79.72 MB / 0.5261 GB 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.003554/2.356, allocations: 2.669 MB / 1.056 GB, free: 76.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/2.356, allocations: 271 kB / 1.057 GB, free: 76.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/2.357, allocations: 177.2 kB / 1.057 GB, free: 76.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/2.357, allocations: 364.4 kB / 1.057 GB, free: 75.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000515/2.357, allocations: 342.4 kB / 1.057 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 3.801e-06/2.357, allocations: 0 / 1.057 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001101/2.359, allocations: 0.4956 MB / 1.058 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/2.359, allocations: 290.7 kB / 1.058 GB, free: 74.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/2.359, allocations: 0.554 MB / 1.059 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/2.36, allocations: 29.7 kB / 1.059 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/2.36, allocations: 357.9 kB / 1.059 GB, free: 73.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/2.36, allocations: 122.3 kB / 1.059 GB, free: 73.69 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/2.36, allocations: 8 kB / 1.059 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.448e-05/2.36, allocations: 334.8 kB / 1.06 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/2.36, allocations: 157.1 kB / 1.06 GB, free: 73.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/2.361, allocations: 383.3 kB / 1.06 GB, free: 72.72 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/2.361, allocations: 237.6 kB / 1.06 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.545e-06/2.361, allocations: 4 kB / 1.06 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001261/2.363, allocations: 0.6011 MB / 1.061 GB, free: 71.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004006/2.363, allocations: 2.045 MB / 1.063 GB, free: 69.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/2.363, allocations: 4 kB / 1.063 GB, free: 69.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/2.363, allocations: 12 kB / 1.063 GB, free: 69.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006618/2.37, allocations: 0.6009 MB / 1.064 GB, free: 69.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005095/2.37, allocations: 0.6601 MB / 1.064 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008242/2.371, allocations: 71.52 kB / 1.064 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/2.371, allocations: 55.92 kB / 1.064 GB, free: 68.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/2.371, allocations: 4 kB / 1.064 GB, free: 68.23 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001132/2.372, allocations: 0.5293 MB / 1.065 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.691e-06/2.372, allocations: 4 kB / 1.065 GB, free: 67.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/2.372, allocations: 11.95 kB / 1.065 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/2.373, allocations: 135.8 kB / 1.065 GB, free: 67.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/2.373, allocations: 16.58 kB / 1.065 GB, free: 67.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/2.373, allocations: 55.58 kB / 1.065 GB, free: 67.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.915e-05/2.374, allocations: 52.06 kB / 1.065 GB, free: 67.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (55): * Single equations (assignments): 53 * 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.0002293/2.374, allocations: 178.5 kB / 1.065 GB, free: 67.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/2.374, allocations: 63.25 kB / 1.065 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/2.377, allocations: 1.183 MB / 1.066 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.571e-06/2.377, allocations: 7.953 kB / 1.066 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/2.377, allocations: 0 / 1.066 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/2.377, allocations: 0 / 1.066 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/2.379, allocations: 2.294 MB / 1.069 GB, free: 63.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/2.379, allocations: 0 / 1.069 GB, free: 63.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/2.382, allocations: 216.1 kB / 1.069 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/2.382, allocations: 4 kB / 1.069 GB, free: 63.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.356e-05/2.382, allocations: 27.98 kB / 1.069 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003651/2.382, allocations: 0.6445 MB / 1.07 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/2.382, allocations: 0 / 1.07 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/2.383, allocations: 0.8461 MB / 1.07 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/2.383, allocations: 148.3 kB / 1.071 GB, free: 61.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/2.384, allocations: 12 kB / 1.071 GB, free: 61.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005554/2.384, allocations: 35.88 kB / 1.071 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.664e-05/2.384, allocations: 43.86 kB / 1.071 GB, free: 61.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/2.384, allocations: 39.98 kB / 1.071 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006191/2.385, allocations: 447.2 kB / 1.071 GB, free: 60.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.73e-07/2.385, allocations: 0 / 1.071 GB, free: 60.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002038/2.387, allocations: 0.5697 MB / 1.072 GB, free: 60.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (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.002035/2.389, allocations: 1.124 MB / 1.073 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01186/2.401, allocations: 1.606 MB / 1.074 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.28e-06/2.401, allocations: 0 / 1.074 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003166/2.404, allocations: 467.8 kB / 1.075 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/2.406, allocations: 309.4 kB / 1.075 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/2.408, allocations: 0.7819 MB / 1.076 GB, free: 55.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/2.408, allocations: 0.8993 MB / 1.077 GB, free: 54.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006728/2.409, allocations: 135.3 kB / 1.077 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.804e-06/2.409, allocations: 4 kB / 1.077 GB, free: 54.75 MB / 0.5261 GB [CodegenCppCommon.tpl:986:14-986:14:writable] Error: Template error: Unknown exp:.Modelica.Media.IdealGases.Common.DataRecord("O2", #(0.0319988), #(0), #(271263.4223783392), #(1000), #({-34255.6342, 484.700097, 1.119010961, 0.00429388924, -6.83630052e-07, -2.0233727e-09, 1.039040018e-12}), #({-3391.45487, 18.4969947}), #({-1037939.022, 2344.830282, 1.819732036, 0.001267847582, -2.188067988e-07, 2.053719572e-11, -8.193467050000001e-16}), #({-16890.10929, 17.38716506}), #(259.8369938872708)).