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.918/1.918, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.324e-05, allocations: 4 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9392/1.046, allocations: 276.9 MB / 0.5793 GB, free: 46.01 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/1.047, allocations: 84.88 kB / 0.5794 GB, free: 45.96 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.707, allocations: 114.7 MB / 0.6914 GB, free: 117.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/1.707, allocations: 0 / 0.6914 GB, free: 117.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.009e-05/1.707, allocations: 23.09 kB / 0.6914 GB, free: 117.4 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.001666/1.709, allocations: 0.8522 MB / 0.6922 GB, free: 116.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.709, allocations: 9.75 kB / 0.6922 GB, free: 116.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004153/1.71, allocations: 79.11 kB / 0.6923 GB, free: 116.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.711, allocations: 0.5351 MB / 0.6928 GB, free: 116.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/1.711, allocations: 17.91 kB / 0.6928 GB, free: 116.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/1.711, allocations: 25.69 kB / 0.6929 GB, free: 116.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000981/1.712, allocations: 470.9 kB / 0.6933 GB, free: 116 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/1.713, allocations: 0.5638 MB / 0.6939 GB, free: 115.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/1.713, allocations: 3.984 kB / 0.6939 GB, free: 115.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/1.713, allocations: 3.031 kB / 0.6939 GB, free: 115.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/1.713, allocations: 13.12 kB / 0.6939 GB, free: 115.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/1.717, allocations: 2.985 MB / 0.6968 GB, free: 112.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/1.718, allocations: 181.1 kB / 0.697 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/1.718, allocations: 101.4 kB / 0.6971 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/1.72, allocations: 1.016 MB / 0.6981 GB, free: 111.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/1.72, allocations: 160.1 kB / 0.6982 GB, free: 111.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.955e-06/1.72, allocations: 0 / 0.6982 GB, free: 111.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.003677/1.724, allocations: 0.5274 MB / 0.6987 GB, free: 111.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/1.724, allocations: 170.1 kB / 0.6989 GB, free: 111.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/1.724, allocations: 387.8 kB / 0.6993 GB, free: 110.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/1.724, allocations: 25.7 kB / 0.6993 GB, free: 110.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/1.724, allocations: 367.9 kB / 0.6996 GB, free: 110.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/1.725, allocations: 72.25 kB / 0.6997 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/1.725, allocations: 0 / 0.6997 GB, free: 110.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/1.725, allocations: 362.4 kB / 0.7 GB, free: 110.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/1.725, allocations: 88.61 kB / 0.7001 GB, free: 110.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/1.725, allocations: 385.2 kB / 0.7005 GB, free: 109.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003429/1.729, allocations: 430.9 kB / 0.7009 GB, free: 109.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/1.729, allocations: 3.906 kB / 0.7009 GB, free: 109.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00438/1.733, allocations: 0.7514 MB / 0.7016 GB, free: 109.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007185/1.734, allocations: 3.69 MB / 0.7052 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/1.734, allocations: 6.906 kB / 0.7053 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.873e-05/1.734, allocations: 14.94 kB / 0.7053 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/1.736, allocations: 192.2 kB / 0.7055 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/1.737, allocations: 0.675 MB / 0.7061 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008022/1.738, allocations: 69.83 kB / 0.7062 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-05/1.738, allocations: 41.09 kB / 0.7062 GB, free: 104.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.738, allocations: 3.781 kB / 0.7062 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002807/1.741, allocations: 0.5598 MB / 0.7068 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.741, allocations: 11.61 kB / 0.7068 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.741, allocations: 17.88 kB / 0.7068 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/1.742, allocations: 133 kB / 0.7069 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/1.742, allocations: 19.44 kB / 0.7069 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/1.742, allocations: 50.23 kB / 0.707 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/1.742, allocations: 34.42 kB / 0.707 GB, free: 104.1 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.0002654/1.743, allocations: 169.2 kB / 0.7072 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003814/1.747, allocations: 0.5322 MB / 0.7077 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.223e-05/1.747, allocations: 51.72 kB / 0.7078 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/1.75, allocations: 0.6902 MB / 0.7084 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.75, allocations: 3.625 kB / 0.7084 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.75, allocations: 0 / 0.7084 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/1.75, allocations: 3.984 kB / 0.7084 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007235/1.751, allocations: 409.4 kB / 0.7088 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.751, allocations: 0 / 0.7088 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009644/1.752, allocations: 102 kB / 0.7089 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.752, allocations: 0 / 0.7089 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/1.752, allocations: 11.98 kB / 0.7089 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000491/1.752, allocations: 0.6172 MB / 0.7095 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.752, allocations: 0 / 0.7095 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/1.754, allocations: 485.1 kB / 0.71 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/1.754, allocations: 188.1 kB / 0.7102 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/1.754, allocations: 4 kB / 0.7102 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/1.755, allocations: 11.98 kB / 0.7102 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/1.755, allocations: 19.97 kB / 0.7102 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/1.755, allocations: 15.94 kB / 0.7102 GB, free: 101.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004419/1.755, allocations: 314.9 kB / 0.7105 GB, free: 101.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.755, allocations: 0 / 0.7105 GB, free: 101.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001802/1.757, allocations: 411.1 kB / 0.7109 GB, free: 100.8 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.003058/1.76, allocations: 1.319 MB / 0.7122 GB, free: 99.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002754/1.763, allocations: 0.7269 MB / 0.7129 GB, free: 98.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.763, allocations: 0 / 0.7129 GB, free: 98.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/1.764, allocations: 276 kB / 0.7132 GB, free: 98.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/1.766, allocations: 181.1 kB / 0.7134 GB, free: 98.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/1.769, allocations: 0.9853 MB / 0.7143 GB, free: 97.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/1.77, allocations: 0.9036 MB / 0.7152 GB, free: 96.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001235/1.771, allocations: 204.3 kB / 0.7154 GB, free: 96.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/1.771, allocations: 219.3 kB / 0.7156 GB, free: 95.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/1.771, allocations: 0 / 0.7156 GB, free: 95.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06301/1.834, allocations: 16.16 MB / 0.7314 GB, free: 79.78 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/1.835, allocations: 201.6 kB / 0.7316 GB, free: 79.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/4.84, allocations: 0 / 0.7316 GB, free: 79.58 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