Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.599/2.599, allocations: 270 MB / 282.7 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.04e-05/4.04e-05, allocations: 4 kB / 347.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4575, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/1.747, allocations: 336 MB / 0.7275 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/1.747, allocations: 88.17 kB / 0.7275 GB, free: 141.6 MB / 0.5261 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 1.579/3.326, allocations: 340.7 MB / 1.06 GB, free: 63.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.605e-06/3.326, allocations: 0 / 1.06 GB, free: 63.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001455/3.327, allocations: 39.92 kB / 1.06 GB, free: 63.78 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.006373/3.333, allocations: 1.788 MB / 1.062 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/3.333, allocations: 12.03 kB / 1.062 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005522/3.334, allocations: 152.3 kB / 1.062 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/3.335, allocations: 178.1 kB / 1.062 GB, free: 61.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/3.338, allocations: 1.058 MB / 1.063 GB, free: 60.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/3.339, allocations: 70 kB / 1.063 GB, free: 60.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/3.339, allocations: 95.98 kB / 1.064 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/3.342, allocations: 1.452 MB / 1.065 GB, free: 58.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/3.342, allocations: 0 / 1.065 GB, free: 58.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/3.343, allocations: 51.98 kB / 1.065 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/3.343, allocations: 49.98 kB / 1.065 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003402/3.346, allocations: 1.292 MB / 1.066 GB, free: 57.38 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/3.36, allocations: 6.547 MB / 1.073 GB, free: 50.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/3.361, allocations: 0.5356 MB / 1.073 GB, free: 49.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007741/3.362, allocations: 330.5 kB / 1.074 GB, free: 49.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02991/3.392, allocations: 17.07 MB / 1.09 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000914/3.393, allocations: 466.1 kB / 1.091 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 3.607e-06/3.393, allocations: 0 / 1.091 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.002121/3.395, allocations: 0.7004 MB / 1.091 GB, free: 28.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/3.395, allocations: 0.5388 MB / 1.092 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/3.397, allocations: 1.137 MB / 1.093 GB, free: 26.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/3.398, allocations: 37.7 kB / 1.093 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/3.398, allocations: 0.6868 MB / 1.094 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/3.399, allocations: 173.7 kB / 1.094 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.87e-05/3.399, allocations: 24 kB / 1.094 GB, free: 25.31 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001042/3.399, allocations: 346.8 kB / 1.094 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008598/3.4, allocations: 322.5 kB / 1.095 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/3.401, allocations: 0.8588 MB / 1.095 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/3.402, allocations: 490.5 kB / 1.096 GB, free: 23.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/3.402, allocations: 4 kB / 1.096 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003039/3.405, allocations: 1.165 MB / 1.097 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00122/3.406, allocations: 5.518 MB / 1.102 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.693e-05/3.406, allocations: 16 kB / 1.102 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-05/3.406, allocations: 24 kB / 1.102 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004123/3.411, allocations: 391.4 kB / 1.103 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008478/3.411, allocations: 1.277 MB / 1.104 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/3.414, allocations: 186.5 kB / 1.104 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002675/3.414, allocations: 67.98 kB / 1.104 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/3.414, allocations: 4 kB / 1.104 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002696/3.417, allocations: 1.057 MB / 1.105 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/3.417, allocations: 12.94 kB / 1.105 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/3.417, allocations: 27.95 kB / 1.105 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/3.419, allocations: 283.5 kB / 1.106 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003307/3.419, allocations: 0.6211 MB / 1.106 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/3.421, allocations: 135.2 kB / 1.106 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/3.421, allocations: 67.97 kB / 1.106 GB, free: 11.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000459/3.422, allocations: 210.2 kB / 1.107 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000437/3.422, allocations: 142.3 kB / 1.107 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/3.426, allocations: 1.37 MB / 1.108 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/3.426, allocations: 11.98 kB / 1.108 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/3.426, allocations: 8 kB / 1.108 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/3.426, allocations: 7.969 kB / 1.108 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005074/3.431, allocations: 2.151 MB / 1.11 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/3.431, allocations: 0 / 1.11 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003241/3.435, allocations: 263.7 kB / 1.11 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.236e-05/3.435, allocations: 7.984 kB / 1.11 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/3.435, allocations: 23.98 kB / 1.11 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006248/3.435, allocations: 1.231 MB / 1.112 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/3.435, allocations: 0 / 1.112 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/3.438, allocations: 1.053 MB / 1.113 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/3.439, allocations: 270.8 kB / 1.113 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/3.439, allocations: 24.09 kB / 1.113 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/3.441, allocations: 59.95 kB / 1.113 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/3.441, allocations: 52.7 kB / 1.113 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/3.441, allocations: 27.98 kB / 1.113 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00175/3.443, allocations: 0.8855 MB / 1.114 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/3.443, allocations: 0 / 1.114 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005458/3.448, allocations: 1.397 MB / 1.115 GB, free: 2.312 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (77): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4162/3.864, allocations: 2.916 MB / 1.118 GB, free: 86.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009311/3.874, allocations: 1.743 MB / 1.12 GB, free: 86.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/3.874, allocations: 1.5 kB / 1.12 GB, free: 86.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00538/3.879, allocations: 0.6593 MB / 1.121 GB, free: 86.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005453/3.885, allocations: 0.5578 MB / 1.121 GB, free: 86.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008565/3.893, allocations: 2.26 MB / 1.123 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008235/3.894, allocations: 1.198 MB / 1.124 GB, free: 85.13 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/3.895, allocations: 0.5397 MB / 1.125 GB, free: 85.12 MB / 0.5261 GB Notification: Performance of SimCode: time 1.713e-06/3.895, allocations: 0 / 1.125 GB, free: 85.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.89/7.785, allocations: 47.43 MB / 1.171 GB, free: 82.69 MB / 0.5261 GB