Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.593/2.593, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.41e-05/4.418e-05, allocations: 7.984 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4387, allocations: 58.83 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.927/9.366, allocations: 2.761 GB / 3.134 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/9.367, allocations: 81.31 kB / 3.134 GB, free: 128.2 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:306:3-308: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.138/11.5, allocations: 401.3 MB / 3.526 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.814e-06/11.5, allocations: 0 / 3.526 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.324e-05/11.5, allocations: 13.56 kB / 3.526 GB, free: 64.39 MB / 0.5105 GB 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.006786/11.51, allocations: 1.541 MB / 3.527 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/11.51, allocations: 11.31 kB / 3.527 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/11.51, allocations: 76.88 kB / 3.527 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/11.52, allocations: 296.8 kB / 3.528 GB, free: 63.74 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/11.52, allocations: 456.6 kB / 3.528 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/11.52, allocations: 33.62 kB / 3.528 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/11.52, allocations: 44.48 kB / 3.528 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/11.52, allocations: 0.6896 MB / 3.529 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/11.52, allocations: 0 / 3.529 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/11.52, allocations: 18.39 kB / 3.529 GB, free: 63.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/11.52, allocations: 13.91 kB / 3.529 GB, free: 63.35 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/11.52, allocations: 0.5639 MB / 3.53 GB, free: 63.35 MB / 0.5105 GB 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.00508/11.53, allocations: 2.974 MB / 3.532 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/11.53, allocations: 477 kB / 3.533 GB, free: 61.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/11.53, allocations: 153 kB / 3.533 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1771/11.71, allocations: 55.75 MB / 3.587 GB, free: 43.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/11.71, allocations: 36.91 kB / 3.588 GB, free: 43.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.826e-06/11.71, allocations: 0 / 3.588 GB, free: 43.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.003308/11.71, allocations: 0.7222 MB / 3.588 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/11.71, allocations: 107.8 kB / 3.588 GB, free: 42.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/11.71, allocations: 358.4 kB / 3.589 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/11.71, allocations: 33.45 kB / 3.589 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/11.71, allocations: 246.2 kB / 3.589 GB, free: 42.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/11.71, allocations: 106.8 kB / 3.589 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/11.71, allocations: 6.625 kB / 3.589 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000167/11.71, allocations: 359.7 kB / 3.589 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/11.71, allocations: 108.6 kB / 3.589 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/11.71, allocations: 225.5 kB / 3.59 GB, free: 42.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/11.71, allocations: 144.5 kB / 3.59 GB, free: 42.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/11.71, allocations: 0 / 3.59 GB, free: 42.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001122/11.71, allocations: 422.7 kB / 3.59 GB, free: 42.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005685/11.71, allocations: 1.308 MB / 3.592 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/11.71, allocations: 3.094 kB / 3.592 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00478/11.72, allocations: 349.1 kB / 3.592 GB, free: 40.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/11.72, allocations: 91.66 kB / 3.592 GB, free: 40.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007714/11.72, allocations: 0.5961 MB / 3.593 GB, free: 40.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007902/11.72, allocations: 67.55 kB / 3.593 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/11.72, allocations: 18.94 kB / 3.593 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/11.72, allocations: 5.656 kB / 3.593 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008578/11.72, allocations: 326.3 kB / 3.593 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/11.72, allocations: 10.95 kB / 3.593 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/11.72, allocations: 7.938 kB / 3.593 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/11.72, allocations: 108.7 kB / 3.593 GB, free: 40.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/11.72, allocations: 13.08 kB / 3.593 GB, free: 40.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/11.72, allocations: 70.03 kB / 3.593 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/11.72, allocations: 18.25 kB / 3.593 GB, free: 40.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (40): * Single equations (assignments): 39 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000246/11.72, allocations: 128.6 kB / 3.593 GB, free: 40 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/11.72, allocations: 43.44 kB / 3.593 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/11.73, allocations: 2.009 MB / 3.595 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.583e-05/11.73, allocations: 26.66 kB / 3.595 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/11.73, allocations: 0 / 3.595 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/11.73, allocations: 0 / 3.595 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/11.73, allocations: 1.017 MB / 3.596 GB, free: 39.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/11.73, allocations: 0 / 3.596 GB, free: 39.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/11.73, allocations: 72.23 kB / 3.596 GB, free: 39.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/11.73, allocations: 0.7619 MB / 3.597 GB, free: 39.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/11.73, allocations: 9.406 kB / 3.597 GB, free: 39.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/11.73, allocations: 1.006 MB / 3.598 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/11.73, allocations: 3.531 kB / 3.598 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/11.73, allocations: 1.256 MB / 3.599 GB, free: 38.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/11.73, allocations: 258.6 kB / 3.6 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/11.73, allocations: 10.47 kB / 3.6 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/11.73, allocations: 40.7 kB / 3.6 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/11.74, allocations: 29.86 kB / 3.6 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/11.74, allocations: 17.09 kB / 3.6 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006493/11.74, allocations: 385.3 kB / 3.6 GB, free: 38.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.094e-06/11.74, allocations: 4 kB / 3.6 GB, free: 38.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006396/11.74, allocations: 1.209 MB / 3.601 GB, free: 38.18 MB / 0.5261 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 (33): * Single equations (assignments): 26 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01414/11.76, allocations: 3.132 MB / 3.604 GB, free: 37.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001945/11.76, allocations: 0.7041 MB / 3.605 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/11.76, allocations: 1.625 kB / 3.605 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008025/11.76, allocations: 463.9 kB / 3.605 GB, free: 37.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/11.76, allocations: 270.5 kB / 3.606 GB, free: 37.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/11.77, allocations: 1.648 MB / 3.607 GB, free: 36.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/11.77, allocations: 0.9994 MB / 3.608 GB, free: 35.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001653/11.77, allocations: 0.5756 MB / 3.609 GB, free: 35.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/11.77, allocations: 278.3 kB / 3.609 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.753e-06/11.77, allocations: 0 / 3.609 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1508/11.92, allocations: 49.4 MB / 3.657 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/11.92, allocations: 231.7 kB / 3.658 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.782/16.7, allocations: 4 kB / 3.658 GB, free: 31.52 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat does not exist to compare? outputFormat=mat