Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 235 MB / 247.6 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.984e-05/3.99e-05, allocations: 7.984 kB / 305 MB, free: 5.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4416, allocations: 54.85 MB / 359.9 MB, free: 2.238 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.807/8.249, allocations: 2.596 GB / 2.947 GB, free: 109.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/8.249, allocations: 84.31 kB / 2.948 GB, free: 109.3 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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 2.083/10.33, allocations: 399.2 MB / 3.337 GB, free: 54.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/10.33, allocations: 0 / 3.337 GB, free: 54.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.286e-05/10.33, allocations: 16.28 kB / 3.337 GB, free: 54.37 MB / 490.7 MB 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.006796/10.34, allocations: 1.538 MB / 3.339 GB, free: 53.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/10.34, allocations: 11.62 kB / 3.339 GB, free: 53.76 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/10.34, allocations: 79.97 kB / 3.339 GB, free: 53.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/10.34, allocations: 290.2 kB / 3.339 GB, free: 53.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/10.34, allocations: 471 kB / 3.34 GB, free: 53.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/10.34, allocations: 42.67 kB / 3.34 GB, free: 53.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.093e-05/10.34, allocations: 35.31 kB / 3.34 GB, free: 53.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/10.35, allocations: 0.6745 MB / 3.34 GB, free: 53.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/10.35, allocations: 0 / 3.34 GB, free: 53.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/10.35, allocations: 20.8 kB / 3.34 GB, free: 53.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/10.35, allocations: 15.03 kB / 3.34 GB, free: 53.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/10.35, allocations: 0.5589 MB / 3.341 GB, free: 53.32 MB / 490.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.004555/10.35, allocations: 2.859 MB / 3.344 GB, free: 51.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/10.36, allocations: 456.7 kB / 3.344 GB, free: 51.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/10.36, allocations: 149 kB / 3.344 GB, free: 51.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3635/10.72, allocations: 96.34 MB / 3.438 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/10.72, allocations: 35.81 kB / 3.439 GB, free: 32.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.605e-06/10.72, allocations: 0 / 3.439 GB, free: 32.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.003002/10.72, allocations: 0.6864 MB / 3.439 GB, free: 32.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/10.72, allocations: 108.8 kB / 3.439 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/10.72, allocations: 300.5 kB / 3.44 GB, free: 31.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/10.72, allocations: 35.89 kB / 3.44 GB, free: 31.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/10.72, allocations: 314.1 kB / 3.44 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/10.72, allocations: 101.2 kB / 3.44 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/10.72, allocations: 11.38 kB / 3.44 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001422/10.72, allocations: 322.2 kB / 3.44 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/10.72, allocations: 104.6 kB / 3.44 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/10.72, allocations: 253.3 kB / 3.441 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/10.72, allocations: 152.6 kB / 3.441 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/10.72, allocations: 0 / 3.441 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001053/10.73, allocations: 416.1 kB / 3.441 GB, free: 31.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007221/10.73, allocations: 1.743 MB / 3.443 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/10.73, allocations: 6.062 kB / 3.443 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/10.73, allocations: 200.9 kB / 3.443 GB, free: 29.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/10.73, allocations: 98.72 kB / 3.443 GB, free: 29.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000699/10.73, allocations: 0.592 MB / 3.444 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/10.73, allocations: 59.38 kB / 3.444 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/10.73, allocations: 21.97 kB / 3.444 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/10.73, allocations: 3.938 kB / 3.444 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008285/10.73, allocations: 343.6 kB / 3.444 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/10.73, allocations: 3.844 kB / 3.444 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/10.73, allocations: 11.19 kB / 3.444 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/10.73, allocations: 116.1 kB / 3.444 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/10.73, allocations: 7.406 kB / 3.444 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/10.73, allocations: 54.17 kB / 3.444 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/10.73, allocations: 28.72 kB / 3.444 GB, free: 28.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (46): * Single equations (assignments): 45 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002055/10.73, allocations: 139.9 kB / 3.445 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/10.73, allocations: 38.97 kB / 3.445 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/10.74, allocations: 1.976 MB / 3.446 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/10.74, allocations: 23.75 kB / 3.447 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/10.74, allocations: 3.656 kB / 3.447 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/10.74, allocations: 7 kB / 3.447 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/10.74, allocations: 0.9956 MB / 3.447 GB, free: 28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/10.74, allocations: 0 / 3.447 GB, free: 28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/10.74, allocations: 69.03 kB / 3.448 GB, free: 28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/10.74, allocations: 0.7011 MB / 3.448 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/10.74, allocations: 10.38 kB / 3.448 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/10.74, allocations: 0.9929 MB / 3.449 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/10.74, allocations: 7.156 kB / 3.449 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/10.74, allocations: 1.231 MB / 3.45 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/10.74, allocations: 250.4 kB / 3.451 GB, free: 27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.596e-05/10.74, allocations: 7.078 kB / 3.451 GB, free: 27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/10.75, allocations: 36.7 kB / 3.451 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/10.75, allocations: 27.78 kB / 3.451 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/10.75, allocations: 11.59 kB / 3.451 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004769/10.75, allocations: 304.3 kB / 3.451 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/10.75, allocations: 0 / 3.451 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005877/10.75, allocations: 1.206 MB / 3.452 GB, free: 26.71 MB / 0.5105 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 (34): * Single equations (assignments): 27 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01245/10.76, allocations: 3.115 MB / 3.455 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001733/10.77, allocations: 0.6863 MB / 3.456 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/10.77, allocations: 3.562 kB / 3.456 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007073/10.77, allocations: 449.2 kB / 3.456 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/10.77, allocations: 215.1 kB / 3.457 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8383/11.61, allocations: 152.5 MB / 3.606 GB, free: 73.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/11.61, allocations: 0.9934 MB / 3.606 GB, free: 73.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/11.61, allocations: 283.6 kB / 3.607 GB, free: 73.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/11.61, allocations: 3.719 kB / 3.607 GB, free: 73.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.611/15.22, allocations: 34.8 MB / 3.641 GB, free: 63.02 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat does not exist to compare? outputFormat=mat