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.172/2.172, allocations: 209.3 MB / 221.4 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.66e-05/4.678e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.271/8.39, allocations: 2.485 GB / 2.8 GB, free: 81.17 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/8.39, allocations: 78.52 kB / 2.8 GB, free: 81.13 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 1.975/10.37, allocations: 389.4 MB / 3.18 GB, free: 17.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/10.37, allocations: 0 / 3.18 GB, free: 17.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.997e-05/10.37, allocations: 9.562 kB / 3.18 GB, free: 17.64 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.006669/10.37, allocations: 1.494 MB / 3.181 GB, free: 16.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/10.37, allocations: 8.031 kB / 3.181 GB, free: 16.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/10.37, allocations: 82.53 kB / 3.181 GB, free: 16.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/10.38, allocations: 278.2 kB / 3.182 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/10.38, allocations: 476.8 kB / 3.182 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/10.38, allocations: 33 kB / 3.182 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/10.38, allocations: 36.69 kB / 3.182 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/10.38, allocations: 0.6864 MB / 3.183 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/10.38, allocations: 352 / 3.183 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/10.38, allocations: 23.95 kB / 3.183 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/10.38, allocations: 8 kB / 3.183 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/10.38, allocations: 0.5689 MB / 3.183 GB, free: 13.85 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.004453/10.39, allocations: 2.862 MB / 3.186 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/10.39, allocations: 454.4 kB / 3.187 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/10.39, allocations: 152.8 kB / 3.187 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7137/11.1, allocations: 96.23 MB / 3.281 GB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/11.1, allocations: 37.75 kB / 3.281 GB, free: 15.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 3.867e-06/11.1, allocations: 1.875 kB / 3.281 GB, free: 15.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.003068/11.1, allocations: 0.6823 MB / 3.282 GB, free: 15.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/11.1, allocations: 105.1 kB / 3.282 GB, free: 15.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004888/11.11, allocations: 305.1 kB / 3.282 GB, free: 15.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/11.11, allocations: 29.58 kB / 3.282 GB, free: 15.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/11.11, allocations: 268.8 kB / 3.282 GB, free: 15.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/11.11, allocations: 104 kB / 3.282 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/11.11, allocations: 7.781 kB / 3.282 GB, free: 15.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.921e-05/11.11, allocations: 349.1 kB / 3.283 GB, free: 15.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/11.11, allocations: 105.1 kB / 3.283 GB, free: 15.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/11.11, allocations: 256 kB / 3.283 GB, free: 14.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/11.11, allocations: 139 kB / 3.283 GB, free: 14.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/11.11, allocations: 0 / 3.283 GB, free: 14.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00115/11.11, allocations: 455.9 kB / 3.284 GB, free: 14.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001189/11.11, allocations: 1.74 MB / 3.285 GB, free: 29.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/11.11, allocations: 7.344 kB / 3.285 GB, free: 29.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003035/11.11, allocations: 202.1 kB / 3.285 GB, free: 29.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/11.11, allocations: 101 kB / 3.286 GB, free: 29.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007358/11.11, allocations: 0.5914 MB / 3.286 GB, free: 28.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/11.11, allocations: 58.23 kB / 3.286 GB, free: 28.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/11.11, allocations: 24.77 kB / 3.286 GB, free: 28.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/11.11, allocations: 3.812 kB / 3.286 GB, free: 28.53 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008709/11.12, allocations: 357 kB / 3.287 GB, free: 28.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/11.12, allocations: 9.672 kB / 3.287 GB, free: 28.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/11.12, allocations: 12.03 kB / 3.287 GB, free: 28.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/11.12, allocations: 115 kB / 3.287 GB, free: 28.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/11.12, allocations: 3.875 kB / 3.287 GB, free: 28.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006225/11.12, allocations: 59.78 kB / 3.287 GB, free: 28.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/11.12, allocations: 24.95 kB / 3.287 GB, free: 28.5 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.0002264/11.12, allocations: 130.2 kB / 3.287 GB, free: 28.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/11.12, allocations: 36.12 kB / 3.287 GB, free: 28.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/11.12, allocations: 1.985 MB / 3.289 GB, free: 28.15 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-05/11.12, allocations: 27.22 kB / 3.289 GB, free: 28.15 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/11.12, allocations: 6.188 kB / 3.289 GB, free: 28.15 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/11.12, allocations: 0 / 3.289 GB, free: 28.15 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/11.12, allocations: 0.9872 MB / 3.29 GB, free: 27.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/11.12, allocations: 1.094 kB / 3.29 GB, free: 27.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005606/11.12, allocations: 69.91 kB / 3.29 GB, free: 27.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002128/11.12, allocations: 0.7084 MB / 3.291 GB, free: 27.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.13e-05/11.13, allocations: 7.078 kB / 3.291 GB, free: 27.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/11.13, allocations: 0.999 MB / 3.292 GB, free: 27.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/11.13, allocations: 6.406 kB / 3.292 GB, free: 27.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/11.13, allocations: 1.242 MB / 3.293 GB, free: 27.08 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/11.13, allocations: 247.5 kB / 3.293 GB, free: 26.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.492e-05/11.13, allocations: 3.562 kB / 3.293 GB, free: 26.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/11.13, allocations: 38.23 kB / 3.293 GB, free: 26.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/11.13, allocations: 31.95 kB / 3.293 GB, free: 26.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/11.13, allocations: 13.28 kB / 3.293 GB, free: 26.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005437/11.13, allocations: 300 kB / 3.293 GB, free: 26.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.01e-07/11.13, allocations: 2.188 kB / 3.293 GB, free: 26.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00593/11.14, allocations: 1.197 MB / 3.295 GB, free: 26.83 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.0132/11.15, allocations: 3.098 MB / 3.298 GB, free: 25.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001865/11.15, allocations: 0.7199 MB / 3.298 GB, free: 25.92 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/11.15, allocations: 0 / 3.298 GB, free: 25.92 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008047/11.15, allocations: 461.2 kB / 3.299 GB, free: 25.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/11.15, allocations: 212 kB / 3.299 GB, free: 25.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8119/11.97, allocations: 150.5 MB / 3.446 GB, free: 82.78 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/11.97, allocations: 1 MB / 3.447 GB, free: 82.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001468/11.97, allocations: 0.5428 MB / 3.447 GB, free: 82.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/11.97, allocations: 268.7 kB / 3.448 GB, free: 82.06 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/11.97, allocations: 0 / 3.448 GB, free: 82.06 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/12.09, allocations: 47.33 MB / 3.494 GB, free: 79.48 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003062/12.09, allocations: 227.6 kB / 3.494 GB, free: 79.19 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.738/16.83, allocations: 3.938 kB / 3.494 GB, free: 79.18 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