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.04/2.04, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.294e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.774/1.905, allocations: 462.6 MB / 0.7607 GB, free: 41.86 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/1.905, allocations: 80.95 kB / 0.7608 GB, free: 41.81 MB / 426.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/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/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.9452/2.85, allocations: 190.4 MB / 0.9467 GB, free: 25.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/2.85, allocations: 0 / 0.9467 GB, free: 25.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.688e-05/2.85, allocations: 15.94 kB / 0.9468 GB, free: 25.2 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.002751/2.853, allocations: 1.015 MB / 0.9478 GB, free: 24.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/2.853, allocations: 12.02 kB / 0.9478 GB, free: 24.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/2.855, allocations: 171 kB / 0.9479 GB, free: 23.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/2.857, allocations: 0.5779 MB / 0.9485 GB, free: 23.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/2.857, allocations: 15.98 kB / 0.9485 GB, free: 23.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.942e-05/2.857, allocations: 24 kB / 0.9485 GB, free: 23.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001046/2.858, allocations: 430.5 kB / 0.9489 GB, free: 22.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/2.859, allocations: 0.5347 MB / 0.9495 GB, free: 22.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/2.859, allocations: 0 / 0.9495 GB, free: 22.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.353e-05/2.859, allocations: 7.984 kB / 0.9495 GB, free: 22.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/2.86, allocations: 19.95 kB / 0.9495 GB, free: 22.27 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.004799/2.864, allocations: 2.692 MB / 0.9521 GB, free: 19.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009224/2.865, allocations: 258.8 kB / 0.9524 GB, free: 19.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/2.866, allocations: 109 kB / 0.9525 GB, free: 19.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/2.866, allocations: 191 kB / 0.9527 GB, free: 18.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/2.866, allocations: 177 kB / 0.9528 GB, free: 18.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.206e-06/2.866, allocations: 0 / 0.9528 GB, free: 18.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.01628/2.883, allocations: 1.506 MB / 0.9543 GB, free: 17.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/2.883, allocations: 162.2 kB / 0.9544 GB, free: 16.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/2.883, allocations: 0.4943 MB / 0.9549 GB, free: 16.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/2.884, allocations: 29.7 kB / 0.955 GB, free: 16.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/2.884, allocations: 417 kB / 0.9554 GB, free: 15.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/2.884, allocations: 74.94 kB / 0.9554 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/2.884, allocations: 0 / 0.9554 GB, free: 15.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/2.884, allocations: 334.8 kB / 0.9557 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/2.884, allocations: 141.1 kB / 0.9559 GB, free: 15.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/2.885, allocations: 366.4 kB / 0.9562 GB, free: 14.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01589/2.901, allocations: 1.443 MB / 0.9576 GB, free: 13.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/2.901, allocations: 4 kB / 0.9576 GB, free: 13.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01691/2.918, allocations: 1.777 MB / 0.9594 GB, free: 11.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006375/2.918, allocations: 2.735 MB / 0.962 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/2.918, allocations: 7.938 kB / 0.9621 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/2.918, allocations: 16 kB / 0.9621 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01177/2.93, allocations: 0.6048 MB / 0.9627 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0057/2.936, allocations: 1.019 MB / 0.9637 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/2.937, allocations: 59.36 kB / 0.9637 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/2.937, allocations: 59.94 kB / 0.9638 GB, free: 6.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/2.937, allocations: 4 kB / 0.9638 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004196/2.941, allocations: 0.9014 MB / 0.9647 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/2.942, allocations: 11.98 kB / 0.9647 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/2.942, allocations: 8 kB / 0.9647 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/2.942, allocations: 143.7 kB / 0.9648 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/2.942, allocations: 11.94 kB / 0.9648 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/2.943, allocations: 44.08 kB / 0.9649 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/2.943, allocations: 55.98 kB / 0.9649 GB, free: 5.805 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.0002307/2.943, allocations: 158.5 kB / 0.9651 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01598/2.959, allocations: 1.507 MB / 0.9665 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/2.959, allocations: 55.34 kB / 0.9666 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005156/2.965, allocations: 0.7075 MB / 0.9673 GB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/2.965, allocations: 4 kB / 0.9673 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/2.965, allocations: 0 / 0.9673 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/2.965, allocations: 4 kB / 0.9673 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/2.965, allocations: 429.9 kB / 0.9677 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/2.965, allocations: 0 / 0.9677 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/2.969, allocations: 171.8 kB / 0.9679 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.954e-06/2.969, allocations: 3.938 kB / 0.9679 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/2.969, allocations: 7.984 kB / 0.9679 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/2.97, allocations: 0.7147 MB / 0.9686 GB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/2.97, allocations: 0 / 0.9686 GB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004807/2.975, allocations: 0.6606 MB / 0.9692 GB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/2.975, allocations: 148.3 kB / 0.9694 GB, free: 1.121 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/2.975, allocations: 8 kB / 0.9694 GB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/2.976, allocations: 11.98 kB / 0.9694 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/2.976, allocations: 23.84 kB / 0.9694 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/2.976, allocations: 16 kB / 0.9694 GB, free: 1.062 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006455/2.977, allocations: 399.2 kB / 0.9698 GB, free: 0.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.977, allocations: 0 / 0.9698 GB, free: 0.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002496/2.979, allocations: 0.5771 MB / 0.9704 GB, free: 92 kB / 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 (23): * Single equations (assignments): 21 * 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.318/3.297, allocations: 2.409 MB / 0.9727 GB, free: 82.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02151/3.319, allocations: 1.485 MB / 0.9742 GB, free: 82.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/3.319, allocations: 0 / 0.9742 GB, free: 82.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005183/3.324, allocations: 373.5 kB / 0.9745 GB, free: 82.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/3.326, allocations: 201.3 kB / 0.9747 GB, free: 82.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/3.339, allocations: 2.574 MB / 0.9772 GB, free: 82.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/3.339, allocations: 0.8926 MB / 0.9781 GB, free: 81.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007963/3.34, allocations: 243 kB / 0.9783 GB, free: 81.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.654e-06/3.34, allocations: 0 / 0.9783 GB, free: 81.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.162/6.502, allocations: 21.42 MB / 0.9993 GB, free: 80.74 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