Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.531e-05/4.554e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4191, allocations: 54.84 MB / 359.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9574/1.377, allocations: 329.8 MB / 0.6735 GB, free: 3.566 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/1.377, allocations: 82.64 kB / 0.6736 GB, free: 3.523 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 1.776/3.153, allocations: 332.3 MB / 0.998 GB, free: 86.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/3.153, allocations: 0 / 0.998 GB, free: 86.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001296/3.153, allocations: 34.66 kB / 0.9981 GB, free: 86.81 MB / 490.7 MB 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.005676/3.159, allocations: 1.783 MB / 0.9998 GB, free: 85.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/3.159, allocations: 11.75 kB / 0.9998 GB, free: 85.81 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005322/3.16, allocations: 154.5 kB / 1 GB, free: 85.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/3.161, allocations: 177.4 kB / 1 GB, free: 85.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/3.164, allocations: 1.126 MB / 1.001 GB, free: 85.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/3.165, allocations: 80.5 kB / 1.001 GB, free: 85.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/3.165, allocations: 88.78 kB / 1.001 GB, free: 84.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003533/3.168, allocations: 1.428 MB / 1.003 GB, free: 84.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/3.169, allocations: 3.938 kB / 1.003 GB, free: 84.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/3.169, allocations: 49.41 kB / 1.003 GB, free: 84.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.559e-05/3.169, allocations: 58.02 kB / 1.003 GB, free: 84.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/3.172, allocations: 1.275 MB / 1.004 GB, free: 83.74 MB / 490.7 MB 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.01277/3.185, allocations: 6.675 MB / 1.011 GB, free: 78.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/3.186, allocations: 485.2 kB / 1.011 GB, free: 78.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006523/3.187, allocations: 297.8 kB / 1.011 GB, free: 78.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0293/3.216, allocations: 17.2 MB / 1.028 GB, free: 61.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005665/3.217, allocations: 278.2 kB / 1.028 GB, free: 61.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.466e-06/3.217, allocations: 2.594 kB / 1.028 GB, free: 61.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.001513/3.218, allocations: 0.5236 MB / 1.029 GB, free: 61.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/3.218, allocations: 267.6 kB / 1.029 GB, free: 60.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/3.22, allocations: 0.9997 MB / 1.03 GB, free: 60.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/3.22, allocations: 41.56 kB / 1.03 GB, free: 60.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/3.221, allocations: 0.7758 MB / 1.031 GB, free: 59.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/3.221, allocations: 150.8 kB / 1.031 GB, free: 59.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/3.221, allocations: 26.31 kB / 1.031 GB, free: 59.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/3.221, allocations: 357.9 kB / 1.032 GB, free: 59.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/3.222, allocations: 258.1 kB / 1.032 GB, free: 59.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/3.223, allocations: 0.9503 MB / 1.033 GB, free: 58.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009505/3.224, allocations: 465.5 kB / 1.033 GB, free: 57.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/3.224, allocations: 3.781 kB / 1.033 GB, free: 57.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002854/3.227, allocations: 1.155 MB / 1.034 GB, free: 57.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001986/3.229, allocations: 9.091 MB / 1.043 GB, free: 47.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-05/3.229, allocations: 22.78 kB / 1.043 GB, free: 47.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.61e-05/3.229, allocations: 35.34 kB / 1.043 GB, free: 47.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003884/3.233, allocations: 427.7 kB / 1.044 GB, free: 47.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007982/3.234, allocations: 1.279 MB / 1.045 GB, free: 46.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/3.236, allocations: 195.5 kB / 1.045 GB, free: 46.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/3.236, allocations: 78.16 kB / 1.045 GB, free: 46.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/3.236, allocations: 3.906 kB / 1.045 GB, free: 46.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002558/3.239, allocations: 1.057 MB / 1.046 GB, free: 45.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/3.239, allocations: 22.5 kB / 1.046 GB, free: 45.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.155e-05/3.239, allocations: 37.06 kB / 1.046 GB, free: 45.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/3.241, allocations: 322.4 kB / 1.047 GB, free: 45.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003272/3.241, allocations: 0.6332 MB / 1.047 GB, free: 45.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/3.243, allocations: 143.5 kB / 1.047 GB, free: 45.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/3.243, allocations: 78.48 kB / 1.047 GB, free: 45.15 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (148): * Single equations (assignments): 145 * 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.0004033/3.243, allocations: 232.2 kB / 1.048 GB, free: 44.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/3.244, allocations: 118.4 kB / 1.048 GB, free: 44.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003581/3.247, allocations: 1.21 MB / 1.049 GB, free: 44.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/3.247, allocations: 8 kB / 1.049 GB, free: 44.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/3.247, allocations: 0 / 1.049 GB, free: 44.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/3.247, allocations: 7.922 kB / 1.049 GB, free: 44.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003912/3.251, allocations: 1.771 MB / 1.051 GB, free: 42.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/3.251, allocations: 4 kB / 1.051 GB, free: 42.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/3.254, allocations: 247.7 kB / 1.051 GB, free: 42.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/3.254, allocations: 4 kB / 1.051 GB, free: 42.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.534e-05/3.254, allocations: 19.98 kB / 1.051 GB, free: 42.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006189/3.255, allocations: 1.223 MB / 1.052 GB, free: 40.74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/3.255, allocations: 3.953 kB / 1.052 GB, free: 40.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/3.257, allocations: 0.8237 MB / 1.053 GB, free: 39.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004783/3.257, allocations: 255.1 kB / 1.053 GB, free: 39.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/3.258, allocations: 16 kB / 1.053 GB, free: 39.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009427/3.259, allocations: 47.86 kB / 1.053 GB, free: 39.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/3.259, allocations: 44.5 kB / 1.053 GB, free: 39.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.318e-05/3.259, allocations: 23.98 kB / 1.053 GB, free: 39.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001442/3.26, allocations: 0.7859 MB / 1.054 GB, free: 38.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.26, allocations: 0 / 1.054 GB, free: 38.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005659/3.266, allocations: 1.352 MB / 1.055 GB, free: 37.34 MB / 490.7 MB 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 (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.006415/3.272, allocations: 2.655 MB / 1.058 GB, free: 34.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006928/3.279, allocations: 1.623 MB / 1.06 GB, free: 33.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/3.279, allocations: 0 / 1.06 GB, free: 33.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004698/3.284, allocations: 0.5563 MB / 1.06 GB, free: 32.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/3.288, allocations: 407.2 kB / 1.06 GB, free: 32.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008424/3.296, allocations: 2.665 MB / 1.063 GB, free: 29.47 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/3.297, allocations: 1.194 MB / 1.064 GB, free: 28.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009941/3.298, allocations: 0.5227 MB / 1.065 GB, free: 27.73 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/3.298, allocations: 0 / 1.065 GB, free: 27.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.101/7.398, allocations: 44.74 MB / 1.108 GB, free: 73.71 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat does not exist to compare? outputFormat=mat