Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.285/2.285, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.727e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1311, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.739/1.87, allocations: 477.1 MB / 0.8667 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/1.87, allocations: 81.39 kB / 0.8668 GB, free: 148.3 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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.9907/2.861, allocations: 190.1 MB / 1.052 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/2.861, allocations: 0 / 1.052 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.592e-05/2.861, allocations: 19.91 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.002471/2.863, allocations: 0.9843 MB / 1.053 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/2.863, allocations: 11.38 kB / 1.053 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/2.864, allocations: 83.77 kB / 1.053 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/2.865, allocations: 174.1 kB / 1.054 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/2.867, allocations: 0.5536 MB / 1.054 GB, free: 119 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/2.867, allocations: 29.53 kB / 1.054 GB, free: 119 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/2.867, allocations: 41.03 kB / 1.054 GB, free: 119 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/2.869, allocations: 0.6083 MB / 1.055 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/2.869, allocations: 0 / 1.055 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/2.869, allocations: 19.19 kB / 1.055 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/2.869, allocations: 11.47 kB / 1.055 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/2.87, allocations: 481.1 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.006305/2.876, allocations: 2.663 MB / 1.058 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/2.877, allocations: 279.8 kB / 1.058 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006553/2.878, allocations: 182.5 kB / 1.058 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005889/2.879, allocations: 350.3 kB / 1.059 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/2.88, allocations: 344.1 kB / 1.059 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 4.709e-06/2.88, allocations: 0 / 1.059 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.002225/2.882, allocations: 0.4982 MB / 1.06 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/2.882, allocations: 289 kB / 1.06 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/2.885, allocations: 0.5515 MB / 1.06 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002022/2.885, allocations: 34.7 kB / 1.06 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006721/2.886, allocations: 337.2 kB / 1.061 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/2.886, allocations: 113.5 kB / 1.061 GB, free: 116 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/2.886, allocations: 8.875 kB / 1.061 GB, free: 116 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001646/2.887, allocations: 369.4 kB / 1.061 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/2.887, allocations: 172.7 kB / 1.061 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/2.888, allocations: 376 kB / 1.062 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/2.888, allocations: 244.6 kB / 1.062 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/2.888, allocations: 3.656 kB / 1.062 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001641/2.89, allocations: 0.6535 MB / 1.063 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004195/2.89, allocations: 2.036 MB / 1.065 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/2.89, allocations: 3.531 kB / 1.065 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/2.89, allocations: 10.56 kB / 1.065 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01619/2.906, allocations: 0.602 MB / 1.065 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006676/2.907, allocations: 0.666 MB / 1.066 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/2.908, allocations: 75.44 kB / 1.066 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/2.908, allocations: 51.88 kB / 1.066 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/2.909, allocations: 11.23 kB / 1.066 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001368/2.91, allocations: 0.532 MB / 1.066 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/2.91, allocations: 3.938 kB / 1.066 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/2.91, allocations: 7.812 kB / 1.066 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/2.911, allocations: 135.5 kB / 1.067 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/2.911, allocations: 7.938 kB / 1.067 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008927/2.912, allocations: 65.23 kB / 1.067 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/2.912, allocations: 50.72 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.0002901/2.912, allocations: 172.9 kB / 1.067 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/2.912, allocations: 76.11 kB / 1.067 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/2.915, allocations: 1.179 MB / 1.068 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/2.915, allocations: 3.594 kB / 1.068 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/2.915, allocations: 2.594 kB / 1.068 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/2.916, allocations: 2.625 kB / 1.068 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/2.919, allocations: 2.277 MB / 1.07 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/2.919, allocations: 3.719 kB / 1.07 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003518/2.922, allocations: 213.8 kB / 1.071 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/2.922, allocations: 3.938 kB / 1.071 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.45e-05/2.923, allocations: 26.09 kB / 1.071 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004658/2.923, allocations: 0.6495 MB / 1.071 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/2.923, allocations: 3.875 kB / 1.071 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/2.925, allocations: 0.8321 MB / 1.072 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/2.925, allocations: 156.6 kB / 1.072 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/2.925, allocations: 15.69 kB / 1.072 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007425/2.926, allocations: 30.38 kB / 1.072 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/2.926, allocations: 45.16 kB / 1.072 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.446e-05/2.926, allocations: 40.61 kB / 1.072 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007193/2.927, allocations: 441.2 kB / 1.073 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/2.927, allocations: 3.562 kB / 1.073 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002575/2.929, allocations: 0.5707 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.004377/2.934, allocations: 3.153 MB / 1.076 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03285/2.967, allocations: 1.628 MB / 1.078 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.717e-05/2.967, allocations: 3.922 kB / 1.078 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008121/2.975, allocations: 474 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.004274/2.979, allocations: 300.8 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.004575/2.984, allocations: 1.012 MB / 1.08 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/2.984, allocations: 0.9024 MB / 1.081 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005373/2.99, 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.001159/2.991, allocations: 269.9 kB / 1.082 GB, free: 106 MB / 0.5261 GB Notification: Performance of SimCode: time 1.833e-06/2.991, allocations: 0 / 1.082 GB, free: 106 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1366/3.128, allocations: 37.13 MB / 1.118 GB, free: 97.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/3.128, allocations: 252.9 kB / 1.118 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.389/7.518, allocations: 4 kB / 1.118 GB, free: 97.39 MB / 0.5261 GB