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.364/2.364, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.57e-05, allocations: 4 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3768, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7505/1.127, allocations: 283.1 MB / 0.6225 GB, free: 6.082 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/1.128, allocations: 76.77 kB / 0.6226 GB, free: 6.043 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.7128/1.841, allocations: 114.7 MB / 0.7346 GB, free: 119.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.841, allocations: 0 / 0.7346 GB, free: 119.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.292e-05/1.841, allocations: 15.94 kB / 0.7346 GB, free: 119.2 MB / 474.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.00189/1.843, allocations: 0.8647 MB / 0.7355 GB, free: 118.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.843, allocations: 12.03 kB / 0.7355 GB, free: 118.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/1.843, allocations: 75.25 kB / 0.7356 GB, free: 118.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/1.845, allocations: 0.5441 MB / 0.7361 GB, free: 117.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/1.845, allocations: 16 kB / 0.7361 GB, free: 117.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/1.845, allocations: 24 kB / 0.7361 GB, free: 117.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001023/1.846, allocations: 478.4 kB / 0.7366 GB, free: 117.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/1.847, allocations: 0.578 MB / 0.7372 GB, free: 116.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/1.847, allocations: 7.938 kB / 0.7372 GB, free: 116.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/1.847, allocations: 4 kB / 0.7372 GB, free: 116.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/1.847, allocations: 12 kB / 0.7372 GB, free: 116.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004374/1.852, allocations: 3.005 MB / 0.7401 GB, free: 113.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/1.852, allocations: 179 kB / 0.7403 GB, free: 113.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/1.852, allocations: 113.2 kB / 0.7404 GB, free: 112.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001729/1.854, allocations: 1.029 MB / 0.7414 GB, free: 111.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/1.854, allocations: 176.9 kB / 0.7416 GB, free: 111.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 3.476e-06/1.854, allocations: 0 / 0.7416 GB, free: 111.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.003798/1.858, allocations: 0.5083 MB / 0.7421 GB, free: 111.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/1.858, allocations: 158.2 kB / 0.7422 GB, free: 110.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/1.859, allocations: 386 kB / 0.7426 GB, free: 110.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/1.859, allocations: 25.7 kB / 0.7426 GB, free: 110.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/1.859, allocations: 374.4 kB / 0.743 GB, free: 110.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/1.859, allocations: 82.84 kB / 0.7431 GB, free: 110.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/1.859, allocations: 0 / 0.7431 GB, free: 110.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/1.859, allocations: 366.7 kB / 0.7434 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/1.86, allocations: 97.11 kB / 0.7435 GB, free: 109.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/1.86, allocations: 384.4 kB / 0.7439 GB, free: 109.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/1.863, allocations: 437.2 kB / 0.7443 GB, free: 108.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/1.863, allocations: 4 kB / 0.7443 GB, free: 108.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004189/1.868, allocations: 0.7484 MB / 0.745 GB, free: 107.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007319/1.868, allocations: 3.691 MB / 0.7486 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/1.869, allocations: 8 kB / 0.7486 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.044e-05/1.869, allocations: 19.89 kB / 0.7486 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/1.871, allocations: 191.7 kB / 0.7488 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/1.872, allocations: 0.664 MB / 0.7495 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008167/1.873, allocations: 67.42 kB / 0.7495 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.34e-05/1.873, allocations: 39.92 kB / 0.7496 GB, free: 102.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/1.873, allocations: 4 kB / 0.7496 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002832/1.876, allocations: 0.5544 MB / 0.7501 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.876, allocations: 12 kB / 0.7501 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/1.876, allocations: 12 kB / 0.7501 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/1.876, allocations: 127.8 kB / 0.7503 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/1.876, allocations: 24.55 kB / 0.7503 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/1.877, allocations: 47.61 kB / 0.7503 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/1.877, allocations: 35.98 kB / 0.7504 GB, free: 102.1 MB / 474.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.0002376/1.877, allocations: 166.4 kB / 0.7505 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003765/1.881, allocations: 0.5317 MB / 0.751 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/1.881, allocations: 47.44 kB / 0.7511 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/1.884, allocations: 0.6918 MB / 0.7518 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/1.884, allocations: 4 kB / 0.7518 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.884, allocations: 4 kB / 0.7518 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/1.884, allocations: 15.88 kB / 0.7518 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007953/1.885, allocations: 401.7 kB / 0.7522 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/1.885, allocations: 0 / 0.7522 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009583/1.886, allocations: 107.8 kB / 0.7523 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/1.886, allocations: 4.047 kB / 0.7523 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/1.886, allocations: 11.97 kB / 0.7523 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005084/1.887, allocations: 0.6172 MB / 0.7529 GB, free: 99.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.887, allocations: 0 / 0.7529 GB, free: 99.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/1.889, allocations: 485.5 kB / 0.7534 GB, free: 98.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/1.889, allocations: 188.1 kB / 0.7535 GB, free: 98.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/1.889, allocations: 3.953 kB / 0.7535 GB, free: 98.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/1.89, allocations: 15.98 kB / 0.7536 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/1.89, allocations: 19.97 kB / 0.7536 GB, free: 98.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/1.89, allocations: 19.98 kB / 0.7536 GB, free: 98.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004713/1.89, allocations: 310.9 kB / 0.7539 GB, free: 98.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.89, allocations: 0 / 0.7539 GB, free: 98.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001983/1.892, allocations: 407.2 kB / 0.7543 GB, free: 97.96 MB / 474.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.003395/1.896, allocations: 1.332 MB / 0.7556 GB, free: 96.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003068/1.899, allocations: 0.7778 MB / 0.7563 GB, free: 95.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.351e-06/1.899, allocations: 0 / 0.7563 GB, free: 95.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/1.9, allocations: 304.2 kB / 0.7566 GB, free: 95.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/1.902, allocations: 180.1 kB / 0.7568 GB, free: 95.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/1.905, allocations: 1.007 MB / 0.7578 GB, free: 94.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/1.906, allocations: 0.9041 MB / 0.7587 GB, free: 93.34 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001263/1.907, allocations: 216.3 kB / 0.7589 GB, free: 93.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/1.907, allocations: 219.3 kB / 0.7591 GB, free: 92.91 MB / 474.7 MB Notification: Performance of SimCode: time 9.42e-07/1.907, allocations: 4 kB / 0.7591 GB, free: 92.91 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07612/1.983, allocations: 16.38 MB / 0.7751 GB, free: 76.56 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/1.984, allocations: 193.6 kB / 0.7753 GB, free: 76.37 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/5.017, allocations: 0 / 0.7753 GB, free: 76.37 MB / 474.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