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.209/2.209, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.448e-05/2.482e-05, allocations: 4 kB / 267.6 MB, free: 5.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 48.69 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.116, allocations: 276.9 MB / 0.5793 GB, free: 45.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/1.116, allocations: 81.7 kB / 0.5794 GB, free: 45.45 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.6791/1.795, allocations: 114.7 MB / 0.6913 GB, free: 117.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.963e-06/1.795, allocations: 3.938 kB / 0.6914 GB, free: 117.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.547e-05/1.795, allocations: 19.38 kB / 0.6914 GB, free: 117.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.001987/1.797, allocations: 0.8565 MB / 0.6922 GB, free: 116.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/1.797, allocations: 10.22 kB / 0.6922 GB, free: 116.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/1.798, allocations: 76.45 kB / 0.6923 GB, free: 116.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/1.799, allocations: 0.5317 MB / 0.6928 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/1.8, allocations: 13.66 kB / 0.6928 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/1.8, allocations: 25.06 kB / 0.6928 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001084/1.801, allocations: 474.3 kB / 0.6933 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/1.802, allocations: 0.5721 MB / 0.6939 GB, free: 115.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/1.802, allocations: 3.938 kB / 0.6939 GB, free: 115.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/1.802, allocations: 7.469 kB / 0.6939 GB, free: 115.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/1.802, allocations: 10.72 kB / 0.6939 GB, free: 115.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/1.807, allocations: 2.985 MB / 0.6968 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/1.807, allocations: 186.8 kB / 0.697 GB, free: 112.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/1.807, allocations: 99.72 kB / 0.6971 GB, free: 112.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001871/1.809, allocations: 1.01 MB / 0.6981 GB, free: 111.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003624/1.81, allocations: 172.8 kB / 0.6982 GB, free: 111.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.978e-06/1.81, allocations: 3.906 kB / 0.6982 GB, free: 111.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.004268/1.814, allocations: 0.5164 MB / 0.6987 GB, free: 111.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/1.814, allocations: 157.5 kB / 0.6989 GB, free: 111.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006531/1.815, allocations: 395.7 kB / 0.6993 GB, free: 111 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/1.815, allocations: 29.7 kB / 0.6993 GB, free: 111 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/1.815, allocations: 405.3 kB / 0.6997 GB, free: 110.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/1.815, allocations: 74.16 kB / 0.6997 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/1.815, allocations: 3.344 kB / 0.6997 GB, free: 110.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.939e-05/1.815, allocations: 334.3 kB / 0.7001 GB, free: 110.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/1.816, allocations: 94.94 kB / 0.7002 GB, free: 110.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/1.816, allocations: 383 kB / 0.7005 GB, free: 109.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/1.82, allocations: 433.5 kB / 0.7009 GB, free: 109.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/1.82, allocations: 3.719 kB / 0.7009 GB, free: 109.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.004372/1.824, allocations: 0.7211 MB / 0.7016 GB, free: 109.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009749/1.825, allocations: 3.693 MB / 0.7052 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/1.825, allocations: 11.66 kB / 0.7053 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-05/1.825, allocations: 11.38 kB / 0.7053 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/1.827, allocations: 184.8 kB / 0.7054 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/1.829, allocations: 0.6698 MB / 0.7061 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008866/1.829, allocations: 61.77 kB / 0.7062 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/1.83, allocations: 49.56 kB / 0.7062 GB, free: 104.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.83, allocations: 3.938 kB / 0.7062 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002851/1.832, allocations: 0.5659 MB / 0.7068 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.832, allocations: 7.75 kB / 0.7068 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.833, allocations: 19.44 kB / 0.7068 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/1.833, allocations: 129.1 kB / 0.7069 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/1.833, allocations: 19.73 kB / 0.7069 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/1.834, allocations: 51.33 kB / 0.707 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/1.834, allocations: 31.38 kB / 0.707 GB, free: 104.2 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.0002369/1.834, allocations: 172.1 kB / 0.7072 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003707/1.838, allocations: 0.5218 MB / 0.7077 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/1.838, allocations: 55.03 kB / 0.7077 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/1.841, allocations: 0.6916 MB / 0.7084 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/1.841, allocations: 4 kB / 0.7084 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.841, allocations: 0 / 0.7084 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.841, allocations: 3.984 kB / 0.7084 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/1.841, allocations: 401.4 kB / 0.7088 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/1.841, allocations: 0 / 0.7088 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008868/1.842, allocations: 115.8 kB / 0.7089 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/1.842, allocations: 0 / 0.7089 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/1.842, allocations: 4 kB / 0.7089 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004791/1.843, allocations: 0.621 MB / 0.7095 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.843, allocations: 0 / 0.7095 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/1.845, allocations: 477.1 kB / 0.71 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/1.845, allocations: 184.2 kB / 0.7101 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/1.845, allocations: 4.094 kB / 0.7102 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/1.845, allocations: 19.92 kB / 0.7102 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/1.846, allocations: 28 kB / 0.7102 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/1.846, allocations: 12 kB / 0.7102 GB, free: 101.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004096/1.846, allocations: 310.9 kB / 0.7105 GB, free: 101 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.846, allocations: 0 / 0.7105 GB, free: 101 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001749/1.848, allocations: 407.1 kB / 0.7109 GB, free: 100.6 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.002913/1.851, allocations: 1.332 MB / 0.7122 GB, free: 99.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00276/1.854, allocations: 0.7042 MB / 0.7129 GB, free: 98.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.854, allocations: 0 / 0.7129 GB, free: 98.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/1.855, allocations: 281.1 kB / 0.7132 GB, free: 98.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/1.856, allocations: 182.6 kB / 0.7133 GB, free: 98.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/1.86, allocations: 1.005 MB / 0.7143 GB, free: 97.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/1.86, allocations: 0.9029 MB / 0.7152 GB, free: 96.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/1.86, allocations: 219.3 kB / 0.7154 GB, free: 95.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/1.86, allocations: 3.938 kB / 0.7154 GB, free: 95.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.141/5.001, allocations: 15.66 MB / 0.7307 GB, free: 80.22 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