Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.264/2.264, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.721e-05, allocations: 0 / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 48.71 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.986/8.101, allocations: 2.485 GB / 2.794 GB, free: 106 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/8.101, allocations: 91.55 kB / 2.794 GB, free: 106 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.009/10.11, allocations: 385.5 MB / 3.17 GB, free: 44.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/10.11, allocations: 0 / 3.17 GB, free: 44.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.741e-05/10.11, allocations: 17.66 kB / 3.17 GB, free: 44.04 MB / 426.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.006405/10.12, allocations: 1.494 MB / 3.172 GB, free: 43.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/10.12, allocations: 7.781 kB / 3.172 GB, free: 43.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/10.12, allocations: 278.5 kB / 3.172 GB, free: 43.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/10.12, allocations: 474.3 kB / 3.173 GB, free: 42.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/10.12, allocations: 15.25 kB / 3.173 GB, free: 42.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.021e-05/10.12, allocations: 23.95 kB / 3.173 GB, free: 42.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009249/10.12, allocations: 364 kB / 3.173 GB, free: 42.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009207/10.12, allocations: 460.5 kB / 3.173 GB, free: 42.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/10.12, allocations: 7.828 kB / 3.173 GB, free: 42.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/10.12, allocations: 7.609 kB / 3.173 GB, free: 42.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/10.12, allocations: 9.656 kB / 3.173 GB, free: 42.39 MB / 426.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.2249/10.35, allocations: 54.83 MB / 3.227 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000763/10.35, allocations: 252.9 kB / 3.227 GB, free: 12.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/10.35, allocations: 128.8 kB / 3.227 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5648/10.91, allocations: 64.89 MB / 3.291 GB, free: 34.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/10.91, allocations: 38.28 kB / 3.291 GB, free: 34.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 3.757e-06/10.91, allocations: 0 / 3.291 GB, free: 34.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=24): time 0.003797/10.92, allocations: 0.5815 MB / 3.291 GB, free: 34.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/10.92, allocations: 110.7 kB / 3.291 GB, free: 34.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/10.92, allocations: 302.4 kB / 3.292 GB, free: 34.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/10.92, allocations: 31.58 kB / 3.292 GB, free: 34.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/10.92, allocations: 280.4 kB / 3.292 GB, free: 34.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-05/10.92, allocations: 79.45 kB / 3.292 GB, free: 34.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/10.92, allocations: 3.75 kB / 3.292 GB, free: 34.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/10.92, allocations: 348.4 kB / 3.292 GB, free: 34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/10.92, allocations: 100.5 kB / 3.292 GB, free: 34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/10.92, allocations: 246.4 kB / 3.293 GB, free: 33.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/10.92, allocations: 251 kB / 3.293 GB, free: 33.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/10.92, allocations: 6.25 kB / 3.293 GB, free: 33.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002279/10.92, allocations: 0.5098 MB / 3.293 GB, free: 33.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004305/10.92, allocations: 1.741 MB / 3.295 GB, free: 31.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/10.92, allocations: 5.844 kB / 3.295 GB, free: 31.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/10.92, allocations: 45.41 kB / 3.295 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/10.93, allocations: 101.3 kB / 3.295 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/10.93, allocations: 0.6443 MB / 3.296 GB, free: 31.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008388/10.93, allocations: 58.06 kB / 3.296 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/10.93, allocations: 24.64 kB / 3.296 GB, free: 31.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/10.93, allocations: 4.5 kB / 3.296 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00153/10.93, allocations: 372.1 kB / 3.296 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/10.93, allocations: 6.062 kB / 3.296 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/10.93, allocations: 6.844 kB / 3.296 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/10.93, allocations: 118.4 kB / 3.296 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/10.93, allocations: 6.969 kB / 3.296 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006423/10.93, allocations: 46.61 kB / 3.297 GB, free: 31.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/10.93, allocations: 25.08 kB / 3.297 GB, free: 31.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (massFlowRate1.medium.phase,boundary_fixed.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.0002056/10.93, allocations: 125.8 kB / 3.297 GB, free: 31.25 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001959/10.93, allocations: 376.2 kB / 3.297 GB, free: 31.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/10.93, allocations: 36.91 kB / 3.297 GB, free: 31.17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/10.94, allocations: 1.577 MB / 3.299 GB, free: 31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.854e-05/10.94, allocations: 27.31 kB / 3.299 GB, free: 31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/10.94, allocations: 0 / 3.299 GB, free: 31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/10.94, allocations: 0 / 3.299 GB, free: 31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/10.94, allocations: 2.166 MB / 3.301 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/10.94, allocations: 4.062 kB / 3.301 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/10.94, allocations: 58.84 kB / 3.301 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000879/10.94, allocations: 0.5968 MB / 3.301 GB, free: 30.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/10.94, allocations: 7.312 kB / 3.301 GB, free: 30.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/10.94, allocations: 1.086 MB / 3.302 GB, free: 30.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/10.94, allocations: 0.8438 kB / 3.302 GB, free: 30.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/10.94, allocations: 1.214 MB / 3.304 GB, free: 29.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/10.95, allocations: 183.8 kB / 3.304 GB, free: 29.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.626e-05/10.95, allocations: 0 / 3.304 GB, free: 29.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/10.95, allocations: 29.09 kB / 3.304 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/10.95, allocations: 30.83 kB / 3.304 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/10.95, allocations: 9.188 kB / 3.304 GB, free: 29.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003354/10.95, allocations: 230.7 kB / 3.304 GB, free: 29.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/10.95, allocations: 0 / 3.304 GB, free: 29.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005993/10.95, allocations: 1.159 MB / 3.305 GB, free: 29.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,massFlowRate1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.01403/10.97, allocations: 3.316 MB / 3.308 GB, free: 28.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001627/10.97, allocations: 0.6365 MB / 3.309 GB, free: 28.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/10.97, allocations: 0.8125 kB / 3.309 GB, free: 28.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006478/10.97, allocations: 402.6 kB / 3.309 GB, free: 28.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/10.97, allocations: 169.3 kB / 3.31 GB, free: 28.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00614/10.98, allocations: 1.443 MB / 3.311 GB, free: 28.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/10.98, allocations: 0.9482 MB / 3.312 GB, free: 27.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001918/10.98, allocations: 0.6121 MB / 3.313 GB, free: 27.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/10.98, allocations: 231.3 kB / 3.313 GB, free: 27.3 MB / 442.7 MB Notification: Performance of SimCode: time 9.81e-07/10.98, allocations: 3.75 kB / 3.313 GB, free: 27.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1409/11.12, allocations: 37.83 MB / 3.35 GB, free: 25.05 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/11.12, allocations: 181.6 kB / 3.35 GB, free: 24.85 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.256/15.38, allocations: 0 / 3.35 GB, free: 24.85 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat does not exist to compare? outputFormat=mat