Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|tank.aboveLevel.1.|tank.ports_m_flow_out.1.|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank") Notification: Performance of loadModel(Modelica): time 1.738/1.738, allocations: 171.2 MB / 184.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.852e-05, allocations: 3.938 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2053, allocations: 38.78 MB / 267.6 MB, free: 9.438 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7594/0.9647, allocations: 316 MB / 0.57 GB, free: 55.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004326/0.9652, allocations: 90.94 kB / 0.57 GB, free: 55.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6685/1.634, allocations: 141.4 MB / 0.7081 GB, free: 69.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.634, allocations: 4 kB / 0.7081 GB, free: 69.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.216e-05/1.634, allocations: 23.92 kB / 0.7081 GB, free: 69.2 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002567/1.636, allocations: 1.066 MB / 0.7092 GB, free: 68.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.636, allocations: 12.03 kB / 0.7092 GB, free: 68.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/1.637, allocations: 91.05 kB / 0.7093 GB, free: 67.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/1.639, allocations: 0.6396 MB / 0.7099 GB, free: 67.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-05/1.639, allocations: 96.38 kB / 0.71 GB, free: 67.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/1.639, allocations: 44 kB / 0.71 GB, free: 67.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/1.64, allocations: 0.793 MB / 0.7108 GB, free: 66.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/1.641, allocations: 3.938 kB / 0.7108 GB, free: 66.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.641, allocations: 23.98 kB / 0.7108 GB, free: 66.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.958e-05/1.641, allocations: 40.97 kB / 0.7109 GB, free: 66.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/1.642, allocations: 0.6558 MB / 0.7115 GB, free: 65.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005352/1.647, allocations: 3.398 MB / 0.7148 GB, free: 61.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/1.648, allocations: 403.4 kB / 0.7152 GB, free: 61.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004028/1.649, allocations: 228.7 kB / 0.7154 GB, free: 61.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00201/1.651, allocations: 1.343 MB / 0.7167 GB, free: 59.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004977/1.651, allocations: 290.9 kB / 0.717 GB, free: 59.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 3.824e-06/1.651, allocations: 4 kB / 0.717 GB, free: 59.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.003638/1.655, allocations: 1.478 MB / 0.7185 GB, free: 58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/1.655, allocations: 166.2 kB / 0.7186 GB, free: 57.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/1.656, allocations: 0.6012 MB / 0.7192 GB, free: 57.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.752e-05/1.656, allocations: 37.7 kB / 0.7192 GB, free: 57.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/1.656, allocations: 440.9 kB / 0.7197 GB, free: 56.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/1.656, allocations: 126.3 kB / 0.7198 GB, free: 56.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/1.656, allocations: 16 kB / 0.7198 GB, free: 56.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/1.657, allocations: 346.8 kB / 0.7201 GB, free: 56.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/1.657, allocations: 241.5 kB / 0.7204 GB, free: 55.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/1.658, allocations: 0.5165 MB / 0.7209 GB, free: 55.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/1.658, allocations: 343.9 kB / 0.7212 GB, free: 55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.291e-06/1.658, allocations: 4 kB / 0.7212 GB, free: 54.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002024/1.66, allocations: 0.9274 MB / 0.7221 GB, free: 54.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006984/1.661, allocations: 3.517 MB / 0.7255 GB, free: 50.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.661, allocations: 16 kB / 0.7256 GB, free: 50.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000714/1.662, allocations: 124.8 kB / 0.7257 GB, free: 50.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/1.662, allocations: 147.8 kB / 0.7258 GB, free: 49.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006221/1.663, allocations: 0.6771 MB / 0.7265 GB, free: 49.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008965/1.664, allocations: 43.92 kB / 0.7265 GB, free: 49.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.664, allocations: 47.92 kB / 0.7266 GB, free: 49.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/1.664, allocations: 6.031 kB / 0.7266 GB, free: 49.17 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002068/1.666, allocations: 0.9027 MB / 0.7275 GB, free: 48.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.666, allocations: 8 kB / 0.7275 GB, free: 48.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000455/1.667, allocations: 117.4 kB / 0.7276 GB, free: 48.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/1.667, allocations: 147.7 kB / 0.7277 GB, free: 47.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005032/1.668, allocations: 0.6421 MB / 0.7283 GB, free: 47.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/1.669, allocations: 51.94 kB / 0.7284 GB, free: 47.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/1.669, allocations: 43.94 kB / 0.7284 GB, free: 47.23 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: tank.level:VARIABLE(start = tank.level_start unit = "m" stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = 293.15 unit = "K" nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * 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.0003298/1.669, allocations: 206.2 kB / 0.7286 GB, free: 47.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/1.669, allocations: 79.16 kB / 0.7287 GB, free: 46.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/1.671, allocations: 0.6896 MB / 0.7294 GB, free: 46.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.649e-06/1.671, allocations: 8 kB / 0.7294 GB, free: 46.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.09e-06/1.671, allocations: 0 / 0.7294 GB, free: 46.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/1.671, allocations: 3.984 kB / 0.7294 GB, free: 46.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/1.674, allocations: 1.375 MB / 0.7307 GB, free: 44.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.692e-06/1.674, allocations: 0 / 0.7307 GB, free: 44.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/1.674, allocations: 60 kB / 0.7308 GB, free: 44.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006047/1.675, allocations: 124.7 kB / 0.7309 GB, free: 44.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/1.675, allocations: 19.98 kB / 0.7309 GB, free: 44.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000554/1.675, allocations: 0.6539 MB / 0.7316 GB, free: 43.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.719e-06/1.675, allocations: 4.031 kB / 0.7316 GB, free: 43.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/1.677, allocations: 1.014 MB / 0.7326 GB, free: 42.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/1.677, allocations: 152.2 kB / 0.7327 GB, free: 42.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/1.678, allocations: 16.12 kB / 0.7327 GB, free: 42.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/1.678, allocations: 27.97 kB / 0.7327 GB, free: 42.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.678, allocations: 35.91 kB / 0.7328 GB, free: 42.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/1.678, allocations: 23.98 kB / 0.7328 GB, free: 42.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007143/1.679, allocations: 467.1 kB / 0.7333 GB, free: 42.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.98e-07/1.679, allocations: 4 kB / 0.7333 GB, free: 42.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002122/1.681, allocations: 0.562 MB / 0.7338 GB, free: 41.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 7 ($whenCondition1,tank.ports_m_flow_out[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent) * Number of discrete states: 7 (tank.aboveLevel[1],tank.ports_m_flow_out[1],timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001565/1.683, allocations: 0.5745 MB / 0.7344 GB, free: 40.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002436/1.685, allocations: 1.085 MB / 0.7354 GB, free: 39.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.477e-06/1.685, allocations: 3.938 kB / 0.7354 GB, free: 39.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007498/1.686, allocations: 319.2 kB / 0.7357 GB, free: 39.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/1.688, allocations: 231.7 kB / 0.736 GB, free: 39.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/1.69, allocations: 1.118 MB / 0.737 GB, free: 38.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/1.691, allocations: 0.9771 MB / 0.738 GB, free: 37.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/1.691, allocations: 59.38 kB / 0.7381 GB, free: 37.09 MB / 362.7 MB Notification: Performance of SimCode: time 2.319e-06/1.691, allocations: 4 kB / 0.7381 GB, free: 37.09 MB / 362.7 MB Notification: Performance of Templates: time 0.025/1.716, allocations: 16.22 MB / 0.7539 GB, free: 20.88 MB / 362.7 MB "Error: Could not read variable ambient_fixed.T_in_internal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable ambient_fixed.T_in_internal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable ambient_fixed.X_in_internal[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable ambient_fixed.X_in_internal[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable ambient_fixed.flowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable ambient_fixed.flowDirection from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable ambient_fixed.p_in_internal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable ambient_fixed.p_in_internal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable flowSource.T_in_internal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable flowSource.T_in_internal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable flowSource.X_in_internal[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable flowSource.X_in_internal[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable flowSource.flowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable flowSource.flowDirection from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.constantPressureLossCoefficient in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.constantPressureLossCoefficient from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.continuousFlowReversal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.continuousFlowReversal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.diameters[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.diameters[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.dp_fric_nominal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.dp_fric_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.dp_small in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.dp_small from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.mu_nominal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.mu_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.rho_nominal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.rho_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.use_mu_nominal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.use_mu_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.use_rho_nominal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.use_rho_nominal from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.port_a_exposesState in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.port_a_exposesState from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.port_b_exposesState in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.port_b_exposesState from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.showDesignFlowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.showDesignFlowDirection from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.aboveLevel[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.aboveLevel[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.bottomArea[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.bottomArea[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.initialize_p in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.initialize_p from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.levelAbovePort[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.levelAbovePort[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.portsData_diameter[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.portsData_diameter[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.portsData_height[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.portsData_height[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.ports_emptyPipeHysteresis[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.ports_emptyPipeHysteresis[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.ports_m_flow_out[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.ports_m_flow_out[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.zetas_out[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.zetas_out[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.a in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.a from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.b in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.b from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.last in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.last from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.nextEvent in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.nextEvent from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! " Variables in the reference:time,tank.level,tank.medium.T,tank.aboveLevel[1],tank.ports_m_flow_out[1],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent Variables in the result:ambient_fixed.T,ambient_fixed.X[1],ambient_fixed.medium.MM,ambient_fixed.medium.R,ambient_fixed.medium.T,ambient_fixed.medium.T_degC,ambient_fixed.medium.X[1],ambient_fixed.medium.d,ambient_fixed.medium.h,ambient_fixed.medium.p,ambient_fixed.medium.p_bar,ambient_fixed.medium.preferredMediumStates,ambient_fixed.medium.standardOrderComponents,ambient_fixed.medium.state.T,ambient_fixed.medium.state.p,ambient_fixed.medium.u,ambient_fixed.nPorts,ambient_fixed.p,ambient_fixed.ports[1].h_outflow,ambient_fixed.ports[1].m_flow,ambient_fixed.ports[1].p,flowSource.T,flowSource.X[1],flowSource.m_flow,flowSource.m_flow_in,flowSource.medium.MM,flowSource.medium.R,flowSource.medium.T,flowSource.medium.T_degC,flowSource.medium.X[1],flowSource.medium.d,flowSource.medium.h,flowSource.medium.p,flowSource.medium.p_bar,flowSource.medium.preferredMediumStates,flowSource.medium.standardOrderComponents,flowSource.medium.state.T,flowSource.medium.state.p,flowSource.medium.u,flowSource.nPorts,flowSource.ports[1].h_outflow,flowSource.ports[1].m_flow,flowSource.ports[1].p,pipe.V,pipe.allowFlowReversal,pipe.crossArea,pipe.diameter,pipe.flowModel.Fs_fg[1],pipe.flowModel.Fs_p[1],pipe.flowModel.Ib_flows[1],pipe.flowModel.Is[1],pipe.flowModel.Re_turbulent,pipe.flowModel.Res_turbulent_internal[1],pipe.flowModel.allowFlowReversal,pipe.flowModel.crossAreas[1],pipe.flowModel.crossAreas[2],pipe.flowModel.dheights[1],pipe.flowModel.dimensions[1],pipe.flowModel.dimensions[2],pipe.flowModel.dp_nominal,pipe.flowModel.dps_fg[1],pipe.flowModel.from_dp,pipe.flowModel.g,pipe.flowModel.m,pipe.flowModel.m_flow_nominal,pipe.flowModel.m_flow_small,pipe.flowModel.m_flow_start,pipe.flowModel.m_flows[1],pipe.flowModel.momentumDynamics,pipe.flowModel.mus[1],pipe.flowModel.mus[2],pipe.flowModel.mus_act[1],pipe.flowModel.n,pipe.flowModel.nParallel,pipe.flowModel.p_a_start,pipe.flowModel.p_b_start,pipe.flowModel.pathLengths[1],pipe.flowModel.pathLengths_internal[1],pipe.flowModel.rhos[1],pipe.flowModel.rhos[2],pipe.flowModel.rhos_act[1],pipe.flowModel.roughnesses[1],pipe.flowModel.roughnesses[2],pipe.flowModel.show_Res,pipe.flowModel.states[1].T,pipe.flowModel.states[1].p,pipe.flowModel.states[2].T,pipe.flowModel.states[2].p,pipe.flowModel.useUpstreamScheme,pipe.flowModel.use_Ib_flows,pipe.flowModel.vs[1],pipe.flowModel.vs[2],pipe.height_ab,pipe.isCircular,pipe.length,pipe.m_flow_start,pipe.nParallel,pipe.p_a_start,pipe.p_b_start,pipe.perimeter,pipe.port_a.h_outflow,pipe.port_a.m_flow,pipe.port_a.p,pipe.port_b.h_outflow,pipe.port_b.m_flow,pipe.port_b.p,pipe.roughness,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,tank.H_flow_top[1],tank.Hb_flow,tank.Qb_flow,tank.T_ambient,tank.T_start,tank.U,tank.V,tank.V0,tank.Wb_flow,tank.X_start[1],tank.crossArea,der(tank.U),der(tank.fluidVolume),der(tank.level),der(tank.m),tank.energyDynamics,tank.fluidVolume,tank.h_start,tank.heatTransfer.Q_flows[1],tank.heatTransfer.T_ambient,tank.heatTransfer.Ts[1],tank.heatTransfer.heatPorts[1].Q_flow,tank.heatTransfer.heatPorts[1].T,tank.heatTransfer.k,tank.heatTransfer.n,tank.heatTransfer.states[1].T,tank.heatTransfer.states[1].p,tank.heatTransfer.surfaceAreas[1],tank.heatTransfer.use_k,tank.height,tank.hysteresisFactor,tank.level,tank.level_start,tank.m,tank.m_flow_small,tank.massDynamics,tank.mb_flow,tank.medium.MM,tank.medium.R,tank.medium.T,tank.medium.T_degC,tank.medium.X[1],tank.medium.d,der(tank.medium.T),der(tank.medium.T_degC),der(tank.medium.u),tank.medium.h,tank.medium.p,tank.medium.p_bar,tank.medium.preferredMediumStates,tank.medium.standardOrderComponents,tank.medium.state.T,tank.medium.state.p,tank.medium.u,tank.nPorts,tank.nTopPorts,tank.p_ambient,tank.p_start,tank.port_b_H_flow_bottom[1],tank.portsData[1].diameter,tank.portsData[1].height,tank.portsData[1].zeta_in,tank.portsData[1].zeta_out,tank.ports[1].h_outflow,tank.ports[1].m_flow,tank.ports[1].p,tank.stiffCharacteristicForEmptyPort,tank.substanceDynamics,tank.topPorts[1].h_outflow,tank.topPorts[1].m_flow,tank.topPorts[1].p,tank.traceDynamics,tank.use_HeatTransfer,tank.use_T_start,tank.zetaLarge,time,timeTable.offset,timeTable.startTime,timeTable.table[1,1],timeTable.table[1,2],timeTable.table[10,1],timeTable.table[10,2],timeTable.table[11,1],timeTable.table[11,2],timeTable.table[12,1],timeTable.table[12,2],timeTable.table[13,1],timeTable.table[13,2],timeTable.table[2,1],timeTable.table[2,2],timeTable.table[3,1],timeTable.table[3,2],timeTable.table[4,1],timeTable.table[4,2],timeTable.table[5,1],timeTable.table[5,2],timeTable.table[6,1],timeTable.table[6,2],timeTable.table[7,1],timeTable.table[7,2],timeTable.table[8,1],timeTable.table[8,2],timeTable.table[9,1],timeTable.table[9,2],timeTable.y