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.897/1.897, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.804e-05, allocations: 5.547 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9664/1.077, allocations: 277.3 MB / 0.5851 GB, free: 69.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/1.078, allocations: 78.33 kB / 0.5852 GB, free: 69.19 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.6679/1.746, allocations: 115.7 MB / 0.6982 GB, free: 114.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.265e-06/1.746, allocations: 0 / 0.6982 GB, free: 114.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.358e-05/1.746, allocations: 19.19 kB / 0.6982 GB, free: 114.6 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.001851/1.748, allocations: 0.8482 MB / 0.6991 GB, free: 113.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.748, allocations: 14.91 kB / 0.6991 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/1.748, allocations: 85.14 kB / 0.6992 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004626/1.748, allocations: 74.78 kB / 0.6992 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/1.75, allocations: 0.5362 MB / 0.6998 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/1.75, allocations: 32.94 kB / 0.6998 GB, free: 113.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-05/1.75, allocations: 46.8 kB / 0.6998 GB, free: 113.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/1.751, allocations: 0.632 MB / 0.7004 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/1.751, allocations: 3.969 kB / 0.7004 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/1.752, allocations: 15.84 kB / 0.7005 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/1.752, allocations: 18.08 kB / 0.7005 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/1.753, allocations: 0.4977 MB / 0.701 GB, free: 112.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004827/1.757, allocations: 3.084 MB / 0.704 GB, free: 109.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/1.758, allocations: 192 kB / 0.7042 GB, free: 109.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/1.758, allocations: 107.9 kB / 0.7043 GB, free: 109.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/1.76, allocations: 1.021 MB / 0.7053 GB, free: 108.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003483/1.76, allocations: 172.4 kB / 0.7054 GB, free: 108.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.797e-06/1.76, allocations: 2.969 kB / 0.7054 GB, free: 108.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008478/1.761, allocations: 301.6 kB / 0.7057 GB, free: 108.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/1.761, allocations: 160.1 kB / 0.7059 GB, free: 108.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006508/1.762, allocations: 429.8 kB / 0.7063 GB, free: 108 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/1.762, allocations: 29.48 kB / 0.7063 GB, free: 107.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/1.762, allocations: 368.6 kB / 0.7067 GB, free: 107.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.636e-05/1.763, allocations: 77 kB / 0.7067 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/1.763, allocations: 15.84 kB / 0.7067 GB, free: 107.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/1.763, allocations: 361.5 kB / 0.7071 GB, free: 107.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/1.763, allocations: 101 kB / 0.7072 GB, free: 107.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/1.763, allocations: 391.1 kB / 0.7076 GB, free: 106.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/1.764, allocations: 198.1 kB / 0.7078 GB, free: 106.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.764, allocations: 0 / 0.7078 GB, free: 106.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001328/1.765, allocations: 0.5855 MB / 0.7083 GB, free: 106.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007779/1.766, allocations: 3.685 MB / 0.7119 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/1.766, allocations: 12.62 kB / 0.7119 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.875e-05/1.766, allocations: 11.06 kB / 0.7119 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/1.768, allocations: 192.2 kB / 0.7121 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005081/1.769, allocations: 0.6165 MB / 0.7127 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008182/1.769, allocations: 82.72 kB / 0.7128 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-05/1.77, allocations: 38.7 kB / 0.7128 GB, free: 101.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/1.77, allocations: 3.875 kB / 0.7128 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001121/1.771, allocations: 0.5081 MB / 0.7133 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.771, allocations: 10.38 kB / 0.7134 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.771, allocations: 10.81 kB / 0.7134 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/1.771, allocations: 135.2 kB / 0.7135 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/1.771, allocations: 20.58 kB / 0.7135 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000635/1.772, allocations: 61.58 kB / 0.7136 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/1.772, allocations: 32.56 kB / 0.7136 GB, free: 101.3 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.0002362/1.772, allocations: 176.3 kB / 0.7138 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/1.773, allocations: 56.81 kB / 0.7138 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/1.774, allocations: 0.6413 MB / 0.7145 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.775, allocations: 3.875 kB / 0.7145 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.775, allocations: 3.812 kB / 0.7145 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/1.775, allocations: 3.984 kB / 0.7145 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008084/1.775, allocations: 476 kB / 0.7149 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.775, allocations: 3.938 kB / 0.7149 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009687/1.776, allocations: 99.44 kB / 0.715 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/1.776, allocations: 0 / 0.715 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/1.776, allocations: 15.8 kB / 0.715 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003282/1.777, allocations: 0.5925 MB / 0.7156 GB, free: 99.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.777, allocations: 3.984 kB / 0.7156 GB, free: 99.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008884/1.778, allocations: 410.8 kB / 0.716 GB, free: 99.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/1.778, allocations: 187.6 kB / 0.7162 GB, free: 99.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.778, allocations: 7.75 kB / 0.7162 GB, free: 99.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/1.779, allocations: 23.14 kB / 0.7162 GB, free: 99.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/1.779, allocations: 22.12 kB / 0.7162 GB, free: 99.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/1.779, allocations: 18.98 kB / 0.7163 GB, free: 99.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005586/1.779, allocations: 346.6 kB / 0.7166 GB, free: 99.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.779, allocations: 0 / 0.7166 GB, free: 99.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001862/1.781, allocations: 433.2 kB / 0.717 GB, free: 98.94 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.002183/1.783, allocations: 1.271 MB / 0.7182 GB, free: 98.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003141/1.787, allocations: 0.7717 MB / 0.719 GB, free: 97.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.787, allocations: 7.75 kB / 0.719 GB, free: 97.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/1.788, allocations: 281.6 kB / 0.7193 GB, free: 97.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/1.79, allocations: 195.4 kB / 0.7195 GB, free: 97.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/1.793, allocations: 1.023 MB / 0.7205 GB, free: 96.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/1.794, allocations: 0.8967 MB / 0.7213 GB, free: 96.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001218/1.795, allocations: 212.6 kB / 0.7215 GB, free: 95.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/1.795, allocations: 217.3 kB / 0.7217 GB, free: 95.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/1.795, allocations: 0 / 0.7217 GB, free: 95.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07395/1.869, allocations: 18.29 MB / 0.7396 GB, free: 79.12 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/1.869, allocations: 241.7 kB / 0.7398 GB, free: 78.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.273/5.143, allocations: 0 / 0.7398 GB, free: 78.79 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