Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.248/2.248, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.702e-05, allocations: 3.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.736/1.863, allocations: 477.1 MB / 0.8667 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.863, allocations: 87.08 kB / 0.8668 GB, free: 148.2 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.999/2.862, allocations: 190.1 MB / 1.052 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.963e-06/2.862, allocations: 3.844 kB / 1.052 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.768e-05/2.862, allocations: 19.98 kB / 1.052 GB, free: 119.9 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.002607/2.865, allocations: 0.9877 MB / 1.053 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/2.865, allocations: 7.844 kB / 1.053 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/2.865, allocations: 83.22 kB / 1.053 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/2.867, allocations: 176 kB / 1.054 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/2.868, allocations: 0.5502 MB / 1.054 GB, free: 119 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/2.869, allocations: 31.12 kB / 1.054 GB, free: 119 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/2.869, allocations: 42.16 kB / 1.054 GB, free: 119 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/2.87, allocations: 0.6054 MB / 1.055 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/2.87, allocations: 2.469 kB / 1.055 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/2.87, allocations: 21.38 kB / 1.055 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/2.87, allocations: 13.09 kB / 1.055 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/2.871, allocations: 475.6 kB / 1.055 GB, free: 118.9 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.004652/2.876, allocations: 2.668 MB / 1.058 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/2.877, allocations: 280.2 kB / 1.058 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/2.877, allocations: 178.8 kB / 1.058 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003932/2.878, allocations: 343.2 kB / 1.059 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006214/2.878, allocations: 349.8 kB / 1.059 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 3.347e-06/2.878, allocations: 0 / 1.059 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001348/2.88, allocations: 0.496 MB / 1.06 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/2.88, allocations: 296.6 kB / 1.06 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008697/2.881, allocations: 0.5487 MB / 1.06 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.33e-05/2.881, allocations: 29.02 kB / 1.06 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/2.881, allocations: 340.1 kB / 1.061 GB, free: 116 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/2.881, allocations: 115.8 kB / 1.061 GB, free: 116 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/2.881, allocations: 10.88 kB / 1.061 GB, free: 116 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001133/2.881, allocations: 370.5 kB / 1.061 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/2.882, allocations: 158.2 kB / 1.061 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/2.882, allocations: 382.2 kB / 1.062 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/2.883, allocations: 243.5 kB / 1.062 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/2.883, allocations: 7.766 kB / 1.062 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001598/2.884, allocations: 0.6507 MB / 1.063 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004526/2.885, allocations: 2.037 MB / 1.065 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/2.885, allocations: 7.031 kB / 1.065 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.642e-05/2.885, allocations: 8.719 kB / 1.065 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/2.897, allocations: 0.6012 MB / 1.065 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006687/2.898, allocations: 0.6602 MB / 1.066 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/2.899, allocations: 79.39 kB / 1.066 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/2.899, allocations: 55.17 kB / 1.066 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/2.899, allocations: 10.42 kB / 1.066 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001367/2.9, allocations: 0.531 MB / 1.066 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/2.9, allocations: 11.12 kB / 1.066 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/2.9, allocations: 10.88 kB / 1.066 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007591/2.901, allocations: 124.5 kB / 1.067 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/2.901, allocations: 11.41 kB / 1.067 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008737/2.902, allocations: 68.42 kB / 1.067 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/2.902, allocations: 52.67 kB / 1.067 GB, free: 112.5 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.0002784/2.902, allocations: 175.5 kB / 1.067 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/2.903, allocations: 76.95 kB / 1.067 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/2.906, allocations: 1.169 MB / 1.068 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/2.906, allocations: 7.219 kB / 1.068 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/2.906, allocations: 0 / 1.068 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/2.906, allocations: 3.891 kB / 1.068 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/2.909, allocations: 2.275 MB / 1.07 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/2.909, allocations: 0 / 1.07 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00343/2.913, allocations: 223.3 kB / 1.071 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/2.913, allocations: 3.844 kB / 1.071 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.914e-05/2.913, allocations: 25.97 kB / 1.071 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000431/2.913, allocations: 0.6526 MB / 1.071 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/2.913, allocations: 3.969 kB / 1.071 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/2.915, allocations: 0.8318 MB / 1.072 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/2.915, allocations: 157.1 kB / 1.072 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/2.915, allocations: 13.44 kB / 1.072 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/2.916, allocations: 28.77 kB / 1.072 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/2.916, allocations: 58.42 kB / 1.072 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-05/2.916, allocations: 36.56 kB / 1.072 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000696/2.917, allocations: 443.9 kB / 1.073 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/2.917, allocations: 0 / 1.073 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002534/2.919, allocations: 0.575 MB / 1.073 GB, free: 109.3 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.004424/2.924, allocations: 3.135 MB / 1.076 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02131/2.945, allocations: 1.627 MB / 1.078 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/2.945, allocations: 3.062 kB / 1.078 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005381/2.951, allocations: 475.1 kB / 1.078 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/2.953, allocations: 296.9 kB / 1.079 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/2.956, allocations: 1.016 MB / 1.08 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/2.957, allocations: 0.9048 MB / 1.081 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003281/2.96, allocations: 1.027 MB / 1.082 GB, free: 106 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007116/2.961, allocations: 267.3 kB / 1.082 GB, free: 106 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/2.961, allocations: 0 / 1.082 GB, free: 106 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09039/3.051, allocations: 37.15 MB / 1.118 GB, free: 97.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/3.051, allocations: 249.1 kB / 1.118 GB, free: 97.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.229/7.28, allocations: 0 / 1.118 GB, free: 97.23 MB / 0.5261 GB