Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_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.SimpleAdvection_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SimpleAdvection_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SimpleAdvection_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.001139/0.001139, allocations: 181.6 kB / 8.136 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.011/1.011, allocations: 221.4 MB / 229.9 MB, free: 3.316 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.0008493/0.0008493, allocations: 92.67 kB / 280.8 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5783/0.5783, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2867/0.8651, allocations: 88.96 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09822/0.9633, allocations: 82.85 MB / 0.6092 GB, free: 3.461 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/1.365, allocations: 125 MB / 0.7313 GB, free: 4.852 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001525/1.365, allocations: 55.5 kB / 0.7314 GB, free: 4.832 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.03998/1.405, allocations: 14.45 MB / 0.7455 GB, free: 8.457 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/1.405, allocations: 15.55 kB / 0.7455 GB, free: 8.445 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/1.405, allocations: 114.8 kB / 0.7456 GB, free: 8.332 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/1.406, allocations: 452.5 kB / 0.746 GB, free: 7.848 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/1.406, allocations: 27.91 kB / 0.7461 GB, free: 7.82 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/1.406, allocations: 101.8 kB / 0.7462 GB, free: 7.734 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007157/1.407, allocations: 0.5439 MB / 0.7467 GB, free: 7.336 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/1.408, allocations: 0.8555 MB / 0.7475 GB, free: 6.648 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/1.408, allocations: 0 / 0.7475 GB, free: 6.648 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/1.408, allocations: 3.938 kB / 0.7475 GB, free: 6.645 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/1.408, allocations: 20 kB / 0.7476 GB, free: 6.625 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004774/1.413, allocations: 2.547 MB / 0.75 GB, free: 4.297 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/1.414, allocations: 1.11 MB / 0.7511 GB, free: 3.414 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/1.414, allocations: 409.2 kB / 0.7515 GB, free: 3.145 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 5.974e-05/1.414, allocations: 9 kB / 0.7515 GB, free: 3.133 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/1.414, allocations: 45.88 kB / 0.7516 GB, free: 3.086 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=101): time 2.094e-06/1.414, allocations: 0 / 0.7516 GB, free: 3.086 MB / 0.5109 GB Notification: Performance of matching and sorting (n=101): time 0.001182/1.415, allocations: 0.8928 MB / 0.7524 GB, free: 2.348 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/1.415, allocations: 71.34 kB / 0.7525 GB, free: 2.27 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/1.416, allocations: 325 kB / 0.7528 GB, free: 1.996 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/1.416, allocations: 25.7 kB / 0.7528 GB, free: 1.965 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 9.276e-05/1.416, allocations: 244 kB / 0.7531 GB, free: 1.742 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.000367/1.416, allocations: 482.2 kB / 0.7535 GB, free: 1.34 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/1.416, allocations: 0 / 0.7535 GB, free: 1.34 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.416, allocations: 411.8 kB / 0.7539 GB, free: 0.9648 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007327/1.417, allocations: 0.644 MB / 0.7546 GB, free: 0.4961 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007083/1.418, allocations: 0.651 MB / 0.7552 GB, free: 20 kB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000859/1.419, allocations: 0.7854 MB / 0.756 GB, free: 15.43 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.419, allocations: 0 / 0.756 GB, free: 15.43 MB / 0.5265 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001856/1.421, allocations: 1.688 MB / 0.7576 GB, free: 14.08 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/1.421, allocations: 7.938 kB / 0.7576 GB, free: 14.07 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.421, allocations: 0.7812 kB / 0.7576 GB, free: 14.07 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.421, allocations: 8 kB / 0.7576 GB, free: 14.07 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/1.422, allocations: 377.5 kB / 0.758 GB, free: 13.71 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/1.422, allocations: 8 kB / 0.758 GB, free: 13.7 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009615/1.423, allocations: 162.7 kB / 0.7581 GB, free: 13.54 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/1.423, allocations: 46.38 kB / 0.7582 GB, free: 13.51 MB / 0.5265 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 (200): * Single equations (assignments): 200 * 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.000147/1.423, allocations: 124.7 kB / 0.7583 GB, free: 13.38 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/1.423, allocations: 79.16 kB / 0.7584 GB, free: 13.3 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/1.425, allocations: 1.028 MB / 0.7594 GB, free: 12.52 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/1.425, allocations: 12 kB / 0.7594 GB, free: 12.51 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/1.425, allocations: 0 / 0.7594 GB, free: 12.51 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/1.425, allocations: 7.969 kB / 0.7594 GB, free: 12.5 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008204/1.426, allocations: 0.7508 MB / 0.7601 GB, free: 11.85 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.426, allocations: 8 kB / 0.7602 GB, free: 11.84 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/1.427, allocations: 260.3 kB / 0.7604 GB, free: 11.6 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.427, allocations: 4 kB / 0.7604 GB, free: 11.59 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/1.428, allocations: 62.5 kB / 0.7605 GB, free: 11.54 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.428, allocations: 11.98 kB / 0.7605 GB, free: 11.53 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.428, allocations: 0 / 0.7605 GB, free: 11.53 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001556/1.429, allocations: 1.48 MB / 0.7619 GB, free: 10.33 MB / 0.5265 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002112/1.431, allocations: 2.373 MB / 0.7642 GB, free: 8.379 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/1.432, allocations: 232 kB / 0.7645 GB, free: 8.133 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/1.432, allocations: 51.94 kB / 0.7645 GB, free: 8.082 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008608/1.433, allocations: 123.2 kB / 0.7646 GB, free: 7.961 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.433, allocations: 60.12 kB / 0.7647 GB, free: 7.91 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/1.433, allocations: 27.92 kB / 0.7647 GB, free: 7.887 MB / 0.5265 GB Notification: Performance of sort global known variables: time 0.0001844/1.433, allocations: 269.2 kB / 0.765 GB, free: 7.66 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001255/1.434, allocations: 463.3 kB / 0.7654 GB, free: 7.207 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 99 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0001861/1.434, allocations: 165 kB / 0.7656 GB, free: 7.043 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001329/1.436, allocations: 1.284 MB / 0.7668 GB, free: 6.062 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.436, allocations: 0 / 0.7668 GB, free: 6.062 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0005066/1.436, allocations: 0.5055 MB / 0.7673 GB, free: 5.695 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.437, allocations: 424.2 kB / 0.7677 GB, free: 5.348 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/1.449, allocations: 8.615 MB / 0.7761 GB, free: 12.77 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.45, allocations: 1.475 MB / 0.7776 GB, free: 11.29 MB / 0.5421 GB Notification: Performance of SimCode: time 1.243e-06/1.45, allocations: 0 / 0.7776 GB, free: 11.29 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SimpleAdvection_N_100_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SimpleAdvection_N_100.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100_res.mat does not exist to compare? outputFormat=mat