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.011/2.011, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.409e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.519/1.624, allocations: 463.1 MB / 0.7665 GB, free: 47.51 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.625, allocations: 88.81 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 1.07/2.695, allocations: 196.1 MB / 0.9581 GB, free: 19.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/2.695, allocations: 0 / 0.9581 GB, free: 19.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.856e-05/2.695, allocations: 15.98 kB / 0.9581 GB, free: 19.43 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.002835/2.698, allocations: 1.023 MB / 0.9591 GB, free: 18.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/2.698, allocations: 8.031 kB / 0.9591 GB, free: 18.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/2.698, allocations: 86.52 kB / 0.9592 GB, free: 18.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/2.7, allocations: 171 kB / 0.9594 GB, free: 18.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/2.702, allocations: 0.5793 MB / 0.9599 GB, free: 17.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/2.702, allocations: 33 kB / 0.96 GB, free: 17.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/2.702, allocations: 40 kB / 0.96 GB, free: 17.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/2.703, allocations: 0.588 MB / 0.9606 GB, free: 16.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/2.703, allocations: 0 / 0.9606 GB, free: 16.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/2.703, allocations: 20 kB / 0.9606 GB, free: 16.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/2.703, allocations: 12 kB / 0.9606 GB, free: 16.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/2.704, allocations: 459.1 kB / 0.961 GB, free: 16.28 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.004586/2.709, allocations: 2.608 MB / 0.9636 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/2.71, allocations: 266.7 kB / 0.9638 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/2.71, allocations: 168.8 kB / 0.964 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/2.71, allocations: 236.6 kB / 0.9642 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007555/2.711, allocations: 261.8 kB / 0.9645 GB, free: 12.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 6.552e-06/2.711, allocations: 0 / 0.9645 GB, free: 12.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001984/2.713, allocations: 465.7 kB / 0.9649 GB, free: 12.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.775e-05/2.713, allocations: 158.2 kB / 0.9651 GB, free: 11.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/2.715, allocations: 492.8 kB / 0.9655 GB, free: 11.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/2.715, allocations: 29.7 kB / 0.9656 GB, free: 11.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/2.715, allocations: 377.6 kB / 0.9659 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/2.716, allocations: 114.4 kB / 0.966 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/2.716, allocations: 8 kB / 0.9661 GB, free: 10.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/2.716, allocations: 338.8 kB / 0.9664 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/2.716, allocations: 153.1 kB / 0.9665 GB, free: 10.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007412/2.717, allocations: 374.7 kB / 0.9669 GB, free: 9.883 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/2.718, allocations: 249.8 kB / 0.9671 GB, free: 9.633 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/2.718, allocations: 0 / 0.9671 GB, free: 9.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002098/2.72, allocations: 0.6194 MB / 0.9677 GB, free: 9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008877/2.721, allocations: 2.728 MB / 0.9704 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/2.721, allocations: 15.95 kB / 0.9704 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.336e-05/2.721, allocations: 12 kB / 0.9704 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01573/2.737, allocations: 0.6164 MB / 0.971 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006281/2.738, allocations: 0.6524 MB / 0.9717 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008949/2.738, allocations: 71.41 kB / 0.9717 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/2.739, allocations: 52.09 kB / 0.9718 GB, free: 4.613 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/2.739, allocations: 11.12 kB / 0.9718 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001327/2.74, allocations: 0.5481 MB / 0.9723 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/2.74, allocations: 4 kB / 0.9723 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/2.74, allocations: 12 kB / 0.9723 GB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/2.741, allocations: 139.7 kB / 0.9725 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/2.741, allocations: 15.95 kB / 0.9725 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/2.741, allocations: 56.08 kB / 0.9725 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/2.741, allocations: 59.98 kB / 0.9726 GB, free: 3.77 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.0002513/2.742, allocations: 174.4 kB / 0.9728 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/2.742, allocations: 63.34 kB / 0.9728 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/2.744, allocations: 0.744 MB / 0.9735 GB, free: 2.762 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/2.744, allocations: 4 kB / 0.9735 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/2.744, allocations: 7.953 kB / 0.9736 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/2.744, allocations: 4 kB / 0.9736 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/2.747, allocations: 1.645 MB / 0.9752 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/2.747, allocations: 4.25 kB / 0.9752 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003398/2.751, allocations: 207.7 kB / 0.9754 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/2.751, allocations: 4 kB / 0.9754 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/2.751, allocations: 28 kB / 0.9754 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004481/2.751, allocations: 0.6368 MB / 0.976 GB, free: 40 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/2.751, allocations: 3.938 kB / 0.976 GB, free: 36 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3301/3.082, allocations: 0.7247 MB / 0.9767 GB, free: 76.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/3.082, allocations: 141.6 kB / 0.9769 GB, free: 76.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/3.082, allocations: 24.48 kB / 0.9769 GB, free: 76.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/3.083, allocations: 27.02 kB / 0.9769 GB, free: 76.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/3.083, allocations: 36.98 kB / 0.9769 GB, free: 76.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.645e-05/3.083, allocations: 34.08 kB / 0.977 GB, free: 76.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007452/3.084, allocations: 378.3 kB / 0.9773 GB, free: 76.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/3.084, allocations: 3.5 kB / 0.9773 GB, free: 76.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002966/3.087, allocations: 0.6116 MB / 0.9779 GB, free: 76.12 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.005331/3.092, allocations: 2.91 MB / 0.9808 GB, free: 74.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02198/3.114, allocations: 1.587 MB / 0.9823 GB, free: 74.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/3.114, allocations: 1.031 kB / 0.9823 GB, free: 74.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00561/3.12, allocations: 463.5 kB / 0.9828 GB, free: 74.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/3.122, allocations: 251.8 kB / 0.983 GB, free: 74.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/3.134, allocations: 2.593 MB / 0.9856 GB, free: 74.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/3.134, allocations: 0.894 MB / 0.9864 GB, free: 73.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008645/3.135, allocations: 260.6 kB / 0.9867 GB, free: 73.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/3.135, allocations: 3.469 kB / 0.9867 GB, free: 73.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.193/6.329, allocations: 21.38 MB / 1.008 GB, free: 72.67 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