Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.825/2.825, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.777e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4066, allocations: 54.85 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8288/1.235, allocations: 283.1 MB / 0.6226 GB, free: 4.68 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.236, allocations: 86.27 kB / 0.6227 GB, free: 4.633 MB / 474.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.8118/2.048, allocations: 115 MB / 0.735 GB, free: 83.21 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.094e-06/2.048, allocations: 4 kB / 0.735 GB, free: 83.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.143e-05/2.048, allocations: 12 kB / 0.735 GB, free: 83.19 MB / 474.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.002341/2.05, allocations: 0.8633 MB / 0.7358 GB, free: 82.28 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/2.05, allocations: 8.031 kB / 0.7358 GB, free: 82.27 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/2.05, allocations: 74.45 kB / 0.7359 GB, free: 82.19 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006682/2.051, allocations: 75.25 kB / 0.736 GB, free: 82.11 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/2.053, allocations: 0.5545 MB / 0.7365 GB, free: 81.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/2.053, allocations: 17.31 kB / 0.7365 GB, free: 81.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/2.053, allocations: 28 kB / 0.7366 GB, free: 81.47 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001362/2.055, allocations: 470.4 kB / 0.737 GB, free: 81.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/2.056, allocations: 0.5703 MB / 0.7376 GB, free: 80.39 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/2.056, allocations: 11.92 kB / 0.7376 GB, free: 80.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/2.056, allocations: 4 kB / 0.7376 GB, free: 80.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/2.056, allocations: 12 kB / 0.7376 GB, free: 80.36 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005525/2.062, allocations: 3.012 MB / 0.7405 GB, free: 77.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/2.062, allocations: 179 kB / 0.7407 GB, free: 76.97 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/2.063, allocations: 109.2 kB / 0.7408 GB, free: 76.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002229/2.065, allocations: 1.025 MB / 0.7418 GB, free: 75.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/2.065, allocations: 179 kB / 0.742 GB, free: 75.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 4.93e-06/2.065, allocations: 0 / 0.742 GB, free: 75.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.005085/2.07, allocations: 0.5044 MB / 0.7425 GB, free: 75.03 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/2.071, allocations: 166.2 kB / 0.7426 GB, free: 74.83 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/2.071, allocations: 393.9 kB / 0.743 GB, free: 74.44 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/2.071, allocations: 25.7 kB / 0.743 GB, free: 74.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/2.072, allocations: 366.5 kB / 0.7434 GB, free: 74.04 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/2.072, allocations: 78.94 kB / 0.7435 GB, free: 73.96 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/2.072, allocations: 0 / 0.7435 GB, free: 73.96 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/2.072, allocations: 366.7 kB / 0.7438 GB, free: 73.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/2.072, allocations: 93.11 kB / 0.7439 GB, free: 73.51 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/2.073, allocations: 384.4 kB / 0.7443 GB, free: 73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004538/2.077, allocations: 440.5 kB / 0.7447 GB, free: 72.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/2.077, allocations: 0 / 0.7447 GB, free: 72.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005598/2.083, allocations: 0.7476 MB / 0.7454 GB, free: 71.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008543/2.084, allocations: 3.684 MB / 0.749 GB, free: 67.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/2.084, allocations: 15.98 kB / 0.749 GB, free: 67.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.452e-05/2.084, allocations: 19.95 kB / 0.7491 GB, free: 67.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/2.087, allocations: 183.7 kB / 0.7492 GB, free: 67.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/2.088, allocations: 0.6718 MB / 0.7499 GB, free: 66.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009654/2.089, allocations: 67.27 kB / 0.75 GB, free: 66.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/2.089, allocations: 39.98 kB / 0.75 GB, free: 66.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/2.089, allocations: 4 kB / 0.75 GB, free: 66.82 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003674/2.093, allocations: 0.5637 MB / 0.7505 GB, free: 66.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/2.093, allocations: 11.94 kB / 0.7506 GB, free: 66.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/2.093, allocations: 16.09 kB / 0.7506 GB, free: 66.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008889/2.094, allocations: 131.8 kB / 0.7507 GB, free: 66.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/2.094, allocations: 19.89 kB / 0.7507 GB, free: 66.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/2.095, allocations: 43.67 kB / 0.7508 GB, free: 66.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/2.095, allocations: 35.98 kB / 0.7508 GB, free: 66 MB / 474.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.0002721/2.095, allocations: 167.3 kB / 0.751 GB, free: 65.83 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/2.095, allocations: 55.34 kB / 0.751 GB, free: 65.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/2.099, allocations: 0.6995 MB / 0.7517 GB, free: 65.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/2.099, allocations: 7.984 kB / 0.7517 GB, free: 65.06 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/2.099, allocations: 0 / 0.7517 GB, free: 65.06 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/2.099, allocations: 0 / 0.7517 GB, free: 65.06 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008722/2.1, allocations: 405.7 kB / 0.7521 GB, free: 64.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/2.1, allocations: 4 kB / 0.7521 GB, free: 64.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/2.101, allocations: 103.9 kB / 0.7522 GB, free: 64.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/2.101, allocations: 4 kB / 0.7522 GB, free: 64.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/2.101, allocations: 7.984 kB / 0.7522 GB, free: 64.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006357/2.102, allocations: 0.621 MB / 0.7528 GB, free: 63.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.102, allocations: 0 / 0.7528 GB, free: 63.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/2.104, allocations: 477 kB / 0.7533 GB, free: 63.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/2.105, allocations: 184.4 kB / 0.7534 GB, free: 63.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/2.105, allocations: 4 kB / 0.7534 GB, free: 63.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/2.106, allocations: 23.83 kB / 0.7535 GB, free: 63.15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/2.106, allocations: 23.97 kB / 0.7535 GB, free: 63.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/2.106, allocations: 16 kB / 0.7535 GB, free: 63.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006089/2.106, allocations: 306.9 kB / 0.7538 GB, free: 62.81 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.92e-07/2.106, allocations: 4 kB / 0.7538 GB, free: 62.81 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002189/2.109, allocations: 403.3 kB / 0.7542 GB, free: 62.41 MB / 474.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.00393/2.113, allocations: 1.349 MB / 0.7555 GB, free: 61.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003705/2.116, allocations: 0.7719 MB / 0.7563 GB, free: 60.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/2.116, allocations: 0 / 0.7563 GB, free: 60.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/2.118, allocations: 307.6 kB / 0.7565 GB, free: 59.94 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/2.12, allocations: 188.3 kB / 0.7567 GB, free: 59.76 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/2.124, allocations: 1.003 MB / 0.7577 GB, free: 58.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/2.125, allocations: 0.9041 MB / 0.7586 GB, free: 57.78 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001602/2.126, allocations: 204.4 kB / 0.7588 GB, free: 57.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/2.127, allocations: 223.3 kB / 0.759 GB, free: 57.36 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/2.127, allocations: 0 / 0.759 GB, free: 57.36 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/2.239, allocations: 16.69 MB / 0.7753 GB, free: 40.73 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0008239/2.24, allocations: 213.8 kB / 0.7755 GB, free: 40.44 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.906/6.146, allocations: 6.75 kB / 0.7755 GB, free: 40.43 MB / 474.7 MB