Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.721e-05/4.72e-05, allocations: 4 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4056, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/1.748, allocations: 475.1 MB / 0.8373 GB, free: 83.74 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.749, allocations: 83.27 kB / 0.8374 GB, free: 83.7 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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 1.006/2.755, allocations: 197.1 MB / 1.03 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.514e-06/2.755, allocations: 0 / 1.03 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.364e-05/2.755, allocations: 16 kB / 1.03 GB, free: 104.5 MB / 0.5105 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.002724/2.758, allocations: 1.028 MB / 1.031 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/2.758, allocations: 8.031 kB / 1.031 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/2.758, allocations: 86.52 kB / 1.031 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/2.76, allocations: 170.9 kB / 1.031 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/2.762, allocations: 0.5561 MB / 1.032 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/2.762, allocations: 36.95 kB / 1.032 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/2.762, allocations: 44 kB / 1.032 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/2.763, allocations: 0.5939 MB / 1.032 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/2.763, allocations: 3.938 kB / 1.032 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/2.763, allocations: 24 kB / 1.032 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/2.763, allocations: 8 kB / 1.032 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/2.764, allocations: 473.6 kB / 1.033 GB, free: 101.4 MB / 0.5105 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.004566/2.769, allocations: 2.674 MB / 1.035 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/2.77, allocations: 274.7 kB / 1.036 GB, free: 98.22 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/2.77, allocations: 185.1 kB / 1.036 GB, free: 98.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000399/2.771, allocations: 228.5 kB / 1.036 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006009/2.771, allocations: 350.1 kB / 1.036 GB, free: 97.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.687e-06/2.771, allocations: 0 / 1.036 GB, free: 97.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001337/2.773, allocations: 0.4995 MB / 1.037 GB, free: 96.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/2.773, allocations: 294.7 kB / 1.037 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008999/2.774, allocations: 0.5463 MB / 1.038 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.85e-05/2.774, allocations: 33.7 kB / 1.038 GB, free: 95.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/2.774, allocations: 335.4 kB / 1.038 GB, free: 95.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/2.774, allocations: 118.3 kB / 1.038 GB, free: 95.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/2.774, allocations: 4 kB / 1.038 GB, free: 95.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001227/2.774, allocations: 374.8 kB / 1.039 GB, free: 95.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/2.775, allocations: 161.1 kB / 1.039 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/2.775, allocations: 383.3 kB / 1.039 GB, free: 94.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/2.776, allocations: 237.9 kB / 1.039 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/2.776, allocations: 0 / 1.039 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001551/2.777, allocations: 0.6437 MB / 1.04 GB, free: 93.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004174/2.778, allocations: 2.041 MB / 1.042 GB, free: 91.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/2.778, allocations: 4 kB / 1.042 GB, free: 91.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/2.778, allocations: 8 kB / 1.042 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01191/2.79, allocations: 0.6009 MB / 1.043 GB, free: 90.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006337/2.791, allocations: 0.668 MB / 1.043 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/2.792, allocations: 71.34 kB / 1.043 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/2.792, allocations: 51.98 kB / 1.043 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/2.792, allocations: 4 kB / 1.043 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001302/2.793, allocations: 0.5366 MB / 1.044 GB, free: 89.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/2.793, allocations: 4 kB / 1.044 GB, free: 89.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/2.793, allocations: 8.688 kB / 1.044 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/2.794, allocations: 131.8 kB / 1.044 GB, free: 89.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/2.794, allocations: 19.92 kB / 1.044 GB, free: 89.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/2.795, allocations: 59.48 kB / 1.044 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/2.795, allocations: 47.98 kB / 1.044 GB, free: 89.16 MB / 0.5105 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.000274/2.795, allocations: 184.7 kB / 1.044 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/2.796, allocations: 67.25 kB / 1.044 GB, free: 88.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/2.798, allocations: 0.8155 MB / 1.045 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/2.798, allocations: 7.984 kB / 1.045 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/2.798, allocations: 0 / 1.045 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/2.798, allocations: 3.984 kB / 1.045 GB, free: 88.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/2.801, allocations: 1.625 MB / 1.047 GB, free: 86.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/2.801, allocations: 4 kB / 1.047 GB, free: 86.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003451/2.804, allocations: 215.9 kB / 1.047 GB, free: 86.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/2.804, allocations: 4 kB / 1.047 GB, free: 86.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.931e-05/2.805, allocations: 16 kB / 1.047 GB, free: 86.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004592/2.805, allocations: 0.6406 MB / 1.048 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.805, allocations: 4.031 kB / 1.048 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/2.806, allocations: 0.7598 MB / 1.048 GB, free: 84.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/2.807, allocations: 152.2 kB / 1.048 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/2.807, allocations: 12 kB / 1.048 GB, free: 84.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/2.808, allocations: 27.98 kB / 1.049 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/2.808, allocations: 39.89 kB / 1.049 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.919e-05/2.808, allocations: 35.98 kB / 1.049 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006967/2.809, allocations: 447.2 kB / 1.049 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/2.809, allocations: 0 / 1.049 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002613/2.811, allocations: 0.6319 MB / 1.05 GB, free: 83.17 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.004641/2.816, allocations: 2.897 MB / 1.052 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02147/2.837, allocations: 1.631 MB / 1.054 GB, free: 78.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/2.838, allocations: 4 kB / 1.054 GB, free: 78.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006253/2.844, allocations: 477 kB / 1.055 GB, free: 78.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/2.847, allocations: 306.8 kB / 1.055 GB, free: 77.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/2.85, allocations: 1.006 MB / 1.056 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/2.851, allocations: 0.9044 MB / 1.057 GB, free: 75.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002623/2.853, allocations: 320.6 kB / 1.057 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006709/2.854, allocations: 243.3 kB / 1.057 GB, free: 75.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/2.854, allocations: 0 / 1.057 GB, free: 75.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09534/2.949, allocations: 38.1 MB / 1.094 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/2.95, allocations: 237.2 kB / 1.095 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.347/7.296, allocations: 4 kB / 1.095 GB, free: 36.82 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat does not exist to compare? outputFormat=mat