Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_400",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008955/0.0008955, allocations: 182.8 kB / 8.137 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.029/1.029, allocations: 221.4 MB / 229.9 MB, free: 3.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 105.6 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5786/0.5786, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3005/0.8792, allocations: 89.72 MB / 0.529 GB, free: 51.74 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.9777, allocations: 82.84 MB / 0.6099 GB, free: 2.73 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.412/1.39, allocations: 124.3 MB / 0.7314 GB, free: 4.586 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001433/1.39, allocations: 63.5 kB / 0.7314 GB, free: 4.562 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.1667/1.557, allocations: 43.63 MB / 0.774 GB, free: 12.58 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/1.557, allocations: 12 kB / 0.774 GB, free: 12.57 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006624/1.557, allocations: 154.5 kB / 0.7742 GB, free: 12.41 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01889/1.576, allocations: 4.465 MB / 0.7785 GB, free: 7.93 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.336e-05/1.576, allocations: 52 kB / 0.7786 GB, free: 7.879 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008067/1.577, allocations: 296.9 kB / 0.7789 GB, free: 7.637 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003113/1.58, allocations: 2.16 MB / 0.781 GB, free: 5.984 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004638/1.585, allocations: 3.258 MB / 0.7842 GB, free: 3.262 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/1.585, allocations: 0 / 0.7842 GB, free: 3.262 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003651/1.585, allocations: 0 / 0.7842 GB, free: 3.262 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/1.585, allocations: 40 kB / 0.7842 GB, free: 3.223 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005318/1.591, allocations: 3.079 MB / 0.7872 GB, free: 352 kB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009009/1.6, allocations: 7.295 MB / 0.7943 GB, free: 10.79 MB / 0.5578 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002782/1.603, allocations: 2.291 MB / 0.7966 GB, free: 9.055 MB / 0.5578 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004188/1.603, allocations: 43.14 kB / 0.7966 GB, free: 9.012 MB / 0.5578 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/1.603, allocations: 76.08 kB / 0.7967 GB, free: 8.953 MB / 0.5578 GB Notification: Performance of pre-optimization done (n=400): time 4.298e-06/1.603, allocations: 4 kB / 0.7967 GB, free: 8.949 MB / 0.5578 GB Notification: Performance of matching and sorting (n=400): time 0.007321/1.61, allocations: 5.149 MB / 0.8017 GB, free: 4.836 MB / 0.5578 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.61, allocations: 94.45 kB / 0.8018 GB, free: 4.73 MB / 0.5578 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/1.61, allocations: 92.19 kB / 0.8019 GB, free: 4.637 MB / 0.5578 GB Notification: Performance of collectPreVariables (initialization): time 0.0003411/1.611, allocations: 25.7 kB / 0.8019 GB, free: 4.605 MB / 0.5578 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/1.611, allocations: 99.38 kB / 0.802 GB, free: 4.504 MB / 0.5578 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/1.612, allocations: 1.829 MB / 0.8038 GB, free: 2.941 MB / 0.5578 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004125/1.612, allocations: 0 / 0.8038 GB, free: 2.941 MB / 0.5578 GB Notification: Performance of setup shared object (initialization): time 0.0002168/1.613, allocations: 0.5632 MB / 0.8043 GB, free: 2.465 MB / 0.5578 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004066/1.617, allocations: 3.372 MB / 0.8076 GB, free: 15.89 MB / 0.5734 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00427/1.621, allocations: 3.76 MB / 0.8113 GB, free: 13.03 MB / 0.5734 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004639/1.626, allocations: 3.962 MB / 0.8152 GB, free: 9.898 MB / 0.5734 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.626, allocations: 0 / 0.8152 GB, free: 9.898 MB / 0.5734 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01038/1.636, allocations: 8.088 MB / 0.8231 GB, free: 3.375 MB / 0.5734 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.636, allocations: 11.98 kB / 0.8231 GB, free: 3.363 MB / 0.5734 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.636, allocations: 0 / 0.8231 GB, free: 3.363 MB / 0.5734 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.513e-05/1.636, allocations: 31.97 kB / 0.8231 GB, free: 3.332 MB / 0.5734 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0071/1.643, allocations: 1.449 MB / 0.8245 GB, free: 1.93 MB / 0.5734 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.899e-05/1.643, allocations: 28 kB / 0.8246 GB, free: 1.902 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003391/1.647, allocations: 0.5536 MB / 0.8251 GB, free: 1.344 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005526/1.647, allocations: 177.2 kB / 0.8253 GB, free: 1.223 MB / 0.5734 GB 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 (801): * Single equations (assignments): 801 * 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 prepare postOptimizeDAE: time 0.0008514/1.648, allocations: 175.8 kB / 0.8254 GB, free: 1.043 MB / 0.5734 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005108/1.649, allocations: 154.4 kB / 0.8256 GB, free: 0.8906 MB / 0.5734 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/1.65, allocations: 0.6308 MB / 0.8262 GB, free: 0.8594 MB / 0.5734 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/1.65, allocations: 39.94 kB / 0.8262 GB, free: 0.8203 MB / 0.5734 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.65, allocations: 0 / 0.8262 GB, free: 0.8203 MB / 0.5734 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/1.65, allocations: 23.92 kB / 0.8263 GB, free: 0.7969 MB / 0.5734 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/1.654, allocations: 2.534 MB / 0.8287 GB, free: 14.46 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.654, allocations: 0 / 0.8287 GB, free: 14.46 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008347/1.662, allocations: 0.9883 MB / 0.8297 GB, free: 13.52 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.598e-05/1.662, allocations: 23.89 kB / 0.8297 GB, free: 13.5 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006416/1.663, allocations: 246.2 kB / 0.83 GB, free: 13.29 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/1.663, allocations: 12 kB / 0.83 GB, free: 13.27 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.663, allocations: 4 kB / 0.83 GB, free: 13.27 MB / 0.589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009335/1.672, allocations: 6.952 MB / 0.8368 GB, free: 7.715 MB / 0.589 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01349/1.686, allocations: 10.85 MB / 0.8474 GB, free: 15.04 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.687, allocations: 0.7364 MB / 0.8481 GB, free: 14.28 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008167/1.688, allocations: 183.7 kB / 0.8483 GB, free: 14.1 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003311/1.691, allocations: 275.6 kB / 0.8485 GB, free: 13.83 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006843/1.692, allocations: 213.8 kB / 0.8487 GB, free: 13.64 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004673/1.692, allocations: 119.2 kB / 0.8488 GB, free: 13.55 MB / 0.6046 GB Notification: Performance of sort global known variables: time 3.259e-05/1.692, allocations: 83.27 kB / 0.8489 GB, free: 13.47 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.002257/1.695, allocations: 0.8555 MB / 0.8497 GB, free: 12.61 MB / 0.6046 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 400 (u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15],u[16],u[17],u[18],u[19],u[20],u[21],u[22],u[23],u[24],u[25],u[26],u[27],u[28],u[29],u[30],u[31],u[32],u[33],u[34],u[35],u[36],u[37],u[38],u[39],u[40],u[41],u[42],u[43],u[44],u[45],u[46],u[47],u[48],u[49],u[50],u[51],u[52],u[53],u[54],u[55],u[56],u[57],u[58],u[59],u[60],u[61],u[62],u[63],u[64],u[65],u[66],u[67],u[68],u[69],u[70],u[71],u[72],u[73],u[74],u[75],u[76],u[77],u[78],u[79],u[80],u[81],u[82],u[83],u[84],u[85],u[86],u[87],u[88],u[89],u[90],u[91],u[92],u[93],u[94],u[95],u[96],u[97],u[98],u[99],u[100],u[101],u[102],u[103],u[104],u[105],u[106],u[107],u[108],u[109],u[110],u[111],u[112],u[113],u[114],u[115],u[116],u[117],u[118],u[119],u[120],u[121],u[122],u[123],u[124],u[125],u[126],u[127],u[128],u[129],u[130],u[131],u[132],u[133],u[134],u[135],u[136],u[137],u[138],u[139],u[140],u[141],u[142],u[143],u[144],u[145],u[146],u[147],u[148],u[149],u[150],u[151],u[152],u[153],u[154],u[155],u[156],u[157],u[158],u[159],u[160],u[161],u[162],u[163],u[164],u[165],u[166],u[167],u[168],u[169],u[170],u[171],u[172],u[173],u[174],u[175],u[176],u[177],u[178],u[179],u[180],u[181],u[182],u[183],u[184],u[185],u[186],u[187],u[188],u[189],u[190],u[191],u[192],u[193],u[194],u[195],u[196],u[197],u[198],u[199],u[200],u[201],u[202],u[203],u[204],u[205],u[206],u[207],u[208],u[209],u[210],u[211],u[212],u[213],u[214],u[215],u[216],u[217],u[218],u[219],u[220],u[221],u[222],u[223],u[224],u[225],u[226],u[227],u[228],u[229],u[230],u[231],u[232],u[233],u[234],u[235],u[236],u[237],u[238],u[239],u[240],u[241],u[242],u[243],u[244],u[245],u[246],u[247],u[248],u[249],u[250],u[251],u[252],u[253],u[254],u[255],u[256],u[257],u[258],u[259],u[260],u[261],u[262],u[263],u[264],u[265],u[266],u[267],u[268],u[269],u[270],u[271],u[272],u[273],u[274],u[275],u[276],u[277],u[278],u[279],u[280],u[281],u[282],u[283],u[284],u[285],u[286],u[287],u[288],u[289],u[290],u[291],u[292],u[293],u[294],u[295],u[296],u[297],u[298],u[299],u[300],u[301],u[302],u[303],u[304],u[305],u[306],u[307],u[308],u[309],u[310],u[311],u[312],u[313],u[314],u[315],u[316],u[317],u[318],u[319],u[320],u[321],u[322],u[323],u[324],u[325],u[326],u[327],u[328],u[329],u[330],u[331],u[332],u[333],u[334],u[335],u[336],u[337],u[338],u[339],u[340],u[341],u[342],u[343],u[344],u[345],u[346],u[347],u[348],u[349],u[350],u[351],u[352],u[353],u[354],u[355],u[356],u[357],u[358],u[359],u[360],u[361],u[362],u[363],u[364],u[365],u[366],u[367],u[368],u[369],u[370],u[371],u[372],u[373],u[374],u[375],u[376],u[377],u[378],u[379],u[380],u[381],u[382],u[383],u[384],u[385],u[386],u[387],u[388],u[389],u[390],u[391],u[392],u[393],u[394],u[395],u[396],u[397],u[398],u[399],u[400]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (400): * Single equations (assignments): 400 * 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.0006777/1.695, allocations: 341.4 kB / 0.8501 GB, free: 12.29 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.008156/1.704, allocations: 6.693 MB / 0.8566 GB, free: 7.059 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.704, allocations: 4.062 kB / 0.8566 GB, free: 7.055 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.003468/1.707, allocations: 2.731 MB / 0.8593 GB, free: 4.91 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/1.708, allocations: 0 / 0.8593 GB, free: 4.91 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/1.718, allocations: 10.65 MB / 0.8697 GB, free: 10.35 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0043/1.722, allocations: 2.713 MB / 0.8723 GB, free: 7.629 MB / 0.6203 GB Notification: Performance of SimCode: time 3.01e-07/1.722, allocations: 0 / 0.8723 GB, free: 7.629 MB / 0.6203 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_400_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_400.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400_res.mat does not exist to compare? outputFormat=mat