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.03/2.03, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.064e-05/4.062e-05, allocations: 4 kB / 273.2 MB, free: 120 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 48.71 MB / 321.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.963/8.072, allocations: 2.485 GB / 2.8 GB, free: 79.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/8.073, allocations: 79.64 kB / 2.8 GB, free: 79.2 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.011/10.08, allocations: 389.4 MB / 3.18 GB, free: 13.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.305e-06/10.08, allocations: 0 / 3.18 GB, free: 13.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.371e-05/10.08, allocations: 12 kB / 3.18 GB, free: 13.05 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.006866/10.09, allocations: 1.489 MB / 3.181 GB, free: 11.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/10.09, allocations: 12.03 kB / 3.181 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/10.09, allocations: 78.53 kB / 3.181 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003173/10.09, allocations: 278.8 kB / 3.182 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/10.1, allocations: 471 kB / 3.182 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/10.1, allocations: 33 kB / 3.182 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.748e-05/10.1, allocations: 36.69 kB / 3.182 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/10.1, allocations: 0.6806 MB / 3.183 GB, free: 9.871 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/10.1, allocations: 4.281 kB / 3.183 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.34e-05/10.1, allocations: 19.95 kB / 3.183 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/10.1, allocations: 12 kB / 3.183 GB, free: 9.836 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/10.1, allocations: 0.5635 MB / 3.184 GB, free: 9.273 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.004436/10.1, allocations: 2.858 MB / 3.186 GB, free: 6.215 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/10.11, allocations: 454.4 kB / 3.187 GB, free: 5.762 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/10.11, allocations: 147.9 kB / 3.187 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7045/10.81, allocations: 96.23 MB / 3.281 GB, free: 29.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/10.81, allocations: 41.16 kB / 3.281 GB, free: 29.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=30): time 3.868e-06/10.81, allocations: 0 / 3.281 GB, free: 29.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=30): time 0.00299/10.81, allocations: 0.683 MB / 3.282 GB, free: 29.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/10.81, allocations: 114.3 kB / 3.282 GB, free: 29.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/10.81, allocations: 300.9 kB / 3.282 GB, free: 29.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/10.81, allocations: 29.45 kB / 3.282 GB, free: 29.24 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/10.82, allocations: 265.3 kB / 3.282 GB, free: 29.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/10.82, allocations: 109.7 kB / 3.282 GB, free: 29.06 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/10.82, allocations: 7.75 kB / 3.282 GB, free: 29.06 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/10.82, allocations: 349.6 kB / 3.283 GB, free: 28.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/10.82, allocations: 111.8 kB / 3.283 GB, free: 28.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/10.82, allocations: 249.8 kB / 3.283 GB, free: 28.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/10.82, allocations: 147.1 kB / 3.283 GB, free: 28.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/10.82, allocations: 2.688 kB / 3.283 GB, free: 28.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001062/10.82, allocations: 430.3 kB / 3.284 GB, free: 28.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007513/10.82, allocations: 1.748 MB / 3.285 GB, free: 26.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/10.82, allocations: 3.938 kB / 3.285 GB, free: 26.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/10.82, allocations: 202.6 kB / 3.285 GB, free: 26.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/10.82, allocations: 95.41 kB / 3.286 GB, free: 26.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008134/10.82, allocations: 0.588 MB / 3.286 GB, free: 26.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007523/10.82, allocations: 60.91 kB / 3.286 GB, free: 26.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/10.82, allocations: 25.02 kB / 3.286 GB, free: 26.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/10.82, allocations: 3.594 kB / 3.286 GB, free: 26.12 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000882/10.82, allocations: 351.1 kB / 3.287 GB, free: 26.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/10.82, allocations: 3.625 kB / 3.287 GB, free: 26.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/10.82, allocations: 10.38 kB / 3.287 GB, free: 26.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/10.83, allocations: 115.4 kB / 3.287 GB, free: 26.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/10.83, allocations: 7.5 kB / 3.287 GB, free: 26.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/10.83, allocations: 56.84 kB / 3.287 GB, free: 26.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/10.83, allocations: 25.61 kB / 3.287 GB, free: 26.1 MB / 458.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 (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.0002253/10.83, allocations: 127.7 kB / 3.287 GB, free: 25.99 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/10.83, allocations: 38.09 kB / 3.287 GB, free: 25.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/10.83, allocations: 1.987 MB / 3.289 GB, free: 25.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/10.83, allocations: 22.75 kB / 3.289 GB, free: 25.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/10.83, allocations: 0 / 3.289 GB, free: 25.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/10.83, allocations: 9.047 kB / 3.289 GB, free: 25.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/10.83, allocations: 0.9903 MB / 3.29 GB, free: 25.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/10.83, allocations: 0 / 3.29 GB, free: 25.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005259/10.83, allocations: 68.41 kB / 3.29 GB, free: 25.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/10.83, allocations: 0.7044 MB / 3.291 GB, free: 25.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/10.83, allocations: 11.42 kB / 3.291 GB, free: 25.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009965/10.83, allocations: 0.9999 MB / 3.292 GB, free: 24.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/10.83, allocations: 0 / 3.292 GB, free: 24.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/10.84, allocations: 1.246 MB / 3.293 GB, free: 24.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/10.84, allocations: 243.8 kB / 3.293 GB, free: 24.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.355e-05/10.84, allocations: 5.75 kB / 3.293 GB, free: 24.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/10.84, allocations: 41.67 kB / 3.293 GB, free: 24.53 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/10.84, allocations: 27.81 kB / 3.293 GB, free: 24.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/10.84, allocations: 13.77 kB / 3.293 GB, free: 24.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004731/10.84, allocations: 301.7 kB / 3.293 GB, free: 24.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.84, allocations: 2.078 kB / 3.293 GB, free: 24.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005654/10.84, allocations: 1.196 MB / 3.295 GB, free: 24.43 MB / 458.7 MB 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.0114/10.86, allocations: 3.116 MB / 3.298 GB, free: 23.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/10.86, allocations: 0.7015 MB / 3.298 GB, free: 23.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/10.86, allocations: 0 / 3.298 GB, free: 23.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000674/10.86, allocations: 459.7 kB / 3.299 GB, free: 23.51 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/10.86, allocations: 198.9 kB / 3.299 GB, free: 23.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8234/11.68, allocations: 150.9 MB / 3.446 GB, free: 80.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/11.68, allocations: 1.004 MB / 3.447 GB, free: 80.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001493/11.69, allocations: 0.5329 MB / 3.448 GB, free: 80.15 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/11.69, allocations: 271.4 kB / 3.448 GB, free: 80.15 MB / 474.7 MB Notification: Performance of SimCode: time 1.173e-06/11.69, allocations: 0 / 3.448 GB, free: 80.15 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1535/11.84, allocations: 47.4 MB / 3.494 GB, free: 74.61 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/11.84, allocations: 238.2 kB / 3.495 GB, free: 74.33 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.48/16.32, allocations: 0 / 3.495 GB, free: 74.33 MB / 474.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