Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.088/2.088, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.577e-05/3.596e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.131, allocations: 277.3 MB / 0.5851 GB, free: 69.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/1.131, allocations: 80.14 kB / 0.5852 GB, free: 69.48 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.7239/1.855, allocations: 115.7 MB / 0.6982 GB, free: 114.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.053e-06/1.855, allocations: 0 / 0.6982 GB, free: 114.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.452e-05/1.855, allocations: 14.73 kB / 0.6982 GB, free: 114.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002072/1.857, allocations: 0.8598 MB / 0.699 GB, free: 113.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.857, allocations: 11.34 kB / 0.699 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/1.857, allocations: 86.02 kB / 0.6991 GB, free: 113.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/1.858, allocations: 80.8 kB / 0.6992 GB, free: 113.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/1.859, allocations: 0.5342 MB / 0.6997 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/1.859, allocations: 30.06 kB / 0.6998 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.75e-05/1.86, allocations: 48.05 kB / 0.6998 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/1.861, allocations: 0.6387 MB / 0.7004 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.861, allocations: 0 / 0.7004 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-05/1.861, allocations: 22.44 kB / 0.7004 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/1.861, allocations: 13.25 kB / 0.7005 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/1.862, allocations: 0.4894 MB / 0.7009 GB, free: 112.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00459/1.867, allocations: 3.078 MB / 0.7039 GB, free: 109.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/1.867, allocations: 189.5 kB / 0.7041 GB, free: 109.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/1.868, allocations: 112.7 kB / 0.7042 GB, free: 109.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/1.869, allocations: 1.019 MB / 0.7052 GB, free: 108.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000336/1.87, allocations: 175.4 kB / 0.7054 GB, free: 108.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.615e-06/1.87, allocations: 0 / 0.7054 GB, free: 108.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008306/1.871, allocations: 298.9 kB / 0.7057 GB, free: 108.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/1.871, allocations: 161.9 kB / 0.7058 GB, free: 108.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006469/1.871, allocations: 436.9 kB / 0.7062 GB, free: 107.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/1.871, allocations: 29.7 kB / 0.7063 GB, free: 107.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/1.872, allocations: 404.3 kB / 0.7067 GB, free: 107.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.98e-05/1.872, allocations: 81.78 kB / 0.7067 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/1.872, allocations: 15.97 kB / 0.7068 GB, free: 107.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.792e-05/1.872, allocations: 330.3 kB / 0.7071 GB, free: 107 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/1.872, allocations: 102.2 kB / 0.7072 GB, free: 107 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/1.873, allocations: 391.2 kB / 0.7075 GB, free: 106.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/1.873, allocations: 200 kB / 0.7077 GB, free: 106.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.873, allocations: 7.594 kB / 0.7077 GB, free: 106.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001254/1.874, allocations: 0.5546 MB / 0.7083 GB, free: 106.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007566/1.875, allocations: 3.679 MB / 0.7119 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/1.875, allocations: 10.53 kB / 0.7119 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.39e-05/1.875, allocations: 11.41 kB / 0.7119 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/1.877, allocations: 193.1 kB / 0.7121 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005306/1.878, allocations: 0.6261 MB / 0.7127 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008209/1.879, allocations: 82.39 kB / 0.7128 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.471e-05/1.879, allocations: 36.73 kB / 0.7128 GB, free: 101.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/1.879, allocations: 5.625 kB / 0.7128 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001157/1.88, allocations: 0.5069 MB / 0.7133 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.88, allocations: 7.75 kB / 0.7133 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/1.88, allocations: 13.94 kB / 0.7133 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/1.881, allocations: 131.5 kB / 0.7135 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/1.881, allocations: 15.19 kB / 0.7135 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/1.881, allocations: 54.89 kB / 0.7135 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/1.881, allocations: 35.8 kB / 0.7136 GB, free: 101.1 MB / 426.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * 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.0002491/1.882, allocations: 182.6 kB / 0.7137 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/1.882, allocations: 56 kB / 0.7138 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/1.884, allocations: 0.6404 MB / 0.7144 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.884, allocations: 0 / 0.7144 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.884, allocations: 3.875 kB / 0.7144 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.884, allocations: 0 / 0.7144 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007815/1.884, allocations: 480.8 kB / 0.7149 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.884, allocations: 0 / 0.7149 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009664/1.885, allocations: 101.9 kB / 0.715 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/1.885, allocations: 3.938 kB / 0.715 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/1.886, allocations: 10.97 kB / 0.715 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003091/1.886, allocations: 0.5917 MB / 0.7156 GB, free: 99.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.886, allocations: 0 / 0.7156 GB, free: 99.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008451/1.887, allocations: 417.9 kB / 0.716 GB, free: 99.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/1.887, allocations: 183.1 kB / 0.7161 GB, free: 99.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.887, allocations: 7.875 kB / 0.7161 GB, free: 99.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/1.888, allocations: 23.14 kB / 0.7162 GB, free: 99.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/1.888, allocations: 23.31 kB / 0.7162 GB, free: 99.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/1.888, allocations: 15.41 kB / 0.7162 GB, free: 99.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005801/1.888, allocations: 343.5 kB / 0.7165 GB, free: 98.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.888, allocations: 3.875 kB / 0.7165 GB, free: 98.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001835/1.89, allocations: 427.7 kB / 0.7169 GB, free: 98.8 MB / 426.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: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,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.002162/1.892, allocations: 1.265 MB / 0.7182 GB, free: 97.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00307/1.895, allocations: 0.7641 MB / 0.7189 GB, free: 97.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.896, allocations: 2.25 kB / 0.7189 GB, free: 97.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/1.897, allocations: 294.4 kB / 0.7192 GB, free: 97.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/1.898, allocations: 194.5 kB / 0.7194 GB, free: 97.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/1.902, allocations: 1.049 MB / 0.7204 GB, free: 96.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/1.903, allocations: 0.8889 MB / 0.7213 GB, free: 95.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/1.903, allocations: 236.3 kB / 0.7215 GB, free: 95.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/1.903, allocations: 0 / 0.7215 GB, free: 95.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.994/4.897, allocations: 15.73 MB / 0.7369 GB, free: 82.12 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat does not exist to compare? outputFormat=mat