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.965/1.965, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.471e-05/1.461e-05, allocations: 0 / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 48.69 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.434/1.538, allocations: 462.6 MB / 0.7607 GB, free: 43.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/1.538, allocations: 83.5 kB / 0.7607 GB, free: 43.07 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 0.9323/2.47, allocations: 190.4 MB / 0.9467 GB, free: 26.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/2.47, allocations: 4 kB / 0.9467 GB, free: 26.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.788e-05/2.47, allocations: 12 kB / 0.9467 GB, free: 26.09 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.00387/2.474, allocations: 1.023 MB / 0.9477 GB, free: 25.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/2.474, allocations: 8.031 kB / 0.9477 GB, free: 25.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/2.477, allocations: 171 kB / 0.9479 GB, free: 24.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/2.48, allocations: 0.5701 MB / 0.9485 GB, free: 24.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.046e-05/2.48, allocations: 16 kB / 0.9485 GB, free: 24.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/2.48, allocations: 31.94 kB / 0.9485 GB, free: 24.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001814/2.482, allocations: 430.5 kB / 0.9489 GB, free: 23.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/2.484, allocations: 0.5309 MB / 0.9494 GB, free: 23.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/2.484, allocations: 0 / 0.9494 GB, free: 23.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/2.484, allocations: 0 / 0.9494 GB, free: 23.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/2.484, allocations: 12 kB / 0.9494 GB, free: 23.17 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.00628/2.49, allocations: 2.7 MB / 0.9521 GB, free: 20.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/2.491, allocations: 254.8 kB / 0.9523 GB, free: 20.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/2.492, allocations: 105 kB / 0.9524 GB, free: 19.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/2.492, allocations: 191 kB / 0.9526 GB, free: 19.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003237/2.492, allocations: 189 kB / 0.9528 GB, free: 19.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.015e-06/2.492, allocations: 4 kB / 0.9528 GB, free: 19.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.01599/2.508, allocations: 1.498 MB / 0.9542 GB, free: 18.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/2.508, allocations: 162.2 kB / 0.9544 GB, free: 17.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007894/2.509, allocations: 0.502 MB / 0.9549 GB, free: 17.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/2.509, allocations: 25.7 kB / 0.9549 GB, free: 17.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/2.51, allocations: 382.6 kB / 0.9553 GB, free: 16.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.962e-05/2.51, allocations: 74.94 kB / 0.9554 GB, free: 16.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/2.51, allocations: 4 kB / 0.9554 GB, free: 16.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/2.51, allocations: 366.8 kB / 0.9557 GB, free: 16.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/2.51, allocations: 141.1 kB / 0.9558 GB, free: 16.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/2.511, allocations: 366.4 kB / 0.9562 GB, free: 15.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01574/2.526, allocations: 1.439 MB / 0.9576 GB, free: 14.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/2.526, allocations: 0 / 0.9576 GB, free: 14.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0165/2.543, allocations: 1.819 MB / 0.9594 GB, free: 12.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005797/2.544, allocations: 2.739 MB / 0.962 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/2.544, allocations: 8 kB / 0.9621 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.821e-05/2.544, allocations: 12 kB / 0.9621 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/2.555, allocations: 0.6048 MB / 0.9627 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0056/2.561, allocations: 1.011 MB / 0.9636 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/2.562, allocations: 67.27 kB / 0.9637 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/2.562, allocations: 59.98 kB / 0.9638 GB, free: 7.836 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/2.562, allocations: 4.094 kB / 0.9638 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004247/2.566, allocations: 0.8971 MB / 0.9646 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/2.566, allocations: 8 kB / 0.9647 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/2.566, allocations: 12 kB / 0.9647 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007448/2.567, allocations: 140.5 kB / 0.9648 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/2.567, allocations: 11.94 kB / 0.9648 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/2.568, allocations: 47.67 kB / 0.9649 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/2.568, allocations: 52.03 kB / 0.9649 GB, free: 6.668 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.0002371/2.568, allocations: 162.5 kB / 0.9651 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01586/2.584, allocations: 1.515 MB / 0.9665 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/2.584, allocations: 55.34 kB / 0.9666 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005177/2.589, allocations: 0.6996 MB / 0.9673 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/2.589, allocations: 4 kB / 0.9673 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/2.589, allocations: 0 / 0.9673 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/2.589, allocations: 3.938 kB / 0.9673 GB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007966/2.59, allocations: 429.9 kB / 0.9677 GB, free: 3.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/2.59, allocations: 4 kB / 0.9677 GB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00314/2.593, allocations: 171.8 kB / 0.9679 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/2.593, allocations: 4 kB / 0.9679 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/2.594, allocations: 11.98 kB / 0.9679 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/2.595, allocations: 0.7147 MB / 0.9686 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/2.595, allocations: 4.031 kB / 0.9686 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004847/2.6, allocations: 0.6528 MB / 0.9692 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/2.6, allocations: 152.3 kB / 0.9694 GB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/2.601, allocations: 0 / 0.9694 GB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/2.601, allocations: 15.98 kB / 0.9694 GB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/2.601, allocations: 27.91 kB / 0.9694 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/2.601, allocations: 8 kB / 0.9694 GB, free: 1.922 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006002/2.602, allocations: 403.2 kB / 0.9698 GB, free: 1.523 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.82e-07/2.602, allocations: 0 / 0.9698 GB, free: 1.523 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002442/2.604, allocations: 0.5771 MB / 0.9704 GB, free: 0.9453 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 21 * 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.3045/2.909, allocations: 2.402 MB / 0.9727 GB, free: 82.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02128/2.93, allocations: 1.504 MB / 0.9742 GB, free: 82.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/2.93, allocations: 0.6562 kB / 0.9742 GB, free: 82.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0052/2.935, allocations: 373.2 kB / 0.9745 GB, free: 82.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/2.937, allocations: 210.5 kB / 0.9747 GB, free: 82.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/2.949, allocations: 2.545 MB / 0.9772 GB, free: 82.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/2.95, allocations: 0.8898 MB / 0.9781 GB, free: 81.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002346/2.952, allocations: 292 kB / 0.9784 GB, free: 81.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005674/2.953, allocations: 221.8 kB / 0.9786 GB, free: 81.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.733e-06/2.953, allocations: 0 / 0.9786 GB, free: 81.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/3.056, allocations: 24.31 MB / 1.002 GB, free: 80.78 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/3.056, allocations: 193.8 kB / 1.002 GB, free: 80.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.661/6.718, allocations: 0 / 1.002 GB, free: 80.59 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