Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.605e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4058, allocations: 54.86 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.071/8.477, allocations: 2.596 GB / 2.948 GB, free: 108.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/8.477, allocations: 85.52 kB / 2.948 GB, free: 108.5 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.087/10.56, allocations: 399.1 MB / 3.337 GB, free: 54.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.894e-06/10.56, allocations: 3.562 kB / 3.337 GB, free: 54.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.609e-05/10.56, allocations: 16.08 kB / 3.337 GB, free: 54.55 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.006878/10.57, allocations: 1.537 MB / 3.339 GB, free: 53.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/10.57, allocations: 10.53 kB / 3.339 GB, free: 53.95 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00017/10.57, allocations: 78.55 kB / 3.339 GB, free: 53.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003266/10.58, allocations: 299.1 kB / 3.339 GB, free: 53.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/10.58, allocations: 473.5 kB / 3.34 GB, free: 53.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/10.58, allocations: 31.88 kB / 3.34 GB, free: 53.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/10.58, allocations: 39.8 kB / 3.34 GB, free: 53.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/10.58, allocations: 0.6771 MB / 3.34 GB, free: 53.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/10.58, allocations: 7.281 kB / 3.34 GB, free: 53.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.409e-05/10.58, allocations: 18.34 kB / 3.34 GB, free: 53.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/10.58, allocations: 10.81 kB / 3.341 GB, free: 53.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/10.58, allocations: 0.5567 MB / 3.341 GB, free: 53.5 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.004506/10.59, allocations: 2.861 MB / 3.344 GB, free: 51.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/10.59, allocations: 458.5 kB / 3.344 GB, free: 51.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/10.59, allocations: 143.8 kB / 3.344 GB, free: 51.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3641/10.95, allocations: 96.36 MB / 3.439 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/10.95, allocations: 36.66 kB / 3.439 GB, free: 32.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.996e-06/10.95, allocations: 0 / 3.439 GB, free: 32.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.003101/10.96, allocations: 0.6848 MB / 3.439 GB, free: 32.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/10.96, allocations: 106.5 kB / 3.439 GB, free: 32.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/10.96, allocations: 299.2 kB / 3.44 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/10.96, allocations: 32.77 kB / 3.44 GB, free: 32.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/10.96, allocations: 266.6 kB / 3.44 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/10.96, allocations: 104.5 kB / 3.44 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/10.96, allocations: 5.938 kB / 3.44 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001717/10.96, allocations: 350.9 kB / 3.44 GB, free: 31.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/10.96, allocations: 107.1 kB / 3.44 GB, free: 31.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/10.96, allocations: 249.3 kB / 3.441 GB, free: 31.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/10.96, allocations: 150.8 kB / 3.441 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/10.96, allocations: 3.5 kB / 3.441 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001122/10.96, allocations: 435.6 kB / 3.441 GB, free: 31.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007305/10.96, allocations: 1.744 MB / 3.443 GB, free: 29.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/10.96, allocations: 3.125 kB / 3.443 GB, free: 29.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/10.96, allocations: 199.6 kB / 3.443 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000725/10.96, allocations: 100.7 kB / 3.443 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006989/10.96, allocations: 0.5843 MB / 3.444 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/10.96, allocations: 67.75 kB / 3.444 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/10.96, allocations: 22.69 kB / 3.444 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/10.96, allocations: 9.906 kB / 3.444 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008398/10.97, allocations: 343.7 kB / 3.444 GB, free: 28.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/10.97, allocations: 3.438 kB / 3.444 GB, free: 28.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/10.97, allocations: 6 kB / 3.444 GB, free: 28.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/10.97, allocations: 111.9 kB / 3.444 GB, free: 28.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/10.97, allocations: 10.91 kB / 3.444 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/10.97, allocations: 56.16 kB / 3.444 GB, free: 28.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/10.97, allocations: 19.16 kB / 3.444 GB, free: 28.9 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.0002054/10.97, allocations: 140.5 kB / 3.445 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/10.97, allocations: 38.88 kB / 3.445 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/10.97, allocations: 1.979 MB / 3.447 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/10.97, allocations: 36.47 kB / 3.447 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/10.97, allocations: 3.391 kB / 3.447 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/10.97, allocations: 0 / 3.447 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/10.97, allocations: 0.9917 MB / 3.448 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/10.97, allocations: 0 / 3.448 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/10.97, allocations: 68.61 kB / 3.448 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/10.97, allocations: 0.7056 MB / 3.448 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/10.97, allocations: 5.938 kB / 3.448 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/10.98, allocations: 1.003 MB / 3.449 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/10.98, allocations: 0 / 3.449 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/10.98, allocations: 1.236 MB / 3.45 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/10.98, allocations: 240.6 kB / 3.451 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/10.98, allocations: 7.625 kB / 3.451 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/10.98, allocations: 50.28 kB / 3.451 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/10.98, allocations: 28.88 kB / 3.451 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/10.98, allocations: 10.34 kB / 3.451 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00049/10.98, allocations: 304.1 kB / 3.451 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/10.98, allocations: 0 / 3.451 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005982/10.98, allocations: 1.195 MB / 3.452 GB, free: 26.96 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.01207/11, allocations: 3.115 MB / 3.455 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00183/11, allocations: 0.6989 MB / 3.456 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/11, allocations: 4.062 kB / 3.456 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000736/11, allocations: 457.7 kB / 3.456 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/11, allocations: 215.8 kB / 3.457 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8456/11.85, allocations: 152.4 MB / 3.605 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/11.85, allocations: 1.002 MB / 3.606 GB, free: 73.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001473/11.85, allocations: 0.539 MB / 3.607 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/11.85, allocations: 271.5 kB / 3.607 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/11.85, allocations: 0 / 3.607 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/11.97, allocations: 47.56 MB / 3.654 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/11.97, allocations: 230.4 kB / 3.654 GB, free: 54.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.48/16.45, allocations: 0 / 3.654 GB, free: 54.13 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat does not exist to compare? outputFormat=mat