Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.046/2.046, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.705e-05/2.728e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.713/7.828, allocations: 2.485 GB / 2.794 GB, free: 104.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/7.828, allocations: 85.89 kB / 2.794 GB, free: 104.7 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 1.964/9.792, allocations: 385.5 MB / 3.17 GB, free: 43.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.414e-06/9.792, allocations: 3.938 kB / 3.17 GB, free: 43.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.239e-05/9.792, allocations: 10.75 kB / 3.17 GB, free: 43.08 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.006913/9.799, allocations: 1.498 MB / 3.172 GB, free: 42.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/9.799, allocations: 9.594 kB / 3.172 GB, free: 42.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/9.802, allocations: 274.2 kB / 3.172 GB, free: 42.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/9.804, allocations: 469.2 kB / 3.173 GB, free: 41.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/9.804, allocations: 18.72 kB / 3.173 GB, free: 41.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/9.804, allocations: 21.66 kB / 3.173 GB, free: 41.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009443/9.805, allocations: 367.9 kB / 3.173 GB, free: 41.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009171/9.806, allocations: 462.1 kB / 3.173 GB, free: 41.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/9.806, allocations: 7.781 kB / 3.173 GB, free: 41.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.653e-05/9.806, allocations: 3.953 kB / 3.173 GB, free: 41.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/9.806, allocations: 11.44 kB / 3.173 GB, free: 41.41 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.2245/10.03, allocations: 54.83 MB / 3.227 GB, free: 9.746 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/10.03, allocations: 250.6 kB / 3.227 GB, free: 9.492 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/10.03, allocations: 132.8 kB / 3.227 GB, free: 9.359 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5523/10.58, allocations: 64.89 MB / 3.291 GB, free: 33.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/10.58, allocations: 36.88 kB / 3.291 GB, free: 33.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 5.26e-06/10.58, allocations: 1.406 kB / 3.291 GB, free: 33.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=24): time 0.003217/10.59, allocations: 0.5862 MB / 3.291 GB, free: 33.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/10.59, allocations: 106.7 kB / 3.291 GB, free: 33.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/10.59, allocations: 301 kB / 3.292 GB, free: 33.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/10.59, allocations: 25.7 kB / 3.292 GB, free: 33.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/10.59, allocations: 336.2 kB / 3.292 GB, free: 33.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.726e-05/10.59, allocations: 79.11 kB / 3.292 GB, free: 33.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/10.59, allocations: 0 / 3.292 GB, free: 33.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/10.59, allocations: 331.6 kB / 3.292 GB, free: 32.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/10.59, allocations: 99.53 kB / 3.292 GB, free: 32.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/10.59, allocations: 248.5 kB / 3.293 GB, free: 32.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/10.59, allocations: 251.5 kB / 3.293 GB, free: 32.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/10.59, allocations: 0.8594 kB / 3.293 GB, free: 32.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002181/10.59, allocations: 0.4894 MB / 3.293 GB, free: 32.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004082/10.59, allocations: 1.748 MB / 3.295 GB, free: 30.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/10.59, allocations: 3.906 kB / 3.295 GB, free: 30.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/10.59, allocations: 47.75 kB / 3.295 GB, free: 30.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/10.59, allocations: 96.77 kB / 3.295 GB, free: 30.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/10.6, allocations: 0.6485 MB / 3.296 GB, free: 30.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008124/10.6, allocations: 53.14 kB / 3.296 GB, free: 30.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/10.6, allocations: 19.36 kB / 3.296 GB, free: 30.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/10.6, allocations: 7.5 kB / 3.296 GB, free: 30.18 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001559/10.6, allocations: 374.7 kB / 3.296 GB, free: 30.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/10.6, allocations: 9.984 kB / 3.296 GB, free: 30.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/10.6, allocations: 8.469 kB / 3.296 GB, free: 30.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007175/10.6, allocations: 113.2 kB / 3.296 GB, free: 30.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/10.6, allocations: 7.812 kB / 3.296 GB, free: 30.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/10.6, allocations: 51.75 kB / 3.297 GB, free: 30.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/10.6, allocations: 34.78 kB / 3.297 GB, free: 30.16 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.0001861/10.6, allocations: 109.9 kB / 3.297 GB, free: 30.05 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001915/10.6, allocations: 378.2 kB / 3.297 GB, free: 29.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/10.6, allocations: 39.72 kB / 3.297 GB, free: 29.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/10.6, allocations: 1.568 MB / 3.299 GB, free: 29.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.674e-05/10.6, allocations: 30.03 kB / 3.299 GB, free: 29.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/10.6, allocations: 1.188 kB / 3.299 GB, free: 29.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/10.6, allocations: 0 / 3.299 GB, free: 29.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/10.61, allocations: 2.171 MB / 3.301 GB, free: 29.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/10.61, allocations: 3.891 kB / 3.301 GB, free: 29.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/10.61, allocations: 57.73 kB / 3.301 GB, free: 29.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008997/10.61, allocations: 0.6024 MB / 3.301 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/10.61, allocations: 2.625 kB / 3.301 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/10.61, allocations: 1.083 MB / 3.302 GB, free: 28.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/10.61, allocations: 3.625 kB / 3.302 GB, free: 28.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/10.61, allocations: 1.207 MB / 3.304 GB, free: 28.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/10.61, allocations: 188.8 kB / 3.304 GB, free: 28.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.96e-05/10.61, allocations: 0 / 3.304 GB, free: 28.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/10.61, allocations: 33.09 kB / 3.304 GB, free: 28.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/10.61, allocations: 27.56 kB / 3.304 GB, free: 28.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/10.61, allocations: 13 kB / 3.304 GB, free: 28.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003337/10.62, allocations: 231.7 kB / 3.304 GB, free: 28.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/10.62, allocations: 0 / 3.304 GB, free: 28.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005962/10.62, allocations: 1.157 MB / 3.305 GB, free: 28.3 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.01313/10.63, allocations: 3.305 MB / 3.308 GB, free: 27.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001563/10.64, allocations: 0.6286 MB / 3.309 GB, free: 27.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/10.64, allocations: 0 / 3.309 GB, free: 27.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006084/10.64, allocations: 395.4 kB / 3.309 GB, free: 27.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/10.64, allocations: 171.5 kB / 3.31 GB, free: 27.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/10.64, allocations: 1.464 MB / 3.311 GB, free: 26.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/10.64, allocations: 0.9463 MB / 3.312 GB, free: 26.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/10.65, allocations: 239.7 kB / 3.312 GB, free: 26.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.343e-06/10.65, allocations: 0 / 3.312 GB, free: 26.12 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.59/14.24, allocations: 33.74 MB / 3.345 GB, free: 22.79 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat does not exist to compare? outputFormat=mat