Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.622/2.622, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.529e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.452, allocations: 61.89 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8065/1.259, allocations: 290.1 MB / 0.6827 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/1.259, allocations: 80.27 kB / 0.6828 GB, free: 2.473 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:306:3-308: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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:306:3-308: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.7943/2.053, allocations: 119.7 MB / 0.7996 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.184e-06/2.053, allocations: 224 / 0.7996 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.484e-05/2.053, allocations: 15.94 kB / 0.7996 GB, free: 137.7 MB / 0.5261 GB 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.001968/2.055, allocations: 0.8599 MB / 0.8005 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/2.055, allocations: 12.02 kB / 0.8005 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/2.056, allocations: 86.53 kB / 0.8006 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004983/2.056, allocations: 83.19 kB / 0.8006 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/2.058, allocations: 0.5287 MB / 0.8012 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/2.058, allocations: 29 kB / 0.8012 GB, free: 136 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/2.058, allocations: 48 kB / 0.8012 GB, free: 136 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/2.059, allocations: 0.6376 MB / 0.8019 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/2.059, allocations: 3.938 kB / 0.8019 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/2.059, allocations: 24 kB / 0.8019 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/2.059, allocations: 12 kB / 0.8019 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/2.06, allocations: 0.5016 MB / 0.8024 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004927/2.065, allocations: 3.085 MB / 0.8054 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/2.066, allocations: 206.8 kB / 0.8056 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/2.066, allocations: 141.1 kB / 0.8057 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/2.067, allocations: 336.4 kB / 0.8061 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005362/2.067, allocations: 280.9 kB / 0.8063 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.216e-06/2.067, allocations: 3.938 kB / 0.8063 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.001216/2.068, allocations: 401.5 kB / 0.8067 GB, free: 130 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/2.069, allocations: 290.7 kB / 0.807 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007919/2.069, allocations: 484.9 kB / 0.8074 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.408e-05/2.07, allocations: 33.7 kB / 0.8075 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/2.07, allocations: 373.4 kB / 0.8078 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.589e-05/2.07, allocations: 90.75 kB / 0.8079 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/2.07, allocations: 12 kB / 0.8079 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.077e-05/2.07, allocations: 330.8 kB / 0.8082 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/2.07, allocations: 141.1 kB / 0.8084 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/2.071, allocations: 363.9 kB / 0.8087 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/2.071, allocations: 225.5 kB / 0.8089 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/2.071, allocations: 0 / 0.8089 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001425/2.073, allocations: 0.5466 MB / 0.8095 GB, free: 127 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004806/2.073, allocations: 2.134 MB / 0.8116 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/2.073, allocations: 7.938 kB / 0.8116 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/2.073, allocations: 8 kB / 0.8116 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/2.076, allocations: 175.8 kB / 0.8117 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000544/2.076, allocations: 0.6171 MB / 0.8123 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/2.077, allocations: 75.36 kB / 0.8124 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/2.077, allocations: 35.97 kB / 0.8125 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/2.077, allocations: 4 kB / 0.8125 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001281/2.079, allocations: 0.5131 MB / 0.813 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/2.079, allocations: 4 kB / 0.813 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/2.079, allocations: 8 kB / 0.813 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/2.079, allocations: 119.8 kB / 0.8131 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/2.079, allocations: 15.92 kB / 0.8131 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/2.08, allocations: 55.95 kB / 0.8132 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/2.08, allocations: 23.98 kB / 0.8132 GB, free: 123 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (56): * Single equations (assignments): 54 * 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.0002587/2.08, allocations: 178 kB / 0.8133 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/2.081, allocations: 67.19 kB / 0.8134 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/2.083, allocations: 0.7398 MB / 0.8141 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/2.083, allocations: 7.984 kB / 0.8141 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/2.083, allocations: 7.953 kB / 0.8141 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/2.083, allocations: 0 / 0.8141 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009654/2.084, allocations: 0.5247 MB / 0.8147 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/2.084, allocations: 4 kB / 0.8147 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/2.085, allocations: 119.8 kB / 0.8148 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/2.085, allocations: 0 / 0.8148 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/2.085, allocations: 19.98 kB / 0.8148 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003261/2.085, allocations: 0.5899 MB / 0.8154 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/2.085, allocations: 0 / 0.8154 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/2.086, allocations: 0.5248 MB / 0.8159 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/2.087, allocations: 216 kB / 0.8161 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/2.087, allocations: 24.03 kB / 0.8161 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/2.088, allocations: 19.98 kB / 0.8161 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/2.088, allocations: 28.3 kB / 0.8162 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.946e-05/2.088, allocations: 19.98 kB / 0.8162 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006727/2.089, allocations: 403.2 kB / 0.8166 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.2e-07/2.089, allocations: 0 / 0.8166 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001964/2.091, allocations: 463.5 kB / 0.817 GB, free: 118.9 MB / 0.5261 GB 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.00266/2.093, allocations: 1.438 MB / 0.8184 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003466/2.097, allocations: 0.8677 MB / 0.8193 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/2.097, allocations: 320 / 0.8193 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/2.098, allocations: 363.6 kB / 0.8196 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/2.101, allocations: 266.9 kB / 0.8199 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/2.104, allocations: 0.9523 MB / 0.8208 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/2.105, allocations: 0.8999 MB / 0.8217 GB, free: 114 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/2.105, allocations: 239.3 kB / 0.8219 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.463e-06/2.105, allocations: 0 / 0.8219 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.098/5.203, allocations: 17.55 MB / 0.839 GB, free: 96.3 MB / 0.5261 GB