Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.572/2.572, allocations: 270 MB / 282.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.056e-05/4.058e-05, allocations: 4 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4122, allocations: 61.87 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.755/9.167, allocations: 2.766 GB / 3.165 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/9.168, allocations: 80.28 kB / 3.165 GB, free: 132.5 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 .... Notification: Performance of FrontEnd - DAE generated: time 2.188/11.36, allocations: 405.6 MB / 3.561 GB, free: 72.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.793e-06/11.36, allocations: 0 / 3.561 GB, free: 72.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.339e-05/11.36, allocations: 15.2 kB / 3.561 GB, free: 72.87 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.006902/11.36, allocations: 1.542 MB / 3.563 GB, free: 72.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/11.36, allocations: 7.844 kB / 3.563 GB, free: 72.17 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/11.36, allocations: 80.27 kB / 3.563 GB, free: 72.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/11.37, allocations: 296.4 kB / 3.563 GB, free: 72.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/11.37, allocations: 455.8 kB / 3.564 GB, free: 71.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/11.37, allocations: 33.97 kB / 3.564 GB, free: 71.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/11.37, allocations: 39.81 kB / 3.564 GB, free: 71.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003011/11.37, allocations: 0.6834 MB / 3.564 GB, free: 71.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/11.37, allocations: 6.719 kB / 3.564 GB, free: 71.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/11.37, allocations: 23.22 kB / 3.564 GB, free: 71.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/11.37, allocations: 10.78 kB / 3.564 GB, free: 71.72 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/11.37, allocations: 0.5579 MB / 3.565 GB, free: 71.72 MB / 0.5261 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.00511/11.38, allocations: 2.978 MB / 3.568 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/11.38, allocations: 477.6 kB / 3.568 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/11.38, allocations: 151.6 kB / 3.569 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1791/11.56, allocations: 55.75 MB / 3.623 GB, free: 35.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/11.56, allocations: 40.77 kB / 3.623 GB, free: 35.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.895e-06/11.56, allocations: 4 kB / 3.623 GB, free: 35.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.00327/11.56, allocations: 0.7342 MB / 3.624 GB, free: 35.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/11.56, allocations: 106.7 kB / 3.624 GB, free: 34.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/11.56, allocations: 356 kB / 3.624 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/11.56, allocations: 32.83 kB / 3.624 GB, free: 34.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/11.56, allocations: 287 kB / 3.624 GB, free: 34.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/11.56, allocations: 101.6 kB / 3.625 GB, free: 34.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/11.56, allocations: 7.75 kB / 3.625 GB, free: 34.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.271e-05/11.56, allocations: 329.8 kB / 3.625 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/11.56, allocations: 108.5 kB / 3.625 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/11.57, allocations: 229.7 kB / 3.625 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/11.57, allocations: 130.3 kB / 3.625 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/11.57, allocations: 0 / 3.625 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001065/11.57, allocations: 399.1 kB / 3.626 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002954/11.57, allocations: 1.31 MB / 3.627 GB, free: 32.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/11.57, allocations: 7.781 kB / 3.627 GB, free: 32.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004866/11.57, allocations: 329.9 kB / 3.627 GB, free: 32.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/11.57, allocations: 95.33 kB / 3.627 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006481/11.57, allocations: 0.6066 MB / 3.628 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/11.57, allocations: 74.03 kB / 3.628 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/11.57, allocations: 20.66 kB / 3.628 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/11.57, allocations: 3.938 kB / 3.628 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008356/11.58, allocations: 321.6 kB / 3.628 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/11.58, allocations: 4.219 kB / 3.628 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/11.58, allocations: 11.38 kB / 3.628 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/11.58, allocations: 103.4 kB / 3.629 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/11.58, allocations: 10.3 kB / 3.629 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/11.58, allocations: 62.22 kB / 3.629 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/11.58, allocations: 20.81 kB / 3.629 GB, free: 32.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001632/11.58, allocations: 130 kB / 3.629 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/11.58, allocations: 42.59 kB / 3.629 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/11.58, allocations: 2.003 MB / 3.631 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-05/11.58, allocations: 28.45 kB / 3.631 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/11.58, allocations: 4.609 kB / 3.631 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/11.58, allocations: 0 / 3.631 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/11.58, allocations: 1.014 MB / 3.632 GB, free: 31.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/11.58, allocations: 0 / 3.632 GB, free: 31.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/11.58, allocations: 79.64 kB / 3.632 GB, free: 31.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002433/11.58, allocations: 0.7552 MB / 3.633 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/11.58, allocations: 13.19 kB / 3.633 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009618/11.59, allocations: 1.012 MB / 3.634 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/11.59, allocations: 3.938 kB / 3.634 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/11.59, allocations: 1.25 MB / 3.635 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/11.59, allocations: 260.9 kB / 3.635 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/11.59, allocations: 13.94 kB / 3.635 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/11.59, allocations: 39.42 kB / 3.635 GB, free: 30.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/11.59, allocations: 36.67 kB / 3.635 GB, free: 30.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/11.59, allocations: 9.375 kB / 3.635 GB, free: 30.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006371/11.59, allocations: 385.4 kB / 3.635 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/11.59, allocations: 0 / 3.635 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006033/11.6, allocations: 1.205 MB / 3.637 GB, free: 30.08 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.011/11.61, allocations: 3.138 MB / 3.64 GB, free: 29.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001811/11.61, allocations: 0.6873 MB / 3.64 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/11.61, allocations: 0 / 3.64 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007226/11.61, allocations: 469.2 kB / 3.641 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/11.61, allocations: 266.5 kB / 3.641 GB, free: 29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006129/11.62, allocations: 1.681 MB / 3.643 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/11.62, allocations: 0.9964 MB / 3.644 GB, free: 27.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/11.62, allocations: 285 kB / 3.644 GB, free: 27.74 MB / 0.5261 GB Notification: Performance of SimCode: time 1.392e-06/11.62, allocations: 4 kB / 3.644 GB, free: 27.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.649/15.27, allocations: 35.53 MB / 3.679 GB, free: 15 MB / 0.5261 GB