Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.92/1.92, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.967e-05, allocations: 5.547 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 48.7 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9637/1.074, allocations: 277.3 MB / 0.5852 GB, free: 69.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.074, allocations: 81.39 kB / 0.5852 GB, free: 69.16 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/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 0.6607/1.735, allocations: 115.7 MB / 0.6982 GB, free: 114.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/1.735, allocations: 0 / 0.6982 GB, free: 114.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.849e-05/1.735, allocations: 18.23 kB / 0.6983 GB, free: 114.7 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001825/1.737, allocations: 0.853 MB / 0.6991 GB, free: 114 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.737, allocations: 9.969 kB / 0.6991 GB, free: 114 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/1.737, allocations: 90.52 kB / 0.6992 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004344/1.737, allocations: 80.89 kB / 0.6993 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/1.739, allocations: 0.5276 MB / 0.6998 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/1.739, allocations: 32.5 kB / 0.6998 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/1.739, allocations: 45.42 kB / 0.6999 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/1.74, allocations: 0.6292 MB / 0.7005 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/1.74, allocations: 3.938 kB / 0.7005 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-05/1.74, allocations: 25.72 kB / 0.7005 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/1.74, allocations: 11.62 kB / 0.7005 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/1.741, allocations: 488 kB / 0.701 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004418/1.746, allocations: 3.089 MB / 0.704 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/1.746, allocations: 184.6 kB / 0.7042 GB, free: 109.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/1.747, allocations: 107.8 kB / 0.7043 GB, free: 109.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/1.748, allocations: 1.027 MB / 0.7053 GB, free: 108.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/1.749, allocations: 169.7 kB / 0.7054 GB, free: 108.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.055e-06/1.749, allocations: 4 kB / 0.7054 GB, free: 108.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.000829/1.749, allocations: 301.8 kB / 0.7057 GB, free: 108.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/1.75, allocations: 162 kB / 0.7059 GB, free: 108.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/1.75, allocations: 428.1 kB / 0.7063 GB, free: 108.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/1.75, allocations: 29.7 kB / 0.7063 GB, free: 108 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/1.75, allocations: 371.8 kB / 0.7067 GB, free: 107.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.328e-05/1.751, allocations: 82.59 kB / 0.7067 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/1.751, allocations: 11.59 kB / 0.7068 GB, free: 107.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/1.751, allocations: 357.3 kB / 0.7071 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/1.751, allocations: 106 kB / 0.7072 GB, free: 107.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/1.751, allocations: 382.6 kB / 0.7076 GB, free: 106.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/1.752, allocations: 206.2 kB / 0.7078 GB, free: 106.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.752, allocations: 0 / 0.7078 GB, free: 106.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001219/1.753, allocations: 0.5525 MB / 0.7083 GB, free: 106.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007764/1.754, allocations: 3.692 MB / 0.7119 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/1.754, allocations: 12.72 kB / 0.7119 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4e-05/1.754, allocations: 14.53 kB / 0.7119 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/1.756, allocations: 193.8 kB / 0.7121 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005028/1.756, allocations: 0.616 MB / 0.7127 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007813/1.757, allocations: 81.61 kB / 0.7128 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.195e-05/1.757, allocations: 38.05 kB / 0.7128 GB, free: 101.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/1.757, allocations: 3.969 kB / 0.7128 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001093/1.758, allocations: 488.3 kB / 0.7133 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.758, allocations: 14.94 kB / 0.7133 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.758, allocations: 14.56 kB / 0.7133 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/1.759, allocations: 129.3 kB / 0.7135 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/1.759, allocations: 19.55 kB / 0.7135 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005747/1.76, allocations: 58.45 kB / 0.7135 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/1.76, allocations: 39.8 kB / 0.7136 GB, free: 101.4 MB / 426.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: 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 (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.0001979/1.76, allocations: 176.2 kB / 0.7137 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/1.76, allocations: 59.03 kB / 0.7138 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/1.762, allocations: 0.6334 MB / 0.7144 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/1.762, allocations: 7.469 kB / 0.7144 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.762, allocations: 3.984 kB / 0.7144 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.762, allocations: 0 / 0.7144 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007244/1.763, allocations: 465.2 kB / 0.7149 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/1.763, allocations: 7.828 kB / 0.7149 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009573/1.764, allocations: 106.6 kB / 0.715 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/1.764, allocations: 2.625 kB / 0.715 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/1.764, allocations: 14.95 kB / 0.715 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000303/1.764, allocations: 0.5848 MB / 0.7156 GB, free: 99.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/1.764, allocations: 0 / 0.7156 GB, free: 99.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008402/1.765, allocations: 416.1 kB / 0.716 GB, free: 99.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/1.765, allocations: 190.7 kB / 0.7161 GB, free: 99.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.766, allocations: 11.89 kB / 0.7162 GB, free: 99.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/1.766, allocations: 15.19 kB / 0.7162 GB, free: 99.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/1.766, allocations: 23.75 kB / 0.7162 GB, free: 99.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/1.766, allocations: 19.05 kB / 0.7162 GB, free: 99.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005442/1.767, allocations: 346.7 kB / 0.7165 GB, free: 99.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.767, allocations: 0 / 0.7165 GB, free: 99.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0019/1.769, allocations: 429.3 kB / 0.7169 GB, free: 99.07 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 (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.002143/1.771, allocations: 1.286 MB / 0.7182 GB, free: 98.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00301/1.774, allocations: 0.7441 MB / 0.7189 GB, free: 97.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.774, allocations: 1.062 kB / 0.7189 GB, free: 97.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/1.775, allocations: 284.5 kB / 0.7192 GB, free: 97.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/1.777, allocations: 192.9 kB / 0.7194 GB, free: 97.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/1.78, allocations: 1.025 MB / 0.7204 GB, free: 96.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/1.781, allocations: 0.8923 MB / 0.7213 GB, free: 96.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001256/1.782, allocations: 214.2 kB / 0.7215 GB, free: 96.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/1.782, allocations: 215.1 kB / 0.7217 GB, free: 95.87 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/1.782, allocations: 4 kB / 0.7217 GB, free: 95.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05528/1.838, allocations: 18.31 MB / 0.7396 GB, free: 79.23 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/1.838, allocations: 244.2 kB / 0.7398 GB, free: 78.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/5.017, allocations: 0 / 0.7398 GB, free: 78.89 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat does not exist to compare? outputFormat=mat