Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadModel(Modelica): time 1.573/1.573, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.53e-05, allocations: 4 kB / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2071, allocations: 38.78 MB / 267.6 MB, free: 9.445 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.3119, allocations: 70.91 MB / 338.5 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.3122, allocations: 63.97 kB / 338.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0383/0.3505, allocations: 9.492 MB / 348.1 MB, free: 8.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.279e-06/0.3506, allocations: 0 / 348.1 MB, free: 8.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.634e-05/0.3506, allocations: 8 kB / 348.1 MB, free: 8.805 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001412/0.352, allocations: 0.7258 MB / 348.8 MB, free: 8.023 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3521, allocations: 12.03 kB / 348.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.3523, allocations: 63.33 kB / 348.9 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.353, allocations: 373.9 kB / 349.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.3532, allocations: 58.83 kB / 349.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/0.3533, allocations: 35.89 kB / 349.3 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009238/0.3542, allocations: 446.9 kB / 349.8 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.3542, allocations: 0 / 349.8 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-05/0.3543, allocations: 24 kB / 349.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.3543, allocations: 8 kB / 349.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.3551, allocations: 267.1 kB / 350 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.358, allocations: 1.261 MB / 351.3 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/0.3588, allocations: 368.9 kB / 351.7 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.3591, allocations: 148.8 kB / 351.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.3592, allocations: 7.953 kB / 351.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.3593, allocations: 46.55 kB / 351.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.542e-06/0.3593, allocations: 0 / 351.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001083/0.3604, allocations: 371.2 kB / 352.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002549/0.3606, allocations: 444.9 kB / 352.7 MB, free: 3.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.3613, allocations: 391.1 kB / 353 MB, free: 3.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/0.3614, allocations: 33.7 kB / 353.1 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.3617, allocations: 266.9 kB / 353.3 MB, free: 3.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.3618, allocations: 122.2 kB / 353.5 MB, free: 3.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.3619, allocations: 4 kB / 353.5 MB, free: 3.004 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.362, allocations: 330.8 kB / 353.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.3623, allocations: 108 kB / 353.9 MB, free: 2.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.3628, allocations: 247.4 kB / 354.1 MB, free: 2.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.3632, allocations: 155.1 kB / 354.3 MB, free: 2.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.96e-06/0.3632, allocations: 0 / 354.3 MB, free: 2.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001069/0.3643, allocations: 412.8 kB / 354.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.3644, allocations: 33.7 kB / 354.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.709e-06/0.3644, allocations: 4.031 kB / 354.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.3647, allocations: 65.61 kB / 354.8 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.3653, allocations: 79.95 kB / 354.9 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.182/0.5473, allocations: 2.734 MB / 357.6 MB, free: 76.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006157/0.5479, allocations: 63.19 kB / 357.7 MB, free: 76.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.548, allocations: 12.89 kB / 357.7 MB, free: 76.3 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.5482, allocations: 131 kB / 357.8 MB, free: 76.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.5483, allocations: 57.53 kB / 357.9 MB, free: 76.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.5485, allocations: 52.22 kB / 357.9 MB, free: 76.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.5485, allocations: 3.875 kB / 357.9 MB, free: 76.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.561e-06/0.5485, allocations: 0.5625 kB / 357.9 MB, free: 76.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007876/0.5493, allocations: 0.6705 MB / 358.6 MB, free: 75.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.5513, allocations: 0.9564 MB / 359.5 MB, free: 75.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.138e-06/0.5513, allocations: 0 / 359.5 MB, free: 75.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/0.552, allocations: 98.52 kB / 359.6 MB, free: 75.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.493e-06/0.552, allocations: 3.125 kB / 359.6 MB, free: 75.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.5521, allocations: 8.75 kB / 359.6 MB, free: 75.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.774e-06/0.5521, allocations: 5.266 kB / 359.7 MB, free: 75.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.607e-06/0.5521, allocations: 1.219 kB / 359.7 MB, free: 75.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.5532, allocations: 0.5632 MB / 360.2 MB, free: 75.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.5534, allocations: 128.5 kB / 360.3 MB, free: 75.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/0.5535, allocations: 7.375 kB / 360.3 MB, free: 75.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.5539, allocations: 36.41 kB / 360.4 MB, free: 75.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.554, allocations: 30.3 kB / 360.4 MB, free: 75.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.554, allocations: 7.047 kB / 360.4 MB, free: 75.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004546/0.5545, allocations: 306.2 kB / 360.7 MB, free: 74.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.113e-06/0.5545, allocations: 0 / 360.7 MB, free: 74.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006316/0.5552, allocations: 140.8 kB / 360.9 MB, free: 74.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001739/0.5554, allocations: 130.4 kB / 361 MB, free: 74.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009464/0.5563, allocations: 0.5703 MB / 361.6 MB, free: 74.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.405e-06/0.5563, allocations: 0 / 361.6 MB, free: 74.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.5567, allocations: 150.5 kB / 361.7 MB, free: 74.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007403/0.5574, allocations: 112.2 kB / 361.8 MB, free: 74.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.5589, allocations: 0.692 MB / 362.5 MB, free: 74.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.5592, allocations: 0.8344 MB / 363.3 MB, free: 73.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.5594, allocations: 40.97 kB / 363.4 MB, free: 73.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.8e-06/0.5594, allocations: 0 / 363.4 MB, free: 73.62 MB / 298.7 MB Notification: Performance of Templates: time 0.0119/0.5713, allocations: 8.232 MB / 371.6 MB, free: 71.14 MB / 298.7 MB "Error: Could not read variable ambient1.h in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable ambient1.h from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! Error: Could not read variable ambient2.h in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable ambient2.h from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! Error: Could not read variable pipe.dpNomMin in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable pipe.dpNomMin from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! Error: Could not read variable pipe.h in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable pipe.h from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! Error: Could not read variable pipe.k in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable pipe.k from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! Error: Could not read variable pump.T_q in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable pump.T_q from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! Error: Could not read variable pump.h in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable pump.h from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! " Variables in the reference:time,heatCapacitor.T,pipe.T Variables in the result:TAmb,TMass,ambient1.T,ambient1.T_port,ambient1.constantAmbientPressure,ambient1.constantAmbientTemperature,ambient1.flowPort.H_flow,ambient1.flowPort.h,ambient1.flowPort.m_flow,ambient1.flowPort.medium.cp,ambient1.flowPort.medium.cv,ambient1.flowPort.medium.lamda,ambient1.flowPort.medium.nue,ambient1.flowPort.medium.rho,ambient1.flowPort.p,ambient1.medium.cp,ambient1.medium.cv,ambient1.medium.lamda,ambient1.medium.nue,ambient1.medium.rho,ambient1.usePressureInput,ambient1.useTemperatureInput,ambient2.T,ambient2.T_port,ambient2.constantAmbientPressure,ambient2.constantAmbientTemperature,ambient2.flowPort.H_flow,ambient2.flowPort.h,ambient2.flowPort.m_flow,ambient2.flowPort.medium.cp,ambient2.flowPort.medium.cv,ambient2.flowPort.medium.lamda,ambient2.flowPort.medium.nue,ambient2.flowPort.medium.rho,ambient2.flowPort.p,ambient2.medium.cp,ambient2.medium.cv,ambient2.medium.lamda,ambient2.medium.nue,ambient2.medium.rho,ambient2.usePressureInput,ambient2.useTemperatureInput,dTCoolant,dTMass,dTtoPipe,heatCapacitor.C,heatCapacitor.T,der(heatCapacitor.T),heatCapacitor.der_T,heatCapacitor.port.Q_flow,heatCapacitor.port.T,medium.cp,medium.cv,medium.lamda,medium.nue,medium.rho,pipe.Q_flow,pipe.Q_friction,pipe.T,pipe.T0,pipe.T0fixed,pipe.T_a,pipe.T_b,pipe.V_flow,pipe.V_flowLaminar,pipe.V_flowNominal,pipe.dT,der(pipe.T),pipe.dp,pipe.dpLaminar,pipe.dpNominal,pipe.flowPort_a.H_flow,pipe.flowPort_a.h,pipe.flowPort_a.m_flow,pipe.flowPort_a.medium.cp,pipe.flowPort_a.medium.cv,pipe.flowPort_a.medium.lamda,pipe.flowPort_a.medium.nue,pipe.flowPort_a.medium.rho,pipe.flowPort_a.p,pipe.flowPort_b.H_flow,pipe.flowPort_b.h,pipe.flowPort_b.m_flow,pipe.flowPort_b.medium.cp,pipe.flowPort_b.medium.cv,pipe.flowPort_b.medium.lamda,pipe.flowPort_b.medium.nue,pipe.flowPort_b.medium.rho,pipe.flowPort_b.p,pipe.frictionLoss,pipe.h_g,pipe.heatPort.Q_flow,pipe.heatPort.T,pipe.m,pipe.medium.cp,pipe.medium.cv,pipe.medium.lamda,pipe.medium.nue,pipe.medium.rho,pipe.pressureDrop,pipe.tapT,pipe.volumeFlow,pump.Q_flow,pump.T,pump.T0,pump.T0fixed,pump.T_a,pump.T_b,pump.V_flow,pump.constantVolumeFlow,pump.dT,pump.dp,pump.flowPort_a.H_flow,pump.flowPort_a.h,pump.flowPort_a.m_flow,pump.flowPort_a.medium.cp,pump.flowPort_a.medium.cv,pump.flowPort_a.medium.lamda,pump.flowPort_a.medium.nue,pump.flowPort_a.medium.rho,pump.flowPort_a.p,pump.flowPort_b.H_flow,pump.flowPort_b.h,pump.flowPort_b.m_flow,pump.flowPort_b.medium.cp,pump.flowPort_b.medium.cv,pump.flowPort_b.medium.lamda,pump.flowPort_b.medium.nue,pump.flowPort_b.medium.rho,pump.flowPort_b.p,pump.m,pump.medium.cp,pump.medium.cv,pump.medium.lamda,pump.medium.nue,pump.medium.rho,pump.tapT,pump.useVolumeFlowInput,pump.volumeFlow,thermalConductor.G,thermalConductor.Q_flow,thermalConductor.dT,thermalConductor.port_a.Q_flow,thermalConductor.port_a.T,thermalConductor.port_b.Q_flow,thermalConductor.port_b.T,time,volumeFlow.add.k1,volumeFlow.add.k2,volumeFlow.add.u1,volumeFlow.add.u2,volumeFlow.add.y,volumeFlow.duration_1,volumeFlow.duration_2,volumeFlow.height_1,volumeFlow.height_2,volumeFlow.interval,volumeFlow.offset,volumeFlow.ramp1.duration,volumeFlow.ramp1.height,volumeFlow.ramp1.offset,volumeFlow.ramp1.startTime,volumeFlow.ramp1.y,volumeFlow.ramp2.duration,volumeFlow.ramp2.height,volumeFlow.ramp2.offset,volumeFlow.ramp2.startTime,volumeFlow.ramp2.y,volumeFlow.startTime,volumeFlow.y