Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.269/2.269, allocations: 235 MB / 247.2 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.457e-05, allocations: 4 kB / 305 MB, free: 5.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4008, allocations: 54.84 MB / 359.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.657, allocations: 469.9 MB / 0.8104 GB, free: 83.01 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.658, allocations: 81.14 kB / 0.8105 GB, free: 82.96 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.9756/2.633, allocations: 195.6 MB / 1.001 GB, free: 92.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.794e-06/2.633, allocations: 7.938 kB / 1.001 GB, free: 92.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.522e-05/2.634, allocations: 19.98 kB / 1.002 GB, free: 92.56 MB / 490.7 MB 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.002731/2.636, allocations: 1.025 MB / 1.003 GB, free: 91.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/2.636, allocations: 8.031 kB / 1.003 GB, free: 91.48 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/2.637, allocations: 82.53 kB / 1.003 GB, free: 91.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/2.638, allocations: 178.9 kB / 1.003 GB, free: 91.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/2.64, allocations: 0.5755 MB / 1.003 GB, free: 90.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/2.64, allocations: 29 kB / 1.003 GB, free: 90.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/2.64, allocations: 47.94 kB / 1.003 GB, free: 90.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/2.641, allocations: 0.59 MB / 1.004 GB, free: 89.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/2.641, allocations: 0 / 1.004 GB, free: 89.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.31e-05/2.642, allocations: 20 kB / 1.004 GB, free: 89.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/2.642, allocations: 12 kB / 1.004 GB, free: 89.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/2.643, allocations: 469.5 kB / 1.004 GB, free: 89.39 MB / 490.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.004329/2.647, allocations: 2.596 MB / 1.007 GB, free: 86.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006839/2.648, allocations: 263 kB / 1.007 GB, free: 86.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/2.648, allocations: 177.1 kB / 1.007 GB, free: 86.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003938/2.648, allocations: 236.6 kB / 1.008 GB, free: 85.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004839/2.649, allocations: 272.6 kB / 1.008 GB, free: 85.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.246e-06/2.649, allocations: 0 / 1.008 GB, free: 85.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001148/2.65, allocations: 446.7 kB / 1.008 GB, free: 85.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/2.65, allocations: 166.2 kB / 1.008 GB, free: 84.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007894/2.651, allocations: 484.8 kB / 1.009 GB, free: 84.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/2.651, allocations: 33.7 kB / 1.009 GB, free: 84.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/2.651, allocations: 355 kB / 1.009 GB, free: 84.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/2.652, allocations: 118.3 kB / 1.009 GB, free: 83.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/2.652, allocations: 8 kB / 1.009 GB, free: 83.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/2.652, allocations: 370.8 kB / 1.01 GB, free: 83.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/2.652, allocations: 153.1 kB / 1.01 GB, free: 83.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/2.653, allocations: 387.8 kB / 1.01 GB, free: 82.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/2.653, allocations: 249.2 kB / 1.011 GB, free: 82.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/2.653, allocations: 0 / 1.011 GB, free: 82.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001553/2.655, allocations: 0.6267 MB / 1.011 GB, free: 82.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000645/2.655, allocations: 2.736 MB / 1.014 GB, free: 79.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/2.656, allocations: 11.98 kB / 1.014 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.559e-05/2.656, allocations: 12 kB / 1.014 GB, free: 79.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01171/2.667, allocations: 0.6165 MB / 1.014 GB, free: 78.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006272/2.668, allocations: 0.6485 MB / 1.015 GB, free: 77.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008497/2.669, allocations: 75.52 kB / 1.015 GB, free: 77.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/2.669, allocations: 59.97 kB / 1.015 GB, free: 77.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/2.669, allocations: 7.953 kB / 1.015 GB, free: 77.67 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001213/2.67, allocations: 0.5201 MB / 1.016 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/2.67, allocations: 8 kB / 1.016 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/2.67, allocations: 8 kB / 1.016 GB, free: 77.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/2.671, allocations: 140.6 kB / 1.016 GB, free: 76.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/2.671, allocations: 19.92 kB / 1.016 GB, free: 76.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/2.672, allocations: 59.52 kB / 1.016 GB, free: 76.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/2.672, allocations: 55.98 kB / 1.016 GB, free: 76.86 MB / 490.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: 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 (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.0002637/2.672, allocations: 176.3 kB / 1.016 GB, free: 76.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/2.672, allocations: 59.3 kB / 1.016 GB, free: 76.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/2.675, allocations: 0.7528 MB / 1.017 GB, free: 75.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/2.675, allocations: 8 kB / 1.017 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/2.675, allocations: 0 / 1.017 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/2.675, allocations: 3.984 kB / 1.017 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/2.678, allocations: 1.646 MB / 1.019 GB, free: 74.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/2.678, allocations: 3.953 kB / 1.019 GB, free: 74.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003354/2.681, allocations: 211.8 kB / 1.019 GB, free: 73.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/2.681, allocations: 4 kB / 1.019 GB, free: 73.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.209e-05/2.681, allocations: 19.98 kB / 1.019 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004234/2.682, allocations: 0.6367 MB / 1.019 GB, free: 73.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/2.682, allocations: 7.938 kB / 1.019 GB, free: 73.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/2.683, allocations: 0.7394 MB / 1.02 GB, free: 72.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/2.683, allocations: 144.2 kB / 1.02 GB, free: 72.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/2.683, allocations: 16 kB / 1.02 GB, free: 72.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/2.684, allocations: 23.98 kB / 1.02 GB, free: 72.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/2.684, allocations: 39.86 kB / 1.02 GB, free: 72.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.83e-05/2.684, allocations: 35.98 kB / 1.02 GB, free: 72.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005955/2.685, allocations: 377.5 kB / 1.021 GB, free: 71.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.402e-06/2.685, allocations: 0 / 1.021 GB, free: 71.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002675/2.688, allocations: 0.6317 MB / 1.021 GB, free: 71.02 MB / 490.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: 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.004402/2.692, allocations: 2.952 MB / 1.024 GB, free: 67.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02099/2.713, allocations: 1.643 MB / 1.026 GB, free: 66.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/2.713, allocations: 8 kB / 1.026 GB, free: 66.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00541/2.718, allocations: 480.6 kB / 1.026 GB, free: 65.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/2.721, allocations: 253.8 kB / 1.027 GB, free: 65.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/2.732, allocations: 2.569 MB / 1.029 GB, free: 62.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/2.732, allocations: 0.9001 MB / 1.03 GB, free: 62.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002177/2.734, allocations: 304.4 kB / 1.03 GB, free: 61.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005954/2.735, allocations: 247.3 kB / 1.03 GB, free: 61.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.323e-06/2.735, allocations: 0 / 1.03 GB, free: 61.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08303/2.818, allocations: 35.56 MB / 1.065 GB, free: 25.95 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/2.818, allocations: 249 kB / 1.065 GB, free: 25.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.036/6.854, allocations: 4 kB / 1.065 GB, free: 25.62 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat does not exist to compare? outputFormat=mat