Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.807e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.39, allocations: 54.85 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7221/1.112, allocations: 283.8 MB / 0.6286 GB, free: 47.86 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.113, allocations: 82.27 kB / 0.6287 GB, free: 47.82 MB / 458.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.6908/1.803, allocations: 115.8 MB / 0.7418 GB, free: 143 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.803, allocations: 0 / 0.7418 GB, free: 143 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.84e-05/1.803, allocations: 15.5 kB / 0.7418 GB, free: 143 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001861/1.805, allocations: 0.8583 MB / 0.7426 GB, free: 142.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.805, allocations: 11.19 kB / 0.7426 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/1.806, allocations: 85.91 kB / 0.7427 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004459/1.806, allocations: 77.98 kB / 0.7428 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/1.807, allocations: 0.5461 MB / 0.7433 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/1.808, allocations: 34.84 kB / 0.7433 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-05/1.808, allocations: 42.38 kB / 0.7434 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/1.809, allocations: 0.628 MB / 0.744 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/1.809, allocations: 4.969 kB / 0.744 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.271e-05/1.809, allocations: 22.56 kB / 0.744 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/1.809, allocations: 11.56 kB / 0.744 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/1.81, allocations: 0.4884 MB / 0.7445 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/1.815, allocations: 3.096 MB / 0.7475 GB, free: 140 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/1.815, allocations: 186.5 kB / 0.7477 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/1.815, allocations: 113.4 kB / 0.7478 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001723/1.817, allocations: 1.04 MB / 0.7488 GB, free: 139.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/1.818, allocations: 178.2 kB / 0.749 GB, free: 139.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.547e-06/1.818, allocations: 0 / 0.749 GB, free: 139.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007827/1.818, allocations: 287.8 kB / 0.7493 GB, free: 139.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/1.818, allocations: 161.6 kB / 0.7494 GB, free: 138.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/1.819, allocations: 426.5 kB / 0.7498 GB, free: 138.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/1.819, allocations: 35.45 kB / 0.7499 GB, free: 138.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/1.819, allocations: 376.4 kB / 0.7502 GB, free: 138.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/1.819, allocations: 85.7 kB / 0.7503 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/1.819, allocations: 10.5 kB / 0.7503 GB, free: 138.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/1.82, allocations: 363 kB / 0.7507 GB, free: 138.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/1.82, allocations: 106.6 kB / 0.7508 GB, free: 138.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/1.82, allocations: 393.2 kB / 0.7512 GB, free: 137.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/1.821, allocations: 213 kB / 0.7514 GB, free: 137.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/1.821, allocations: 3.594 kB / 0.7514 GB, free: 137.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001273/1.822, allocations: 0.5498 MB / 0.7519 GB, free: 137.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00077/1.823, allocations: 3.69 MB / 0.7555 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/1.823, allocations: 17.02 kB / 0.7555 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-05/1.823, allocations: 13.72 kB / 0.7555 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/1.825, allocations: 181.7 kB / 0.7557 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000511/1.826, allocations: 0.627 MB / 0.7563 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007893/1.826, allocations: 80.17 kB / 0.7564 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/1.826, allocations: 38.73 kB / 0.7564 GB, free: 133.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.826, allocations: 3.969 kB / 0.7564 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001057/1.828, allocations: 483 kB / 0.7569 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.828, allocations: 7.531 kB / 0.7569 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.828, allocations: 14.16 kB / 0.7569 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/1.828, allocations: 133.7 kB / 0.757 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/1.828, allocations: 17.52 kB / 0.7571 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/1.829, allocations: 69.69 kB / 0.7571 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/1.829, allocations: 32.81 kB / 0.7572 GB, free: 133.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 61 * 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.0002048/1.829, allocations: 176.6 kB / 0.7573 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/1.829, allocations: 55.28 kB / 0.7574 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/1.831, allocations: 0.6469 MB / 0.758 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.831, allocations: 3.938 kB / 0.758 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.831, allocations: 0 / 0.758 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/1.831, allocations: 3.219 kB / 0.758 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007348/1.832, allocations: 470.2 kB / 0.7585 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.832, allocations: 6.859 kB / 0.7585 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000944/1.833, allocations: 105.5 kB / 0.7586 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.557e-06/1.833, allocations: 6.969 kB / 0.7586 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/1.833, allocations: 11.14 kB / 0.7586 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002981/1.833, allocations: 0.5919 MB / 0.7592 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.833, allocations: 0 / 0.7592 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/1.834, allocations: 412.9 kB / 0.7596 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/1.835, allocations: 193.7 kB / 0.7597 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.835, allocations: 10.69 kB / 0.7598 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/1.835, allocations: 24.91 kB / 0.7598 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/1.835, allocations: 22.3 kB / 0.7598 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/1.835, allocations: 15.05 kB / 0.7598 GB, free: 131.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005189/1.836, allocations: 347.8 kB / 0.7601 GB, free: 131.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.836, allocations: 3.938 kB / 0.7601 GB, free: 131.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001904/1.838, allocations: 430.8 kB / 0.7606 GB, free: 131.5 MB / 490.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: 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.002061/1.84, allocations: 1.282 MB / 0.7618 GB, free: 130.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003034/1.843, allocations: 0.8076 MB / 0.7626 GB, free: 130.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.843, allocations: 2.953 kB / 0.7626 GB, free: 130.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/1.844, allocations: 309.7 kB / 0.7629 GB, free: 130.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/1.846, allocations: 190.1 kB / 0.7631 GB, free: 130.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/1.849, allocations: 1.046 MB / 0.7641 GB, free: 129.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/1.85, allocations: 0.9 MB / 0.765 GB, free: 129 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00124/1.851, allocations: 218.9 kB / 0.7652 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/1.851, allocations: 219.7 kB / 0.7654 GB, free: 128.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.001e-06/1.851, allocations: 0 / 0.7654 GB, free: 128.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05482/1.906, allocations: 18.56 MB / 0.7835 GB, free: 124.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/1.907, allocations: 244.1 kB / 0.7838 GB, free: 123.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/4.997, allocations: 3.719 kB / 0.7838 GB, free: 123.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat does not exist to compare? outputFormat=mat