Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.012e-05/5.013e-05, allocations: 8 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4117, allocations: 58.82 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8333/1.245, allocations: 335.5 MB / 0.701 GB, free: 7.23 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/1.245, allocations: 82.27 kB / 0.7011 GB, free: 7.188 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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.847/3.093, allocations: 336.2 MB / 1.029 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.495e-06/3.093, allocations: 0 / 1.029 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002005/3.093, allocations: 37.52 kB / 1.029 GB, free: 101.4 MB / 0.5105 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.007371/3.1, allocations: 1.786 MB / 1.031 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/3.1, allocations: 14.28 kB / 1.031 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005578/3.101, allocations: 157.4 kB / 1.031 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/3.102, allocations: 181.8 kB / 1.031 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/3.106, allocations: 1.061 MB / 1.032 GB, free: 99.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/3.106, allocations: 86.16 kB / 1.033 GB, free: 99.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004064/3.107, allocations: 101 kB / 1.033 GB, free: 99.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003791/3.111, allocations: 1.434 MB / 1.034 GB, free: 98.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/3.111, allocations: 0 / 1.034 GB, free: 98.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002629/3.111, allocations: 49.44 kB / 1.034 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/3.111, allocations: 58.31 kB / 1.034 GB, free: 98.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003707/3.115, allocations: 1.288 MB / 1.035 GB, free: 98.18 MB / 0.5105 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.014/3.129, allocations: 6.63 MB / 1.042 GB, free: 93.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/3.13, allocations: 0.5224 MB / 1.042 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008677/3.131, allocations: 334.7 kB / 1.043 GB, free: 93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03125/3.163, allocations: 17.13 MB / 1.059 GB, free: 75.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009405/3.164, allocations: 478.5 kB / 1.06 GB, free: 74.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=49): time 3.827e-06/3.164, allocations: 0 / 1.06 GB, free: 74.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.002131/3.166, allocations: 0.6899 MB / 1.061 GB, free: 74.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/3.166, allocations: 0.5463 MB / 1.061 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/3.168, allocations: 1.137 MB / 1.062 GB, free: 73.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002138/3.169, allocations: 33.7 kB / 1.062 GB, free: 73.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006514/3.169, allocations: 0.7174 MB / 1.063 GB, free: 72.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/3.17, allocations: 175.9 kB / 1.063 GB, free: 72.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/3.17, allocations: 20 kB / 1.063 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001025/3.17, allocations: 350.1 kB / 1.063 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008996/3.171, allocations: 322.5 kB / 1.064 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/3.172, allocations: 0.8553 MB / 1.065 GB, free: 70.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/3.173, allocations: 485.7 kB / 1.065 GB, free: 70.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/3.173, allocations: 4 kB / 1.065 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003381/3.176, allocations: 1.244 MB / 1.066 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001234/3.178, allocations: 5.585 MB / 1.072 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.851e-05/3.178, allocations: 15.94 kB / 1.072 GB, free: 62.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.516e-05/3.178, allocations: 30.3 kB / 1.072 GB, free: 62.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003926/3.182, allocations: 384.1 kB / 1.072 GB, free: 62.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008989/3.183, allocations: 1.264 MB / 1.073 GB, free: 61.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/3.185, allocations: 191.9 kB / 1.074 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/3.186, allocations: 71.92 kB / 1.074 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/3.186, allocations: 4 kB / 1.074 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002778/3.188, allocations: 1.052 MB / 1.075 GB, free: 59.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/3.189, allocations: 12 kB / 1.075 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/3.189, allocations: 24 kB / 1.075 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/3.19, allocations: 285.1 kB / 1.075 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000353/3.191, allocations: 0.6226 MB / 1.076 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/3.193, allocations: 154.8 kB / 1.076 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/3.193, allocations: 63.97 kB / 1.076 GB, free: 58.68 MB / 0.5105 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.0004325/3.194, allocations: 231.2 kB / 1.076 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/3.194, allocations: 134.4 kB / 1.076 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/3.198, allocations: 1.397 MB / 1.078 GB, free: 56.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/3.198, allocations: 11.94 kB / 1.078 GB, free: 56.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/3.198, allocations: 7.938 kB / 1.078 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/3.198, allocations: 3.984 kB / 1.078 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004986/3.203, allocations: 2.174 MB / 1.08 GB, free: 54.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/3.203, allocations: 0 / 1.08 GB, free: 54.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003283/3.206, allocations: 271.6 kB / 1.08 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/3.206, allocations: 4 kB / 1.08 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/3.207, allocations: 23.98 kB / 1.08 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006279/3.207, allocations: 1.23 MB / 1.081 GB, free: 53.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/3.207, allocations: 4.031 kB / 1.081 GB, free: 53.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/3.21, allocations: 1.053 MB / 1.082 GB, free: 52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007347/3.211, allocations: 263 kB / 1.082 GB, free: 51.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004582/3.211, allocations: 19.98 kB / 1.082 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/3.213, allocations: 67.8 kB / 1.083 GB, free: 51.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/3.213, allocations: 48.72 kB / 1.083 GB, free: 51.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/3.213, allocations: 31.98 kB / 1.083 GB, free: 51.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001895/3.215, allocations: 0.8855 MB / 1.083 GB, free: 50.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.62e-07/3.215, allocations: 0 / 1.083 GB, free: 50.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00607/3.221, allocations: 1.397 MB / 1.085 GB, free: 49.28 MB / 0.5105 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.007064/3.228, allocations: 2.961 MB / 1.088 GB, free: 46.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007664/3.236, allocations: 1.782 MB / 1.089 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/3.236, allocations: 9.438 kB / 1.089 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004987/3.241, allocations: 0.6544 MB / 1.09 GB, free: 43.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004956/3.246, allocations: 0.5469 MB / 1.091 GB, free: 43.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007229/3.253, allocations: 2.227 MB / 1.093 GB, free: 41.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/3.254, allocations: 1.208 MB / 1.094 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003256/3.257, allocations: 0.56 MB / 1.095 GB, free: 39.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000959/3.258, allocations: 0.5226 MB / 1.095 GB, free: 38.83 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/3.258, allocations: 3.938 kB / 1.095 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4993/3.758, allocations: 53.51 MB / 1.147 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/3.758, allocations: 241.5 kB / 1.148 GB, free: 94.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.981/8.739, allocations: 0 / 1.148 GB, free: 94.56 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat does not exist to compare? outputFormat=mat