Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 8 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07868/0.07907, allocations: 44.5 MB / 308.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.4124, allocations: 76.33 MB / 384.8 MB, free: 18.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4126, allocations: 72.45 kB / 384.8 MB, free: 18.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0327/0.4454, allocations: 9.528 MB / 394.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.724e-06/0.4454, allocations: 0 / 394.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.687e-05/0.4455, allocations: 11.66 kB / 394.4 MB, free: 17.3 MB / 314.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.00126/0.4467, allocations: 0.8019 MB / 395.2 MB, free: 16.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.4468, allocations: 7.5 kB / 395.2 MB, free: 16.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.4469, allocations: 62.16 kB / 395.3 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.4475, allocations: 381.4 kB / 395.6 MB, free: 16.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.4476, allocations: 66.66 kB / 395.7 MB, free: 16.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/0.4477, allocations: 33.91 kB / 395.7 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.4486, allocations: 484.6 kB / 396.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4487, allocations: 4 kB / 396.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.4487, allocations: 21.69 kB / 396.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.801e-06/0.4487, allocations: 7.688 kB / 396.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009795/0.4497, allocations: 369.1 kB / 396.6 MB, free: 16.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.452, allocations: 1.266 MB / 397.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009118/0.4529, allocations: 449.4 kB / 398.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.453, allocations: 11.19 kB / 398.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.453, allocations: 37.81 kB / 398.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.998e-06/0.4531, allocations: 0 / 398.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001874/0.4549, allocations: 0.7737 MB / 399.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.455, allocations: 451.6 kB / 399.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.4556, allocations: 383.1 kB / 399.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.4557, allocations: 36.45 kB / 400 MB, free: 14.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.4558, allocations: 265.6 kB / 400.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.4559, allocations: 131 kB / 400.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.456, allocations: 3.562 kB / 400.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.456, allocations: 333.4 kB / 400.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/0.4565, allocations: 152.4 kB / 400.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.457, allocations: 300.3 kB / 401.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.4575, allocations: 199.7 kB / 401.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.762e-06/0.4576, allocations: 0 / 401.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00117/0.4587, allocations: 489.4 kB / 401.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.4588, allocations: 33.56 kB / 401.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.308e-06/0.4588, allocations: 0 / 401.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.459, allocations: 50.47 kB / 401.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.4595, allocations: 94.91 kB / 402 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.4618, allocations: 2.759 MB / 404.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/0.4624, allocations: 65.44 kB / 404.8 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.4624, allocations: 15.16 kB / 404.8 MB, free: 11.13 MB / 314.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 () * Number of clocked 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.0002827/0.4627, allocations: 165.2 kB / 405 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.4628, allocations: 54.56 kB / 405 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.463, allocations: 57 kB / 405.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.803e-06/0.463, allocations: 3.969 kB / 405.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-06/0.463, allocations: 4 kB / 405.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001158/0.4642, allocations: 0.7646 MB / 405.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.4663, allocations: 1.048 MB / 406.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.441e-06/0.4664, allocations: 0 / 406.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/0.467, allocations: 102.8 kB / 407 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.399e-06/0.467, allocations: 0 / 407 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.47e-05/0.4671, allocations: 9.359 kB / 407 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.323e-06/0.4671, allocations: 10.45 kB / 407 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.638e-06/0.4671, allocations: 3.938 kB / 407 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.4689, allocations: 0.7024 MB / 407.7 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.469, allocations: 131.4 kB / 407.9 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-05/0.4692, allocations: 11.12 kB / 407.9 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.4696, allocations: 34.36 kB / 407.9 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.4697, allocations: 26.92 kB / 407.9 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.4698, allocations: 15.8 kB / 407.9 MB, free: 9.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004165/0.4702, allocations: 309 kB / 408.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.4702, allocations: 0 / 408.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006043/0.4708, allocations: 151 kB / 408.4 MB, free: 9.633 MB / 314.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 () * Number of clocked 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.0001718/0.471, allocations: 121.5 kB / 408.5 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.4723, allocations: 0.6651 MB / 409.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.511e-06/0.4724, allocations: 3.938 kB / 409.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000482/0.4729, allocations: 192.7 kB / 409.4 MB, free: 9.223 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.4736, allocations: 119.9 kB / 409.5 MB, free: 9.211 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.4756, allocations: 1.141 MB / 410.6 MB, free: 8.586 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.4759, allocations: 0.8368 MB / 411.5 MB, free: 7.879 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.4761, allocations: 44.08 kB / 411.5 MB, free: 7.867 MB / 314.7 MB Notification: Performance of SimCode: time 1.944e-06/0.4762, allocations: 0 / 411.5 MB, free: 7.867 MB / 314.7 MB Notification: Performance of Templates: time 0.01179/0.488, allocations: 8.294 MB / 419.8 MB, free: 4.285 MB / 314.7 MB "Error: Could not read variable ambient1.h in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable ambient1.h from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! Error: Could not read variable ambient2.h in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable ambient2.h from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! Error: Could not read variable pipe.dpNomMin in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable pipe.dpNomMin from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! Error: Could not read variable pipe.h in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable pipe.h from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! Error: Could not read variable pipe.k in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable pipe.k from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! Error: Could not read variable pump.T_q in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable pump.T_q from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat failed! Error: Could not read variable pump.h in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat. Warning: Get data of variable pump.h from file Modelica_3.2.2_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