Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.578/2.578, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.322e-05/3.332e-05, allocations: 0 / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4277, allocations: 54.85 MB / 359.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.339/1.766, allocations: 469.9 MB / 0.8104 GB, free: 83.16 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/1.767, allocations: 82.89 kB / 0.8104 GB, free: 83.12 MB / 490.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.001/2.768, allocations: 195.6 MB / 1.001 GB, free: 92.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/2.768, allocations: 0 / 1.001 GB, free: 92.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.795e-05/2.768, allocations: 19.98 kB / 1.001 GB, free: 92.74 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002952/2.771, allocations: 1.023 MB / 1.002 GB, free: 91.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/2.771, allocations: 12.03 kB / 1.002 GB, free: 91.65 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/2.771, allocations: 86.52 kB / 1.003 GB, free: 91.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/2.773, allocations: 174.9 kB / 1.003 GB, free: 91.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/2.775, allocations: 0.5716 MB / 1.003 GB, free: 90.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/2.775, allocations: 33 kB / 1.003 GB, free: 90.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/2.775, allocations: 40 kB / 1.003 GB, free: 90.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/2.776, allocations: 0.5899 MB / 1.004 GB, free: 90.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/2.776, allocations: 4 kB / 1.004 GB, free: 90.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-05/2.777, allocations: 20 kB / 1.004 GB, free: 90.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/2.777, allocations: 16 kB / 1.004 GB, free: 90.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/2.778, allocations: 469.5 kB / 1.004 GB, free: 89.57 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.004286/2.782, allocations: 2.6 MB / 1.007 GB, free: 86.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/2.783, allocations: 255.1 kB / 1.007 GB, free: 86.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/2.783, allocations: 181.1 kB / 1.007 GB, free: 86.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/2.783, allocations: 236.6 kB / 1.008 GB, free: 86.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/2.784, allocations: 268.8 kB / 1.008 GB, free: 85.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.146e-06/2.784, allocations: 0 / 1.008 GB, free: 85.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001157/2.785, allocations: 446.7 kB / 1.008 GB, free: 85.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/2.785, allocations: 166.2 kB / 1.008 GB, free: 85.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007588/2.786, allocations: 492.7 kB / 1.009 GB, free: 84.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/2.786, allocations: 37.64 kB / 1.009 GB, free: 84.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/2.786, allocations: 373.6 kB / 1.009 GB, free: 84.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/2.786, allocations: 118.4 kB / 1.009 GB, free: 84.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/2.787, allocations: 12 kB / 1.009 GB, free: 84.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/2.787, allocations: 330.8 kB / 1.01 GB, free: 83.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/2.787, allocations: 161.1 kB / 1.01 GB, free: 83.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/2.787, allocations: 383.8 kB / 1.01 GB, free: 83.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/2.788, allocations: 253.2 kB / 1.011 GB, free: 82.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/2.788, allocations: 0 / 1.011 GB, free: 82.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001414/2.789, allocations: 0.5967 MB / 1.011 GB, free: 82.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006062/2.79, allocations: 2.735 MB / 1.014 GB, free: 79.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/2.79, allocations: 8 kB / 1.014 GB, free: 79.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/2.79, allocations: 12 kB / 1.014 GB, free: 79.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01204/2.802, allocations: 0.6048 MB / 1.014 GB, free: 78.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006861/2.803, allocations: 0.6562 MB / 1.015 GB, free: 78.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009568/2.804, allocations: 75.55 kB / 1.015 GB, free: 77.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/2.804, allocations: 52 kB / 1.015 GB, free: 77.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/2.804, allocations: 4 kB / 1.015 GB, free: 77.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001324/2.805, allocations: 0.5201 MB / 1.016 GB, free: 77.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/2.805, allocations: 8 kB / 1.016 GB, free: 77.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/2.805, allocations: 8.844 kB / 1.016 GB, free: 77.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/2.806, allocations: 139.8 kB / 1.016 GB, free: 77.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/2.806, allocations: 15.94 kB / 1.016 GB, free: 77.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/2.807, allocations: 59.52 kB / 1.016 GB, free: 77.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/2.807, allocations: 59.98 kB / 1.016 GB, free: 77.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (62): * Single equations (assignments): 60 * 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.0002678/2.807, allocations: 167.3 kB / 1.016 GB, free: 76.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/2.807, allocations: 75.23 kB / 1.016 GB, free: 76.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/2.81, allocations: 0.7567 MB / 1.017 GB, free: 76.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/2.81, allocations: 11.94 kB / 1.017 GB, free: 76.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/2.81, allocations: 0 / 1.017 GB, free: 76.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/2.81, allocations: 0 / 1.017 GB, free: 76.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/2.813, allocations: 1.65 MB / 1.019 GB, free: 74.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/2.813, allocations: 0 / 1.019 GB, free: 74.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003389/2.817, allocations: 211.9 kB / 1.019 GB, free: 74.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/2.817, allocations: 4 kB / 1.019 GB, free: 74.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.043e-05/2.817, allocations: 23.98 kB / 1.019 GB, free: 74.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004759/2.817, allocations: 0.629 MB / 1.019 GB, free: 73.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/2.817, allocations: 7.938 kB / 1.019 GB, free: 73.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/2.819, allocations: 0.7394 MB / 1.02 GB, free: 72.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/2.819, allocations: 144.2 kB / 1.02 GB, free: 72.35 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/2.819, allocations: 15.95 kB / 1.02 GB, free: 72.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/2.82, allocations: 27.98 kB / 1.02 GB, free: 72.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/2.82, allocations: 39.89 kB / 1.02 GB, free: 72.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/2.82, allocations: 39.98 kB / 1.02 GB, free: 72.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006232/2.82, allocations: 381.5 kB / 1.021 GB, free: 71.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.82, allocations: 4 kB / 1.021 GB, free: 71.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002977/2.823, allocations: 0.6201 MB / 1.021 GB, free: 71.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.004748/2.828, allocations: 2.958 MB / 1.024 GB, free: 68.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02157/2.85, allocations: 1.621 MB / 1.026 GB, free: 66.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/2.85, allocations: 4 kB / 1.026 GB, free: 66.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00547/2.855, allocations: 489.1 kB / 1.026 GB, free: 66.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/2.858, allocations: 242 kB / 1.026 GB, free: 65.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/2.869, allocations: 2.605 MB / 1.029 GB, free: 63.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/2.87, allocations: 0.9031 MB / 1.03 GB, free: 62.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008543/2.871, allocations: 263.3 kB / 1.03 GB, free: 61.96 MB / 490.7 MB Notification: Performance of SimCode: time 1.593e-06/2.871, allocations: 0 / 1.03 GB, free: 61.96 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.14/6.011, allocations: 21.59 MB / 1.051 GB, free: 40.39 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat does not exist to compare? outputFormat=mat