Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.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_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100",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.0009293/0.0009293, allocations: 183.9 kB / 8.135 MB, free: 2.223 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.034/1.034, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0009036/0.0009036, allocations: 90.53 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5792/0.5792, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2931/0.8723, allocations: 88.97 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.9696, allocations: 82.84 MB / 0.6092 GB, free: 3.477 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4104/1.38, allocations: 124.3 MB / 0.7306 GB, free: 5.395 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001415/1.38, allocations: 59 kB / 0.7307 GB, free: 5.371 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.04057/1.421, allocations: 11.18 MB / 0.7416 GB, free: 11.53 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/1.421, allocations: 16 kB / 0.7416 GB, free: 11.52 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/1.421, allocations: 35.62 kB / 0.7416 GB, free: 11.48 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004769/1.426, allocations: 1.239 MB / 0.7428 GB, free: 10.21 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/1.426, allocations: 12 kB / 0.7429 GB, free: 10.2 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/1.426, allocations: 78.3 kB / 0.7429 GB, free: 10.14 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007862/1.427, allocations: 0.538 MB / 0.7435 GB, free: 9.723 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/1.428, allocations: 0.8487 MB / 0.7443 GB, free: 9.004 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/1.428, allocations: 0 / 0.7443 GB, free: 9.004 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/1.428, allocations: 0 / 0.7443 GB, free: 9.004 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/1.428, allocations: 12 kB / 0.7443 GB, free: 8.992 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/1.43, allocations: 0.9575 MB / 0.7452 GB, free: 8.059 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/1.432, allocations: 1.82 MB / 0.747 GB, free: 6.668 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006958/1.433, allocations: 0.5822 MB / 0.7476 GB, free: 6.227 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/1.433, allocations: 13 kB / 0.7476 GB, free: 6.215 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/1.433, allocations: 42.56 kB / 0.7476 GB, free: 6.172 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=100): time 1.914e-06/1.433, allocations: 0.9375 kB / 0.7476 GB, free: 6.172 MB / 0.5109 GB Notification: Performance of matching and sorting (n=100): time 0.001896/1.435, allocations: 1.316 MB / 0.7489 GB, free: 5.109 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/1.435, allocations: 64.31 kB / 0.749 GB, free: 5.031 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.678e-05/1.435, allocations: 92.06 kB / 0.7491 GB, free: 4.938 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 8.89e-05/1.435, allocations: 25.7 kB / 0.7491 GB, free: 4.906 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/1.435, allocations: 90.14 kB / 0.7492 GB, free: 4.816 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/1.435, allocations: 467.6 kB / 0.7496 GB, free: 4.426 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/1.435, allocations: 0 / 0.7496 GB, free: 4.426 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.436, allocations: 378.4 kB / 0.75 GB, free: 4.074 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/1.437, allocations: 0.8455 MB / 0.7508 GB, free: 3.43 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/1.438, allocations: 0.9467 MB / 0.7517 GB, free: 2.703 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/1.439, allocations: 0.9958 MB / 0.7527 GB, free: 1.922 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.439, allocations: 8 kB / 0.7527 GB, free: 1.914 MB / 0.5109 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002649/1.442, allocations: 2.061 MB / 0.7547 GB, free: 256 kB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.442, allocations: 8 kB / 0.7547 GB, free: 248 kB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.442, allocations: 0 / 0.7547 GB, free: 248 kB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/1.442, allocations: 8.188 kB / 0.7547 GB, free: 240 kB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/1.444, allocations: 373.7 kB / 0.7551 GB, free: 15.88 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/1.444, allocations: 8.859 kB / 0.7551 GB, free: 15.88 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008572/1.444, allocations: 138.7 kB / 0.7552 GB, free: 15.74 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/1.445, allocations: 42.94 kB / 0.7553 GB, free: 15.71 MB / 0.5265 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 (201): * Single equations (assignments): 201 * 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.0002221/1.445, allocations: 124.7 kB / 0.7554 GB, free: 15.58 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/1.445, allocations: 47.5 kB / 0.7554 GB, free: 15.53 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/1.445, allocations: 169.7 kB / 0.7556 GB, free: 15.52 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/1.445, allocations: 8 kB / 0.7556 GB, free: 15.51 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.445, allocations: 0 / 0.7556 GB, free: 15.51 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/1.445, allocations: 3.984 kB / 0.7556 GB, free: 15.51 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/1.446, allocations: 0.7632 MB / 0.7564 GB, free: 14.77 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.446, allocations: 0 / 0.7564 GB, free: 14.77 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/1.448, allocations: 250.7 kB / 0.7566 GB, free: 14.54 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.448, allocations: 3.906 kB / 0.7566 GB, free: 14.53 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/1.449, allocations: 66.11 kB / 0.7567 GB, free: 14.47 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.449, allocations: 8 kB / 0.7567 GB, free: 14.46 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.449, allocations: 0 / 0.7567 GB, free: 14.46 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002266/1.451, allocations: 1.79 MB / 0.7584 GB, free: 13.02 MB / 0.5265 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003333/1.454, allocations: 3.036 MB / 0.7614 GB, free: 10.53 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/1.455, allocations: 244.3 kB / 0.7616 GB, free: 10.27 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/1.455, allocations: 47.94 kB / 0.7617 GB, free: 10.23 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008373/1.456, allocations: 71.83 kB / 0.7617 GB, free: 10.16 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.456, allocations: 55.09 kB / 0.7618 GB, free: 10.11 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.456, allocations: 31.05 kB / 0.7618 GB, free: 10.09 MB / 0.5265 GB Notification: Performance of sort global known variables: time 2.653e-05/1.456, allocations: 78.66 kB / 0.7619 GB, free: 10.01 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001039/1.457, allocations: 223.9 kB / 0.7621 GB, free: 9.793 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 100 * 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.0002242/1.457, allocations: 162.1 kB / 0.7623 GB, free: 9.625 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.459, allocations: 1.68 MB / 0.7639 GB, free: 8.309 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.459, allocations: 0 / 0.7639 GB, free: 8.309 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0008354/1.46, allocations: 0.684 MB / 0.7646 GB, free: 7.773 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/1.46, allocations: 3.188 kB / 0.7646 GB, free: 7.773 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/1.463, allocations: 2.616 MB / 0.7671 GB, free: 5.16 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/1.464, allocations: 1.185 MB / 0.7683 GB, free: 3.957 MB / 0.5265 GB Notification: Performance of SimCode: time 2.9e-07/1.464, allocations: 3.938 kB / 0.7683 GB, free: 3.953 MB / 0.5265 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat does not exist to compare? outputFormat=mat