Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.596/2.596, allocations: 270 MB / 282.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.669e-05, allocations: 8 kB / 347.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4145, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.396/9.81, allocations: 2.765 GB / 3.165 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/9.811, allocations: 81.92 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.226/12.04, allocations: 416.4 MB / 3.571 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.217e-06/12.04, allocations: 3.812 kB / 3.571 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.043e-05/12.04, allocations: 11.28 kB / 3.571 GB, free: 73.41 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.006845/12.04, allocations: 1.523 MB / 3.573 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/12.04, allocations: 11.16 kB / 3.573 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/12.04, allocations: 79.72 kB / 3.573 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/12.05, allocations: 250.8 kB / 3.573 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/12.05, allocations: 420.5 kB / 3.574 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.023e-05/12.05, allocations: 34.88 kB / 3.574 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/12.05, allocations: 36.88 kB / 3.574 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/12.05, allocations: 0.6752 MB / 3.574 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/12.05, allocations: 3.75 kB / 3.574 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/12.05, allocations: 20.94 kB / 3.574 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/12.05, allocations: 10.84 kB / 3.574 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/12.05, allocations: 0.5346 MB / 3.575 GB, free: 72.18 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.005404/12.06, allocations: 3.244 MB / 3.578 GB, free: 69.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/12.06, allocations: 407 kB / 3.579 GB, free: 69.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/12.06, allocations: 126.6 kB / 3.579 GB, free: 69.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1794/12.24, allocations: 55.76 MB / 3.633 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/12.24, allocations: 35.72 kB / 3.633 GB, free: 35.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 3.316e-06/12.24, allocations: 0 / 3.633 GB, free: 35.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002987/12.24, allocations: 0.637 MB / 3.634 GB, free: 35.47 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/12.24, allocations: 110.2 kB / 3.634 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/12.24, allocations: 343 kB / 3.634 GB, free: 35.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/12.24, allocations: 29.08 kB / 3.634 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/12.24, allocations: 303.8 kB / 3.634 GB, free: 34.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/12.24, allocations: 88.77 kB / 3.635 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/12.24, allocations: 11.03 kB / 3.635 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.381e-05/12.24, allocations: 327.6 kB / 3.635 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/12.24, allocations: 96.03 kB / 3.635 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/12.24, allocations: 258.7 kB / 3.635 GB, free: 34.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/12.24, allocations: 140.1 kB / 3.635 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/12.24, allocations: 3.953 kB / 3.635 GB, free: 34.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001046/12.25, allocations: 399.9 kB / 3.636 GB, free: 34.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004896/12.25, allocations: 2.008 MB / 3.638 GB, free: 32.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/12.25, allocations: 7.812 kB / 3.638 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004874/12.25, allocations: 337.4 kB / 3.638 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007457/12.25, allocations: 102.6 kB / 3.638 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006277/12.25, allocations: 0.5882 MB / 3.639 GB, free: 31.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/12.25, allocations: 82.3 kB / 3.639 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/12.25, allocations: 23.72 kB / 3.639 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/12.25, allocations: 3.5 kB / 3.639 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008669/12.25, allocations: 329.6 kB / 3.639 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/12.25, allocations: 3.75 kB / 3.639 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/12.25, allocations: 7.875 kB / 3.639 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000765/12.26, allocations: 120.6 kB / 3.639 GB, free: 31.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/12.26, allocations: 10.16 kB / 3.639 GB, free: 31.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/12.26, allocations: 61.75 kB / 3.639 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/12.26, allocations: 26.56 kB / 3.639 GB, free: 31.61 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (45): * Single equations (assignments): 44 * 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.0001891/12.26, allocations: 130.2 kB / 3.639 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/12.26, allocations: 51.45 kB / 3.64 GB, free: 31.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/12.26, allocations: 1.854 MB / 3.641 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/12.26, allocations: 27.98 kB / 3.641 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/12.26, allocations: 4.797 kB / 3.641 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/12.26, allocations: 0 / 3.641 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/12.26, allocations: 0.9562 MB / 3.642 GB, free: 31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/12.26, allocations: 4 kB / 3.642 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/12.26, allocations: 70.3 kB / 3.642 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/12.26, allocations: 0.7666 MB / 3.643 GB, free: 30.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.49e-05/12.26, allocations: 3.5 kB / 3.643 GB, free: 30.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009569/12.26, allocations: 1.007 MB / 3.644 GB, free: 30.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/12.26, allocations: 6.453 kB / 3.644 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/12.27, allocations: 1.213 MB / 3.645 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/12.27, allocations: 254 kB / 3.646 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/12.27, allocations: 6.812 kB / 3.646 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005725/12.27, allocations: 44.7 kB / 3.646 GB, free: 29.97 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/12.27, allocations: 27.8 kB / 3.646 GB, free: 29.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/12.27, allocations: 14.33 kB / 3.646 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005974/12.27, allocations: 374.9 kB / 3.646 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/12.27, allocations: 0 / 3.646 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006105/12.27, allocations: 1.203 MB / 3.647 GB, free: 29.7 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 (30): * Single equations (assignments): 23 * 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.01222/12.29, allocations: 3.124 MB / 3.65 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001834/12.29, allocations: 0.6667 MB / 3.651 GB, free: 28.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/12.29, allocations: 0 / 3.651 GB, free: 28.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007577/12.29, allocations: 446.5 kB / 3.651 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/12.29, allocations: 226.8 kB / 3.651 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/12.3, allocations: 1.626 MB / 3.653 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/12.3, allocations: 0.9842 MB / 3.654 GB, free: 26.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004491/12.3, allocations: 267.2 kB / 3.654 GB, free: 26.63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/12.3, allocations: 0 / 3.654 GB, free: 26.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.869/16.17, allocations: 34.91 MB / 3.688 GB, free: 9.738 MB / 0.5261 GB