Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.579e-05/4.592e-05, allocations: 5.547 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.504/1.618, allocations: 463.1 MB / 0.7665 GB, free: 47.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/1.619, allocations: 75.64 kB / 0.7666 GB, free: 47.52 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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 1.018/2.637, allocations: 196.1 MB / 0.9581 GB, free: 19.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/2.637, allocations: 0 / 0.9581 GB, free: 19.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.511e-05/2.637, allocations: 15.98 kB / 0.9581 GB, free: 19.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.003121/2.64, allocations: 1.023 MB / 0.9591 GB, free: 18.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/2.64, allocations: 8.031 kB / 0.9591 GB, free: 18.42 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002256/2.641, allocations: 78.53 kB / 0.9592 GB, free: 18.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/2.643, allocations: 175 kB / 0.9594 GB, free: 18.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/2.645, allocations: 0.5715 MB / 0.9599 GB, free: 17.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/2.645, allocations: 40.98 kB / 0.96 GB, free: 17.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/2.645, allocations: 40 kB / 0.96 GB, free: 17.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/2.646, allocations: 0.5881 MB / 0.9606 GB, free: 16.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/2.646, allocations: 0 / 0.9606 GB, free: 16.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.485e-05/2.646, allocations: 23.94 kB / 0.9606 GB, free: 16.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/2.646, allocations: 8 kB / 0.9606 GB, free: 16.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/2.648, allocations: 467.1 kB / 0.9611 GB, free: 16.36 MB / 426.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.004585/2.652, allocations: 2.608 MB / 0.9636 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/2.653, allocations: 257.4 kB / 0.9639 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/2.653, allocations: 180.9 kB / 0.964 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/2.654, allocations: 232.6 kB / 0.9643 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005043/2.654, allocations: 257.8 kB / 0.9645 GB, free: 12.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.547e-06/2.654, allocations: 0 / 0.9645 GB, free: 12.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001212/2.655, allocations: 457.7 kB / 0.9649 GB, free: 12.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/2.656, allocations: 166.2 kB / 0.9651 GB, free: 11.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007811/2.656, allocations: 484.8 kB / 0.9656 GB, free: 11.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.042e-05/2.656, allocations: 29.7 kB / 0.9656 GB, free: 11.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/2.657, allocations: 347.1 kB / 0.9659 GB, free: 11.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/2.657, allocations: 118.3 kB / 0.966 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/2.657, allocations: 15.94 kB / 0.9661 GB, free: 10.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/2.657, allocations: 370.7 kB / 0.9664 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/2.658, allocations: 153.1 kB / 0.9666 GB, free: 10.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/2.658, allocations: 382.7 kB / 0.9669 GB, free: 9.949 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/2.659, allocations: 241.8 kB / 0.9671 GB, free: 9.707 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/2.659, allocations: 4 kB / 0.9672 GB, free: 9.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001548/2.66, allocations: 0.6463 MB / 0.9678 GB, free: 9.043 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006019/2.661, allocations: 2.732 MB / 0.9704 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/2.661, allocations: 11.95 kB / 0.9705 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/2.661, allocations: 12 kB / 0.9705 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01192/2.673, allocations: 0.6126 MB / 0.9711 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006082/2.673, allocations: 0.6601 MB / 0.9717 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009648/2.674, allocations: 63.42 kB / 0.9718 GB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/2.675, allocations: 60.08 kB / 0.9718 GB, free: 4.652 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/2.675, allocations: 4 kB / 0.9718 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001303/2.676, allocations: 0.548 MB / 0.9724 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/2.676, allocations: 8 kB / 0.9724 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/2.676, allocations: 12 kB / 0.9724 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008174/2.677, allocations: 135.8 kB / 0.9725 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/2.677, allocations: 15.89 kB / 0.9725 GB, free: 3.926 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007687/2.678, allocations: 60.11 kB / 0.9726 GB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/2.678, allocations: 55.98 kB / 0.9726 GB, free: 3.812 MB / 426.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * 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.0002724/2.678, allocations: 170.5 kB / 0.9728 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/2.678, allocations: 55.34 kB / 0.9729 GB, free: 3.578 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/2.681, allocations: 0.7595 MB / 0.9736 GB, free: 2.801 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/2.681, allocations: 4 kB / 0.9736 GB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/2.681, allocations: 3.953 kB / 0.9736 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/2.681, allocations: 4 kB / 0.9736 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/2.684, allocations: 1.646 MB / 0.9752 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/2.684, allocations: 4.25 kB / 0.9752 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003393/2.687, allocations: 211.7 kB / 0.9754 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/2.687, allocations: 7.938 kB / 0.9754 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.7e-05/2.688, allocations: 23.98 kB / 0.9755 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004192/2.688, allocations: 0.6406 MB / 0.9761 GB, free: 76 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/2.688, allocations: 4 kB / 0.9761 GB, free: 72 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.329/3.017, allocations: 0.7243 MB / 0.9768 GB, free: 76.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/3.017, allocations: 138.4 kB / 0.9769 GB, free: 76.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/3.018, allocations: 10.77 kB / 0.9769 GB, free: 76.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006396/3.018, allocations: 29.88 kB / 0.977 GB, free: 76.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/3.018, allocations: 39.83 kB / 0.977 GB, free: 76.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/3.018, allocations: 35.36 kB / 0.977 GB, free: 76.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000734/3.019, allocations: 382.2 kB / 0.9774 GB, free: 76.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.019, allocations: 0 / 0.9774 GB, free: 76.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002959/3.022, allocations: 0.6084 MB / 0.978 GB, free: 76.46 MB / 426.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: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,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.005541/3.028, allocations: 2.919 MB / 0.9808 GB, free: 74.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0221/3.05, allocations: 1.606 MB / 0.9824 GB, free: 74.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/3.05, allocations: 1.5 kB / 0.9824 GB, free: 74.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005487/3.055, allocations: 463.6 kB / 0.9829 GB, free: 74.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/3.058, allocations: 242.3 kB / 0.9831 GB, free: 74.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/3.07, allocations: 2.57 MB / 0.9856 GB, free: 74.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/3.071, allocations: 0.8951 MB / 0.9865 GB, free: 73.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002588/3.073, allocations: 305.9 kB / 0.9868 GB, free: 73.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007621/3.074, allocations: 238.2 kB / 0.987 GB, free: 73.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/3.074, allocations: 0 / 0.987 GB, free: 73.76 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09433/3.169, allocations: 35.28 MB / 1.021 GB, free: 72.52 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/3.169, allocations: 238.4 kB / 1.022 GB, free: 72.19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.251/7.42, allocations: 4 kB / 1.022 GB, free: 72.18 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat does not exist to compare? outputFormat=mat