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.767/1.767, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003559, allocations: 8 kB / 233.2 MB, free: 3.023 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06752/0.0679, allocations: 38.77 MB / 272 MB, free: 12.18 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2973/0.3653, allocations: 70.99 MB / 343 MB, free: 2.906 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.3655, allocations: 71.09 kB / 343.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03694/0.4025, allocations: 9.509 MB / 352.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4026, allocations: 4 kB / 352.6 MB, free: 10.87 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.252e-05/0.4026, allocations: 8 kB / 352.6 MB, free: 10.86 MB / 282.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.001617/0.4042, allocations: 0.8038 MB / 353.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4043, allocations: 8.031 kB / 353.4 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.4044, allocations: 59.34 kB / 353.5 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.4052, allocations: 379.4 kB / 353.8 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.4053, allocations: 69.14 kB / 353.9 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.4054, allocations: 30.94 kB / 353.9 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.4065, allocations: 493 kB / 354.4 MB, free: 9.109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.4066, allocations: 0 / 354.4 MB, free: 9.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/0.4066, allocations: 20.94 kB / 354.4 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.4067, allocations: 4 kB / 354.4 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.4078, allocations: 370.7 kB / 354.8 MB, free: 8.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.4106, allocations: 1.256 MB / 356.1 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.4117, allocations: 454.7 kB / 356.5 MB, free: 7.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.51e-05/0.4117, allocations: 4 kB / 356.5 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.4118, allocations: 37.75 kB / 356.5 MB, free: 7.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.416e-06/0.4118, allocations: 4 kB / 356.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002163/0.414, allocations: 0.7689 MB / 357.3 MB, free: 6.699 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002607/0.4143, allocations: 448.9 kB / 357.7 MB, free: 6.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.415, allocations: 386.3 kB / 358.1 MB, free: 5.863 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.624e-05/0.4151, allocations: 36.7 kB / 358.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.4153, allocations: 267.6 kB / 358.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.4155, allocations: 131.3 kB / 358.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.4155, allocations: 8 kB / 358.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4157, allocations: 328.5 kB / 358.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005289/0.4162, allocations: 157.2 kB / 359 MB, free: 5.078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.417, allocations: 307.2 kB / 359.3 MB, free: 4.789 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.4175, allocations: 191.7 kB / 359.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4176, allocations: 0 / 359.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001391/0.419, allocations: 494.7 kB / 360 MB, free: 4.262 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.419, allocations: 30.33 kB / 360 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.161e-06/0.419, allocations: 0 / 360 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.4193, allocations: 55.5 kB / 360.1 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/0.4198, allocations: 98.69 kB / 360.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/0.4231, allocations: 2.763 MB / 362.9 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.4238, allocations: 67.53 kB / 363 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.4238, allocations: 11.94 kB / 363 MB, free: 1.168 MB / 282.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.000334/0.4242, allocations: 168 kB / 363.2 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.4243, allocations: 55.44 kB / 363.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.4244, allocations: 55.11 kB / 363.3 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.827e-06/0.4245, allocations: 4 kB / 363.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4245, allocations: 0 / 363.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/0.4258, allocations: 0.7592 MB / 364.1 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.4283, allocations: 1.057 MB / 365.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4283, allocations: 0 / 365.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.429, allocations: 99.05 kB / 365.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.429, allocations: 4 kB / 365.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.429, allocations: 7.438 kB / 365.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-06/0.429, allocations: 80 / 365.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4291, allocations: 3.984 kB / 365.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.4309, allocations: 0.6989 MB / 365.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.4311, allocations: 138.4 kB / 366.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4313, allocations: 7.312 kB / 366.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.4317, allocations: 34.8 kB / 366.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.4318, allocations: 27.39 kB / 366.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.4318, allocations: 11.25 kB / 366.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00052/0.4324, allocations: 306.6 kB / 366.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.178e-06/0.4324, allocations: 0 / 366.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006701/0.4331, allocations: 148.7 kB / 366.6 MB, free: 14.08 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 () * 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.0002198/0.4333, allocations: 126.2 kB / 366.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.4349, allocations: 0.6746 MB / 367.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.412e-06/0.435, allocations: 4.062 kB / 367.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005636/0.4355, allocations: 196 kB / 367.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007998/0.4363, allocations: 127.4 kB / 367.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.4388, allocations: 1.137 MB / 368.8 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.4394, allocations: 0.8315 MB / 369.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.4396, allocations: 46.75 kB / 369.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of SimCode: time 1.964e-06/0.4396, allocations: 0 / 369.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of Templates: time 0.0155/0.4552, allocations: 8.247 MB / 378 MB, free: 2.938 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