Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.979/2.979, allocations: 270 MB / 282.6 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.542e-05, allocations: 4 kB / 347.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 61.87 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.844/9.258, allocations: 2.767 GB / 3.166 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/9.258, allocations: 85.59 kB / 3.166 GB, free: 131.6 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:306:3-308: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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:306:3-308: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 3.482/12.74, allocations: 0.6723 GB / 3.839 GB, free: 55.13 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.914e-06/12.74, allocations: 0 / 3.839 GB, free: 55.13 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.019e-05/12.74, allocations: 24.45 kB / 3.839 GB, free: 55.13 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009786/12.75, allocations: 2.196 MB / 3.841 GB, free: 53.96 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/12.75, allocations: 7.344 kB / 3.841 GB, free: 53.96 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000379/12.75, allocations: 126.7 kB / 3.841 GB, free: 53.92 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00769/12.76, allocations: 0.5798 MB / 3.841 GB, free: 53.87 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/12.76, allocations: 0.67 MB / 3.842 GB, free: 53.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.963e-05/12.76, allocations: 62.78 kB / 3.842 GB, free: 53.57 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/12.76, allocations: 69.72 kB / 3.842 GB, free: 53.57 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004628/12.77, allocations: 1.36 MB / 3.844 GB, free: 53.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/12.77, allocations: 7.547 kB / 3.844 GB, free: 53.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/12.77, allocations: 43.81 kB / 3.844 GB, free: 53.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/12.77, allocations: 17.81 kB / 3.844 GB, free: 53.27 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004205/12.77, allocations: 1.138 MB / 3.845 GB, free: 52.99 MB / 0.5417 GB 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.011/12.78, allocations: 5.741 MB / 3.85 GB, free: 48.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003905/12.78, allocations: 0.9447 MB / 3.851 GB, free: 48.31 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007906/12.79, allocations: 282.8 kB / 3.852 GB, free: 48.19 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.102/12.89, allocations: 32.27 MB / 3.883 GB, free: 27.22 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/12.89, allocations: 46.48 kB / 3.883 GB, free: 27.17 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001241/12.89, allocations: 134.9 kB / 3.883 GB, free: 27.12 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=58): time 4.468e-06/12.89, allocations: 0 / 3.883 GB, free: 27.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58): time 0.00651/12.9, allocations: 1.389 MB / 3.885 GB, free: 26.71 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/12.9, allocations: 187.3 kB / 3.885 GB, free: 26.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/12.9, allocations: 0.575 MB / 3.885 GB, free: 26.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/12.9, allocations: 40.86 kB / 3.885 GB, free: 26.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/12.9, allocations: 413.7 kB / 3.886 GB, free: 25.83 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/12.9, allocations: 196.9 kB / 3.886 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/12.9, allocations: 15.88 kB / 3.886 GB, free: 25.67 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.285e-05/12.9, allocations: 342.8 kB / 3.886 GB, free: 25.34 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005848/12.9, allocations: 200.7 kB / 3.886 GB, free: 25.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/12.9, allocations: 471.5 kB / 3.887 GB, free: 24.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/12.9, allocations: 259.4 kB / 3.887 GB, free: 24.39 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-06/12.9, allocations: 7.938 kB / 3.887 GB, free: 24.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001994/12.9, allocations: 0.7254 MB / 3.888 GB, free: 23.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007269/12.9, allocations: 2.968 MB / 3.891 GB, free: 20.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/12.9, allocations: 8 kB / 3.891 GB, free: 20.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009228/12.91, allocations: 0.6367 MB / 3.891 GB, free: 20.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/12.91, allocations: 202 kB / 3.892 GB, free: 19.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/12.91, allocations: 1.16 MB / 3.893 GB, free: 18.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/12.92, allocations: 85.62 kB / 3.893 GB, free: 18.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/12.92, allocations: 46.66 kB / 3.893 GB, free: 18.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/12.92, allocations: 4 kB / 3.893 GB, free: 18.6 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00172/12.92, allocations: 0.6134 MB / 3.893 GB, free: 18.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/12.92, allocations: 8 kB / 3.893 GB, free: 18.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/12.92, allocations: 12.84 kB / 3.894 GB, free: 18.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/12.92, allocations: 224.9 kB / 3.894 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/12.92, allocations: 15.94 kB / 3.894 GB, free: 17.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/12.92, allocations: 79.56 kB / 3.894 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.793e-05/12.92, allocations: 43.94 kB / 3.894 GB, free: 17.72 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 8 (boundary_fixed1.medium.phase,boundary_fixed.medium.phase,massFlowRate1.medium.phase,massFlowRate2.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003147/12.92, allocations: 164.4 kB / 3.894 GB, free: 17.56 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/12.92, allocations: 86.97 kB / 3.894 GB, free: 17.47 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005638/12.93, allocations: 3.633 MB / 3.898 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.179e-05/12.93, allocations: 45.95 kB / 3.898 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/12.93, allocations: 0 / 3.898 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/12.93, allocations: 6.703 kB / 3.898 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/12.93, allocations: 1.78 MB / 3.899 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/12.93, allocations: 0 / 3.899 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/12.93, allocations: 156.1 kB / 3.9 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004418/12.94, allocations: 1.003 MB / 3.901 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/12.94, allocations: 22.62 kB / 3.901 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/12.94, allocations: 1.563 MB / 3.902 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/12.94, allocations: 0 / 3.902 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/12.94, allocations: 2.031 MB / 3.904 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/12.94, allocations: 454.2 kB / 3.905 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/12.94, allocations: 15.8 kB / 3.905 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/12.94, allocations: 80.41 kB / 3.905 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/12.94, allocations: 64.66 kB / 3.905 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/12.94, allocations: 23.75 kB / 3.905 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001355/12.95, allocations: 0.7451 MB / 3.905 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.01e-07/12.95, allocations: 0 / 3.905 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00664/12.95, allocations: 1.329 MB / 3.907 GB, free: 5.727 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse22.region3boundary,$cse23.region3boundary,$cse24.phase,$cse24.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01293/12.96, allocations: 4.158 MB / 3.911 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003323/12.97, allocations: 1.268 MB / 3.912 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/12.97, allocations: 0 / 3.912 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/12.97, allocations: 0.8062 MB / 3.913 GB, free: 168 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005479/12.98, allocations: 0.5268 MB / 3.913 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009436/12.98, allocations: 2.712 MB / 3.916 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/12.99, allocations: 1.286 MB / 3.917 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/12.99, allocations: 0.5539 MB / 3.918 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of SimCode: time 1.432e-06/12.99, allocations: 0 / 3.918 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.624/17.61, allocations: 53.16 MB / 3.97 GB, free: 59.16 MB / 0.5573 GB