Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.225/2.225, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.056e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1139, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.591/1.705, allocations: 463.1 MB / 0.7665 GB, free: 47.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/1.705, allocations: 82.14 kB / 0.7666 GB, free: 47.46 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/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/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.9806/2.686, allocations: 196.1 MB / 0.9581 GB, free: 19.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/2.686, allocations: 0 / 0.9581 GB, free: 19.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.494e-05/2.686, allocations: 15.98 kB / 0.9581 GB, free: 19.39 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002774/2.689, allocations: 1.026 MB / 0.9591 GB, free: 18.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/2.689, allocations: 8.031 kB / 0.9592 GB, free: 18.31 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001916/2.689, allocations: 86.45 kB / 0.9592 GB, free: 18.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/2.692, allocations: 175 kB / 0.9594 GB, free: 18.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/2.694, allocations: 0.5715 MB / 0.96 GB, free: 17.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/2.694, allocations: 29 kB / 0.96 GB, free: 17.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/2.694, allocations: 44 kB / 0.96 GB, free: 17.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/2.695, allocations: 0.5783 MB / 0.9606 GB, free: 16.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/2.695, allocations: 3.938 kB / 0.9606 GB, free: 16.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/2.695, allocations: 24 kB / 0.9606 GB, free: 16.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/2.695, allocations: 8 kB / 0.9606 GB, free: 16.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/2.696, allocations: 461.5 kB / 0.9611 GB, free: 16.25 MB / 426.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.00436/2.701, allocations: 2.608 MB / 0.9636 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007064/2.702, allocations: 252.6 kB / 0.9639 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/2.702, allocations: 172.8 kB / 0.964 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/2.703, allocations: 236.5 kB / 0.9642 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007674/2.703, allocations: 261.8 kB / 0.9645 GB, free: 12.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 4.299e-06/2.703, allocations: 0 / 0.9645 GB, free: 12.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001708/2.705, allocations: 461.5 kB / 0.9649 GB, free: 12.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/2.705, allocations: 158.5 kB / 0.9651 GB, free: 11.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/2.707, allocations: 484.8 kB / 0.9656 GB, free: 11.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-05/2.707, allocations: 33.7 kB / 0.9656 GB, free: 11.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/2.707, allocations: 381.6 kB / 0.9659 GB, free: 10.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/2.707, allocations: 114.4 kB / 0.9661 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/2.707, allocations: 8 kB / 0.9661 GB, free: 10.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/2.707, allocations: 338.8 kB / 0.9664 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/2.708, allocations: 153 kB / 0.9665 GB, free: 10.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007315/2.709, allocations: 373.6 kB / 0.9669 GB, free: 9.875 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/2.71, allocations: 245.8 kB / 0.9671 GB, free: 9.629 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/2.71, allocations: 4 kB / 0.9671 GB, free: 9.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002144/2.712, allocations: 0.5924 MB / 0.9677 GB, free: 9.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008367/2.713, allocations: 2.731 MB / 0.9704 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/2.713, allocations: 11.95 kB / 0.9704 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.472e-05/2.713, allocations: 16 kB / 0.9704 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01647/2.729, allocations: 0.6086 MB / 0.971 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008825/2.73, allocations: 0.6563 MB / 0.9716 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/2.732, allocations: 67.42 kB / 0.9717 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/2.732, allocations: 55.98 kB / 0.9718 GB, free: 4.633 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/2.732, allocations: 4 kB / 0.9718 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001992/2.734, allocations: 0.5367 MB / 0.9723 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/2.734, allocations: 4 kB / 0.9723 GB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/2.734, allocations: 12 kB / 0.9723 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/2.735, allocations: 135.8 kB / 0.9724 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-05/2.735, allocations: 19.94 kB / 0.9724 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/2.736, allocations: 55.92 kB / 0.9725 GB, free: 3.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/2.736, allocations: 55.98 kB / 0.9726 GB, free: 3.809 MB / 426.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: 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 (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.0003958/2.736, allocations: 170.4 kB / 0.9727 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/2.737, allocations: 59.34 kB / 0.9728 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/2.741, allocations: 0.7479 MB / 0.9735 GB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/2.741, allocations: 4 kB / 0.9735 GB, free: 2.801 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/2.741, allocations: 3.953 kB / 0.9735 GB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/2.741, allocations: 7.984 kB / 0.9735 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/2.745, allocations: 1.657 MB / 0.9751 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/2.746, allocations: 4 kB / 0.9751 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004759/2.75, allocations: 204 kB / 0.9753 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.029e-05/2.75, allocations: 4 kB / 0.9753 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/2.751, allocations: 23.98 kB / 0.9754 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006479/2.751, allocations: 0.6406 MB / 0.976 GB, free: 76 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/2.751, allocations: 4 kB / 0.976 GB, free: 72 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3395/3.091, allocations: 0.7264 MB / 0.9767 GB, free: 76.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/3.091, allocations: 142 kB / 0.9768 GB, free: 76.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/3.091, allocations: 12.05 kB / 0.9768 GB, free: 76.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005934/3.092, allocations: 29.23 kB / 0.9769 GB, free: 76.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/3.092, allocations: 35.25 kB / 0.9769 GB, free: 76.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/3.092, allocations: 35.08 kB / 0.9769 GB, free: 76.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007262/3.093, allocations: 379 kB / 0.9773 GB, free: 75.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/3.093, allocations: 1.094 kB / 0.9773 GB, free: 75.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003047/3.096, allocations: 0.6088 MB / 0.9779 GB, free: 75.91 MB / 426.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: 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 (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.00532/3.101, allocations: 2.941 MB / 0.9808 GB, free: 74.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02203/3.123, allocations: 1.57 MB / 0.9823 GB, free: 74.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/3.123, allocations: 0.9375 kB / 0.9823 GB, free: 74.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00563/3.129, allocations: 458.5 kB / 0.9827 GB, free: 74.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/3.132, allocations: 241 kB / 0.983 GB, free: 74.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/3.144, allocations: 2.582 MB / 0.9855 GB, free: 73.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/3.144, allocations: 0.8976 MB / 0.9864 GB, free: 73.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009523/3.145, allocations: 258.4 kB / 0.9866 GB, free: 73.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/3.145, allocations: 0 / 0.9866 GB, free: 73.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.164/6.309, allocations: 21.43 MB / 1.008 GB, free: 72.34 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat does not exist to compare? outputFormat=mat