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.289/2.289, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.93e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3955, allocations: 54.85 MB / 359.9 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7236/1.119, allocations: 283.8 MB / 0.6286 GB, free: 47.99 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/1.12, allocations: 84.7 kB / 0.6286 GB, free: 47.95 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.7047/1.824, allocations: 115.8 MB / 0.7417 GB, free: 143 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.824, allocations: 2.75 kB / 0.7417 GB, free: 143 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.428e-05/1.824, allocations: 19.25 kB / 0.7417 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.001946/1.826, allocations: 0.856 MB / 0.7426 GB, free: 142.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.826, allocations: 14.09 kB / 0.7426 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/1.827, allocations: 88.17 kB / 0.7427 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004973/1.827, allocations: 77.67 kB / 0.7428 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/1.829, allocations: 0.5472 MB / 0.7433 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/1.829, allocations: 36.12 kB / 0.7433 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/1.829, allocations: 45.56 kB / 0.7434 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/1.83, allocations: 0.6295 MB / 0.744 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/1.83, allocations: 4.719 kB / 0.744 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/1.83, allocations: 22.12 kB / 0.744 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/1.83, allocations: 11.75 kB / 0.744 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/1.831, allocations: 0.4933 MB / 0.7445 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004627/1.836, allocations: 3.094 MB / 0.7475 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/1.836, allocations: 195.7 kB / 0.7477 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/1.837, allocations: 116.9 kB / 0.7478 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/1.839, allocations: 1.031 MB / 0.7488 GB, free: 139.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003476/1.839, allocations: 177 kB / 0.749 GB, free: 139.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.286e-06/1.839, allocations: 0 / 0.749 GB, free: 139.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007978/1.84, allocations: 289.5 kB / 0.7493 GB, free: 139.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/1.84, allocations: 162.1 kB / 0.7494 GB, free: 138.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/1.84, allocations: 436.6 kB / 0.7498 GB, free: 138.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/1.841, allocations: 32.11 kB / 0.7499 GB, free: 138.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/1.841, allocations: 378.5 kB / 0.7502 GB, free: 138.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.216e-05/1.841, allocations: 82.77 kB / 0.7503 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/1.841, allocations: 10.25 kB / 0.7503 GB, free: 138.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/1.841, allocations: 363.9 kB / 0.7507 GB, free: 138.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/1.841, allocations: 105.1 kB / 0.7508 GB, free: 138.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/1.842, allocations: 394.7 kB / 0.7511 GB, free: 137.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/1.842, allocations: 215.1 kB / 0.7513 GB, free: 137.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.842, allocations: 3.969 kB / 0.7514 GB, free: 137.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0013/1.844, allocations: 0.5704 MB / 0.7519 GB, free: 137.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007935/1.844, allocations: 3.691 MB / 0.7555 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/1.844, allocations: 10.5 kB / 0.7555 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/1.844, allocations: 15.69 kB / 0.7555 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/1.846, allocations: 189.5 kB / 0.7557 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005298/1.847, allocations: 0.615 MB / 0.7563 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008735/1.848, allocations: 83.83 kB / 0.7564 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.848, allocations: 40.05 kB / 0.7564 GB, free: 133.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.848, allocations: 3.688 kB / 0.7564 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001147/1.849, allocations: 0.4981 MB / 0.7569 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.849, allocations: 7.156 kB / 0.7569 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/1.849, allocations: 19.2 kB / 0.757 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/1.85, allocations: 136.7 kB / 0.7571 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/1.85, allocations: 19.67 kB / 0.7571 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/1.851, allocations: 61.02 kB / 0.7572 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/1.851, allocations: 33.7 kB / 0.7572 GB, free: 133 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.0002525/1.851, allocations: 179 kB / 0.7574 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/1.851, allocations: 58.47 kB / 0.7574 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/1.853, allocations: 0.6468 MB / 0.7581 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.853, allocations: 3.094 kB / 0.7581 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.853, allocations: 3.406 kB / 0.7581 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.853, allocations: 3.938 kB / 0.7581 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008424/1.854, allocations: 474.5 kB / 0.7585 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/1.854, allocations: 0 / 0.7585 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009845/1.855, allocations: 104.7 kB / 0.7586 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/1.855, allocations: 3.953 kB / 0.7586 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/1.855, allocations: 10.41 kB / 0.7586 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000365/1.856, allocations: 0.5955 MB / 0.7592 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.856, allocations: 3.391 kB / 0.7592 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008729/1.856, allocations: 407.5 kB / 0.7596 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/1.857, allocations: 192.7 kB / 0.7598 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.857, allocations: 14.41 kB / 0.7598 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/1.857, allocations: 22.2 kB / 0.7598 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/1.857, allocations: 22.16 kB / 0.7598 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/1.857, allocations: 11.75 kB / 0.7599 GB, free: 131.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005717/1.858, allocations: 353 kB / 0.7602 GB, free: 131.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.858, allocations: 0 / 0.7602 GB, free: 131.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00186/1.86, allocations: 427.6 kB / 0.7606 GB, free: 131.4 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.002135/1.862, allocations: 1.278 MB / 0.7618 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003096/1.865, allocations: 0.8363 MB / 0.7627 GB, free: 130.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.865, allocations: 448 / 0.7627 GB, free: 130.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/1.867, allocations: 319.5 kB / 0.763 GB, free: 130.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/1.868, allocations: 195.8 kB / 0.7632 GB, free: 130 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/1.872, allocations: 1.048 MB / 0.7642 GB, free: 129.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/1.872, allocations: 0.8974 MB / 0.7651 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001264/1.874, allocations: 214.7 kB / 0.7653 GB, free: 128.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/1.874, allocations: 217.9 kB / 0.7655 GB, free: 128.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.243e-06/1.874, allocations: 0 / 0.7655 GB, free: 128.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09138/1.965, allocations: 18.53 MB / 0.7836 GB, free: 124.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/1.966, allocations: 248.5 kB / 0.7838 GB, free: 123.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/5.235, allocations: 0 / 0.7838 GB, free: 123.7 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