Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.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.SimpleAdvection_N_200,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SimpleAdvection_N_200",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SimpleAdvection_N_200",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.000949/0.000949, allocations: 181.3 kB / 8.135 MB, free: 2.211 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.015/1.015, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.0008509/0.0008509, allocations: 101 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5659/0.5659, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2831/0.849, allocations: 88.97 MB / 0.5283 GB, free: 52.34 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09506/0.9441, allocations: 82.84 MB / 0.6092 GB, free: 3.453 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/1.345, allocations: 125.1 MB / 0.7313 GB, free: 4.52 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00014/1.346, allocations: 59.33 kB / 0.7314 GB, free: 4.496 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: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.07945/1.425, allocations: 27.78 MB / 0.7585 GB, free: 12.4 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/1.425, allocations: 9.031 kB / 0.7585 GB, free: 12.39 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/1.425, allocations: 225.7 kB / 0.7587 GB, free: 12.17 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/1.427, allocations: 0.7127 MB / 0.7594 GB, free: 11.42 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/1.427, allocations: 55.91 kB / 0.7595 GB, free: 11.36 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/1.427, allocations: 185.8 kB / 0.7597 GB, free: 11.2 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001445/1.428, allocations: 1.093 MB / 0.7607 GB, free: 10.4 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/1.431, allocations: 1.679 MB / 0.7624 GB, free: 9.059 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/1.431, allocations: 0 / 0.7624 GB, free: 9.059 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/1.431, allocations: 0 / 0.7624 GB, free: 9.059 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/1.431, allocations: 36 kB / 0.7624 GB, free: 9.023 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009619/1.44, allocations: 4.846 MB / 0.7671 GB, free: 4.656 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/1.443, allocations: 2.536 MB / 0.7696 GB, free: 2.578 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008274/1.444, allocations: 0.786 MB / 0.7704 GB, free: 2.051 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/1.444, allocations: 22 kB / 0.7704 GB, free: 2.031 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/1.444, allocations: 59.31 kB / 0.7705 GB, free: 1.977 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=201): time 2.695e-06/1.444, allocations: 0 / 0.7705 GB, free: 1.977 MB / 0.5265 GB Notification: Performance of matching and sorting (n=201): time 0.002279/1.446, allocations: 1.759 MB / 0.7722 GB, free: 0.5391 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/1.446, allocations: 73.39 kB / 0.7723 GB, free: 468 kB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/1.447, allocations: 0.5393 MB / 0.7728 GB, free: 4 kB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 9.672e-05/1.447, allocations: 25.7 kB / 0.7728 GB, free: 15.97 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/1.447, allocations: 416 kB / 0.7732 GB, free: 15.61 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009375/1.448, allocations: 0.919 MB / 0.7741 GB, free: 14.82 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/1.448, allocations: 0 / 0.7741 GB, free: 14.82 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.448, allocations: 441.9 kB / 0.7745 GB, free: 14.43 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/1.45, allocations: 1.287 MB / 0.7758 GB, free: 13.5 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/1.451, allocations: 1.299 MB / 0.777 GB, free: 12.55 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/1.453, allocations: 1.567 MB / 0.7786 GB, free: 11.35 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/1.453, allocations: 0 / 0.7786 GB, free: 11.35 MB / 0.5421 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.003746/1.457, allocations: 3.339 MB / 0.7818 GB, free: 8.691 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.457, allocations: 8 kB / 0.7818 GB, free: 8.684 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.457, allocations: 4 kB / 0.7819 GB, free: 8.68 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/1.457, allocations: 12 kB / 0.7819 GB, free: 8.668 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/1.46, allocations: 0.7367 MB / 0.7826 GB, free: 7.953 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/1.46, allocations: 12.94 kB / 0.7826 GB, free: 7.941 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/1.462, allocations: 337.4 kB / 0.7829 GB, free: 7.609 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/1.462, allocations: 90.42 kB / 0.783 GB, free: 7.547 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0002538/1.462, allocations: 144.4 kB / 0.7831 GB, free: 7.398 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/1.462, allocations: 146.4 kB / 0.7833 GB, free: 7.254 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/1.465, allocations: 2.007 MB / 0.7852 GB, free: 5.727 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/1.465, allocations: 20 kB / 0.7853 GB, free: 5.707 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.465, allocations: 0 / 0.7853 GB, free: 5.707 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/1.465, allocations: 11.95 kB / 0.7853 GB, free: 5.695 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/1.466, allocations: 1.37 MB / 0.7866 GB, free: 4.559 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.466, allocations: 4 kB / 0.7866 GB, free: 4.555 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00345/1.47, allocations: 0.5137 MB / 0.7871 GB, free: 4.062 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/1.47, allocations: 8 kB / 0.7871 GB, free: 4.055 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/1.47, allocations: 123.5 kB / 0.7872 GB, free: 3.945 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/1.47, allocations: 8 kB / 0.7872 GB, free: 3.938 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.47, allocations: 0 / 0.7872 GB, free: 3.938 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003048/1.473, allocations: 2.834 MB / 0.79 GB, free: 1.676 MB / 0.5421 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004213/1.477, allocations: 4.229 MB / 0.7941 GB, free: 14.27 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006909/1.478, allocations: 402.9 kB / 0.7945 GB, free: 13.86 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003596/1.478, allocations: 91.89 kB / 0.7946 GB, free: 13.77 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/1.48, allocations: 242.6 kB / 0.7948 GB, free: 13.53 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/1.48, allocations: 112.9 kB / 0.795 GB, free: 13.43 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/1.48, allocations: 63.66 kB / 0.795 GB, free: 13.38 MB / 0.5578 GB Notification: Performance of sort global known variables: time 0.0003422/1.481, allocations: 435.2 kB / 0.7954 GB, free: 13.03 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.001796/1.483, allocations: 0.9009 MB / 0.7963 GB, free: 12.13 MB / 0.5578 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 199 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18],Ttilde[19],Ttilde[20],Ttilde[21],Ttilde[22],Ttilde[23],Ttilde[24],Ttilde[25],Ttilde[26],Ttilde[27],Ttilde[28],Ttilde[29],Ttilde[30],Ttilde[31],Ttilde[32],Ttilde[33],Ttilde[34],Ttilde[35],Ttilde[36],Ttilde[37],Ttilde[38],Ttilde[39],Ttilde[40],Ttilde[41],Ttilde[42],Ttilde[43],Ttilde[44],Ttilde[45],Ttilde[46],Ttilde[47],Ttilde[48],Ttilde[49],Ttilde[50],Ttilde[51],Ttilde[52],Ttilde[53],Ttilde[54],Ttilde[55],Ttilde[56],Ttilde[57],Ttilde[58],Ttilde[59],Ttilde[60],Ttilde[61],Ttilde[62],Ttilde[63],Ttilde[64],Ttilde[65],Ttilde[66],Ttilde[67],Ttilde[68],Ttilde[69],Ttilde[70],Ttilde[71],Ttilde[72],Ttilde[73],Ttilde[74],Ttilde[75],Ttilde[76],Ttilde[77],Ttilde[78],Ttilde[79],Ttilde[80],Ttilde[81],Ttilde[82],Ttilde[83],Ttilde[84],Ttilde[85],Ttilde[86],Ttilde[87],Ttilde[88],Ttilde[89],Ttilde[90],Ttilde[91],Ttilde[92],Ttilde[93],Ttilde[94],Ttilde[95],Ttilde[96],Ttilde[97],Ttilde[98],Ttilde[99],Ttilde[100],Ttilde[101],Ttilde[102],Ttilde[103],Ttilde[104],Ttilde[105],Ttilde[106],Ttilde[107],Ttilde[108],Ttilde[109],Ttilde[110],Ttilde[111],Ttilde[112],Ttilde[113],Ttilde[114],Ttilde[115],Ttilde[116],Ttilde[117],Ttilde[118],Ttilde[119],Ttilde[120],Ttilde[121],Ttilde[122],Ttilde[123],Ttilde[124],Ttilde[125],Ttilde[126],Ttilde[127],Ttilde[128],Ttilde[129],Ttilde[130],Ttilde[131],Ttilde[132],Ttilde[133],Ttilde[134],Ttilde[135],Ttilde[136],Ttilde[137],Ttilde[138],Ttilde[139],Ttilde[140],Ttilde[141],Ttilde[142],Ttilde[143],Ttilde[144],Ttilde[145],Ttilde[146],Ttilde[147],Ttilde[148],Ttilde[149],Ttilde[150],Ttilde[151],Ttilde[152],Ttilde[153],Ttilde[154],Ttilde[155],Ttilde[156],Ttilde[157],Ttilde[158],Ttilde[159],Ttilde[160],Ttilde[161],Ttilde[162],Ttilde[163],Ttilde[164],Ttilde[165],Ttilde[166],Ttilde[167],Ttilde[168],Ttilde[169],Ttilde[170],Ttilde[171],Ttilde[172],Ttilde[173],Ttilde[174],Ttilde[175],Ttilde[176],Ttilde[177],Ttilde[178],Ttilde[179],Ttilde[180],Ttilde[181],Ttilde[182],Ttilde[183],Ttilde[184],Ttilde[185],Ttilde[186],Ttilde[187],Ttilde[188],Ttilde[189],Ttilde[190],Ttilde[191],Ttilde[192],Ttilde[193],Ttilde[194],Ttilde[195],Ttilde[196],Ttilde[197],Ttilde[198],Ttilde[199]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 203 * 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.0002957/1.483, allocations: 224.6 kB / 0.7965 GB, free: 11.91 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.002631/1.486, allocations: 2.57 MB / 0.799 GB, free: 9.965 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.486, allocations: 0 / 0.799 GB, free: 9.965 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.0009909/1.487, allocations: 1.01 MB / 0.8 GB, free: 9.227 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/1.489, allocations: 0.815 MB / 0.8008 GB, free: 8.562 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/1.513, allocations: 17.36 MB / 0.8178 GB, free: 7.293 MB / 0.5734 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/1.515, allocations: 2.272 MB / 0.82 GB, free: 5.031 MB / 0.5734 GB Notification: Performance of SimCode: time 3.51e-07/1.515, allocations: 0 / 0.82 GB, free: 5.031 MB / 0.5734 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SimpleAdvection_N_200_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SimpleAdvection_N_200.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200_res.mat does not exist to compare? outputFormat=mat