Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.378e-05, allocations: 4 kB / 299.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4151, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.472/7.887, allocations: 2.595 GB / 2.941 GB, free: 2.961 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/7.887, allocations: 86.5 kB / 2.942 GB, free: 2.914 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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/9.896, allocations: 395.2 MB / 3.327 GB, free: 4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.235e-06/9.897, allocations: 0 / 3.327 GB, free: 4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.485e-05/9.897, allocations: 15.83 kB / 3.327 GB, free: 3.988 MB / 490.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.006795/9.903, allocations: 1.531 MB / 3.329 GB, free: 2.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/9.903, allocations: 15.95 kB / 3.329 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/9.907, allocations: 292.3 kB / 3.329 GB, free: 2.109 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/9.908, allocations: 472 kB / 3.33 GB, free: 1.621 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/9.908, allocations: 23.95 kB / 3.33 GB, free: 1.598 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.441e-05/9.908, allocations: 24 kB / 3.33 GB, free: 1.574 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009253/9.909, allocations: 366.5 kB / 3.33 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009313/9.91, allocations: 460.6 kB / 3.331 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/9.91, allocations: 7.938 kB / 3.331 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-05/9.91, allocations: 0 / 3.331 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/9.91, allocations: 12 kB / 3.331 GB, free: 0.6953 MB / 490.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.6017/10.51, allocations: 54.99 MB / 3.384 GB, free: 34.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/10.51, allocations: 255 kB / 3.384 GB, free: 34.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/10.51, allocations: 122.2 kB / 3.385 GB, free: 34.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2173/10.73, allocations: 64.93 MB / 3.448 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/10.73, allocations: 33.62 kB / 3.448 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=24): time 3.516e-06/10.73, allocations: 1.969 kB / 3.448 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24): time 0.003156/10.73, allocations: 0.5829 MB / 3.449 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/10.73, allocations: 108.1 kB / 3.449 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/10.73, allocations: 304.4 kB / 3.449 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/10.73, allocations: 29.41 kB / 3.449 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/10.73, allocations: 283.9 kB / 3.449 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/10.73, allocations: 80.84 kB / 3.449 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/10.73, allocations: 0 / 3.449 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001531/10.73, allocations: 351.7 kB / 3.45 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/10.73, allocations: 100.7 kB / 3.45 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/10.74, allocations: 244.3 kB / 3.45 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/10.74, allocations: 245.9 kB / 3.45 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/10.74, allocations: 0 / 3.45 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002324/10.74, allocations: 0.5123 MB / 3.451 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006613/10.74, allocations: 1.75 MB / 3.452 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/10.74, allocations: 3.969 kB / 3.452 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/10.74, allocations: 43.55 kB / 3.453 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000688/10.74, allocations: 104 kB / 3.453 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/10.74, allocations: 0.6376 MB / 3.453 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008305/10.74, allocations: 64.52 kB / 3.453 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/10.74, allocations: 21.62 kB / 3.453 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/10.74, allocations: 7.844 kB / 3.453 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001476/10.74, allocations: 375.7 kB / 3.454 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/10.74, allocations: 5.344 kB / 3.454 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/10.74, allocations: 11.56 kB / 3.454 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/10.75, allocations: 108.3 kB / 3.454 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/10.75, allocations: 11.61 kB / 3.454 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/10.75, allocations: 50.44 kB / 3.454 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/10.75, allocations: 22.16 kB / 3.454 GB, free: 24.07 MB / 0.5105 GB 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.0002203/10.75, allocations: 122.4 kB / 3.454 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001883/10.75, allocations: 383.9 kB / 3.454 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/10.75, allocations: 38.12 kB / 3.454 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/10.75, allocations: 1.576 MB / 3.456 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/10.75, allocations: 24.86 kB / 3.456 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/10.75, allocations: 0 / 3.456 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/10.75, allocations: 0 / 3.456 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/10.76, allocations: 2.166 MB / 3.458 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/10.76, allocations: 3.312 kB / 3.458 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/10.76, allocations: 56.17 kB / 3.458 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008617/10.76, allocations: 0.602 MB / 3.459 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/10.76, allocations: 0 / 3.459 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/10.76, allocations: 1.09 MB / 3.46 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/10.76, allocations: 0 / 3.46 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/10.76, allocations: 1.21 MB / 3.461 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/10.76, allocations: 188.6 kB / 3.461 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.856e-05/10.76, allocations: 2.156 kB / 3.461 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/10.76, allocations: 33.05 kB / 3.461 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/10.76, allocations: 28.06 kB / 3.461 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/10.76, allocations: 11.22 kB / 3.461 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003281/10.76, allocations: 227.9 kB / 3.461 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/10.76, allocations: 0 / 3.461 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005786/10.77, allocations: 1.161 MB / 3.463 GB, free: 22.21 MB / 0.5105 GB 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.01308/10.78, allocations: 3.306 MB / 3.466 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001594/10.78, allocations: 0.6438 MB / 3.466 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/10.78, allocations: 0 / 3.466 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006096/10.78, allocations: 396.5 kB / 3.467 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/10.78, allocations: 171.9 kB / 3.467 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/10.79, allocations: 1.449 MB / 3.468 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/10.79, allocations: 0.9493 MB / 3.469 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001617/10.79, allocations: 0.6216 MB / 3.47 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/10.79, allocations: 224.8 kB / 3.47 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/10.79, allocations: 0 / 3.47 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/10.91, allocations: 37.98 MB / 3.507 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003219/10.91, allocations: 185.8 kB / 3.507 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.026/14.93, allocations: 7.938 kB / 3.507 GB, free: 3.301 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat does not exist to compare? outputFormat=mat