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.477/2.477, allocations: 235 MB / 247.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.207e-05/4.222e-05, allocations: 7.984 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4156, allocations: 54.85 MB / 359.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.035/8.45, allocations: 2.596 GB / 2.947 GB, free: 108.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/8.451, allocations: 88.61 kB / 2.948 GB, free: 108.6 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.53, allocations: 399.2 MB / 3.337 GB, free: 54.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/10.53, allocations: 0 / 3.337 GB, free: 54.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.697e-05/10.53, allocations: 16.09 kB / 3.337 GB, free: 54.7 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.007107/10.54, allocations: 1.536 MB / 3.339 GB, free: 54.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/10.54, allocations: 9.875 kB / 3.339 GB, free: 54.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/10.54, allocations: 74.78 kB / 3.339 GB, free: 54.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/10.54, allocations: 297.4 kB / 3.339 GB, free: 54.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/10.55, allocations: 473.4 kB / 3.34 GB, free: 53.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/10.55, allocations: 32.22 kB / 3.34 GB, free: 53.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/10.55, allocations: 38.75 kB / 3.34 GB, free: 53.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/10.55, allocations: 0.6868 MB / 3.34 GB, free: 53.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/10.55, allocations: 2.625 kB / 3.34 GB, free: 53.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/10.55, allocations: 18.31 kB / 3.34 GB, free: 53.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/10.55, allocations: 14.91 kB / 3.34 GB, free: 53.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/10.55, allocations: 0.5734 MB / 3.341 GB, free: 53.65 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.004616/10.56, allocations: 2.856 MB / 3.344 GB, free: 51.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/10.56, allocations: 452 kB / 3.344 GB, free: 51.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/10.56, allocations: 150.5 kB / 3.344 GB, free: 51.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3592/10.92, allocations: 96.35 MB / 3.438 GB, free: 32.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/10.92, allocations: 42.91 kB / 3.439 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 4.499e-06/10.92, allocations: 0 / 3.439 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.003014/10.92, allocations: 0.6781 MB / 3.439 GB, free: 32.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/10.92, allocations: 113.2 kB / 3.439 GB, free: 32.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/10.92, allocations: 300.1 kB / 3.44 GB, free: 32.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/10.92, allocations: 33.45 kB / 3.44 GB, free: 32.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/10.92, allocations: 264.9 kB / 3.44 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/10.92, allocations: 106 kB / 3.44 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/10.92, allocations: 5.875 kB / 3.44 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001567/10.92, allocations: 350.1 kB / 3.44 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/10.92, allocations: 107.5 kB / 3.44 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/10.92, allocations: 254.2 kB / 3.441 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/10.92, allocations: 148.3 kB / 3.441 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/10.92, allocations: 0 / 3.441 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001084/10.92, allocations: 448.7 kB / 3.441 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007032/10.92, allocations: 1.74 MB / 3.443 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/10.92, allocations: 7.031 kB / 3.443 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/10.93, allocations: 199 kB / 3.443 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/10.93, allocations: 110 kB / 3.443 GB, free: 29.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006897/10.93, allocations: 0.5859 MB / 3.444 GB, free: 29.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000694/10.93, allocations: 67.77 kB / 3.444 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/10.93, allocations: 21 kB / 3.444 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/10.93, allocations: 3.406 kB / 3.444 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008346/10.93, allocations: 360.5 kB / 3.444 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/10.93, allocations: 3.906 kB / 3.444 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/10.93, allocations: 7.875 kB / 3.444 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/10.93, allocations: 104.4 kB / 3.444 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/10.93, allocations: 15.2 kB / 3.444 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005342/10.93, allocations: 54.25 kB / 3.444 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/10.93, allocations: 21.12 kB / 3.444 GB, free: 29.04 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.0001992/10.93, allocations: 136.1 kB / 3.445 GB, free: 28.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/10.93, allocations: 37.97 kB / 3.445 GB, free: 28.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/10.93, allocations: 1.988 MB / 3.447 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-05/10.93, allocations: 28.23 kB / 3.447 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/10.93, allocations: 0 / 3.447 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/10.93, allocations: 1.875 kB / 3.447 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/10.94, allocations: 0.9971 MB / 3.448 GB, free: 28.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/10.94, allocations: 4 kB / 3.448 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/10.94, allocations: 72.12 kB / 3.448 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002045/10.94, allocations: 0.6992 MB / 3.448 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/10.94, allocations: 9.281 kB / 3.448 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/10.94, allocations: 1.001 MB / 3.449 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/10.94, allocations: 0 / 3.449 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/10.94, allocations: 1.232 MB / 3.45 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/10.94, allocations: 239.2 kB / 3.451 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.54e-05/10.94, allocations: 9.938 kB / 3.451 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/10.94, allocations: 45.42 kB / 3.451 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/10.94, allocations: 34.84 kB / 3.451 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/10.94, allocations: 6.469 kB / 3.451 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004846/10.94, allocations: 304.2 kB / 3.451 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/10.94, allocations: 4 kB / 3.451 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006346/10.95, allocations: 1.201 MB / 3.452 GB, free: 27.09 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.01322/10.96, allocations: 3.102 MB / 3.455 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001823/10.97, allocations: 0.7173 MB / 3.456 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/10.97, allocations: 4.25 kB / 3.456 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006763/10.97, allocations: 449.2 kB / 3.456 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/10.97, allocations: 210.1 kB / 3.457 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8289/11.8, allocations: 152.4 MB / 3.605 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/11.8, allocations: 1.001 MB / 3.606 GB, free: 74.08 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001418/11.8, allocations: 0.5322 MB / 3.607 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/11.8, allocations: 271.4 kB / 3.607 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of SimCode: time 1.113e-06/11.8, allocations: 1.203 kB / 3.607 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/11.91, allocations: 47.49 MB / 3.654 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003835/11.91, allocations: 227.7 kB / 3.654 GB, free: 54.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.559/16.47, allocations: 0 / 3.654 GB, free: 54.3 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