Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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.Elementary.Tables.ScaledExperiments.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",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.0009794/0.0009795, allocations: 181.8 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.083/1.083, allocations: 221.4 MB / 229.9 MB, free: 3.289 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.0008499/0.00085, allocations: 104.2 kB / 280.8 MB, free: 1.184 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7164/0.7164, allocations: 120.5 MB / 452 MB, free: 12.95 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3309/1.047, allocations: 88.95 MB / 0.5283 GB, free: 52.28 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/1.167, allocations: 82.85 MB / 0.6092 GB, free: 3.438 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4997/1.667, allocations: 125.9 MB / 0.7322 GB, free: 3.879 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001189/1.667, allocations: 49.25 kB / 0.7322 GB, free: 3.863 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01845/1.685, allocations: 8.404 MB / 0.7404 GB, free: 12.33 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/1.685, allocations: 8 kB / 0.7404 GB, free: 12.32 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/1.686, allocations: 142.1 kB / 0.7406 GB, free: 12.18 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005647/1.691, allocations: 1.577 MB / 0.7421 GB, free: 10.73 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/1.691, allocations: 0 / 0.7421 GB, free: 10.73 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/1.691, allocations: 4 kB / 0.7421 GB, free: 10.72 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001039/1.692, allocations: 42.98 kB / 0.7421 GB, free: 10.69 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/1.692, allocations: 80.27 kB / 0.7422 GB, free: 10.61 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/1.692, allocations: 0 / 0.7422 GB, free: 10.61 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.692, allocations: 1.031 kB / 0.7422 GB, free: 10.61 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.692, allocations: 11.98 kB / 0.7422 GB, free: 10.59 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/1.692, allocations: 0.5542 MB / 0.7428 GB, free: 10.13 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 7.251e-05/1.692, allocations: 43.83 kB / 0.7428 GB, free: 10.09 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/1.692, allocations: 41.59 kB / 0.7429 GB, free: 10.06 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/1.692, allocations: 3.984 kB / 0.7429 GB, free: 10.05 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/1.693, allocations: 124.6 kB / 0.743 GB, free: 9.922 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/1.693, allocations: 3.938 kB / 0.743 GB, free: 9.918 MB / 0.5109 GB Notification: Performance of matching and sorting (n=8): time 0.0004274/1.693, allocations: 262.5 kB / 0.7432 GB, free: 9.664 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/1.693, allocations: 77.11 kB / 0.7433 GB, free: 9.57 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/1.695, allocations: 1.334 MB / 0.7446 GB, free: 8.492 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/1.695, allocations: 33.64 kB / 0.7446 GB, free: 8.453 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/1.695, allocations: 268.1 kB / 0.7449 GB, free: 8.25 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/1.695, allocations: 19.12 kB / 0.7449 GB, free: 8.234 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/1.695, allocations: 0 / 0.7449 GB, free: 8.234 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.695, allocations: 318 kB / 0.7452 GB, free: 7.918 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/1.695, allocations: 23.19 kB / 0.7452 GB, free: 7.902 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/1.695, allocations: 23.44 kB / 0.7453 GB, free: 7.883 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.914e-05/1.695, allocations: 34.98 kB / 0.7453 GB, free: 7.855 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.695, allocations: 0 / 0.7453 GB, free: 7.855 MB / 0.5109 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003378/1.695, allocations: 265.8 kB / 0.7456 GB, free: 7.598 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.695, allocations: 4 kB / 0.7456 GB, free: 7.594 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/1.696, allocations: 0 / 0.7456 GB, free: 7.594 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/1.696, allocations: 0 / 0.7456 GB, free: 7.594 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/1.696, allocations: 5.375 kB / 0.7456 GB, free: 7.59 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.696, allocations: 8 kB / 0.7456 GB, free: 7.582 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/1.696, allocations: 3.906 kB / 0.7456 GB, free: 7.578 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/1.696, allocations: 58.12 kB / 0.7456 GB, free: 7.531 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.696, allocations: 138.7 kB / 0.7458 GB, free: 7.383 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/1.696, allocations: 150 kB / 0.7459 GB, free: 7.234 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/1.696, allocations: 176.9 kB / 0.7461 GB, free: 7.09 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.696, allocations: 0 / 0.7461 GB, free: 7.09 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.696, allocations: 0 / 0.7461 GB, free: 7.09 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/1.696, allocations: 0 / 0.7461 GB, free: 7.09 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/1.697, allocations: 0.604 MB / 0.7467 GB, free: 6.578 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.697, allocations: 0 / 0.7467 GB, free: 6.578 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/1.697, allocations: 4.625 kB / 0.7467 GB, free: 6.574 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/1.697, allocations: 0 / 0.7467 GB, free: 6.574 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/1.697, allocations: 12 kB / 0.7467 GB, free: 6.562 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/1.697, allocations: 4.094 kB / 0.7467 GB, free: 6.559 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.697, allocations: 4.438 kB / 0.7467 GB, free: 6.555 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003408/1.697, allocations: 307.7 kB / 0.747 GB, free: 6.254 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004214/1.698, allocations: 0.7129 MB / 0.7477 GB, free: 5.535 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/1.698, allocations: 214.8 kB / 0.7479 GB, free: 5.309 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/1.698, allocations: 8 kB / 0.7479 GB, free: 5.301 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/1.698, allocations: 0 / 0.7479 GB, free: 5.301 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/1.698, allocations: 11.22 kB / 0.7479 GB, free: 5.293 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/1.698, allocations: 55 kB / 0.748 GB, free: 5.246 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.001052/1.699, allocations: 1.063 MB / 0.749 GB, free: 4.41 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0008587/1.7, allocations: 67.94 kB / 0.7491 GB, free: 4.344 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001915/1.7, allocations: 123.1 kB / 0.7492 GB, free: 4.219 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0001695/1.7, allocations: 103.9 kB / 0.7493 GB, free: 4.133 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.7, allocations: 0 / 0.7493 GB, free: 4.133 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/1.701, allocations: 90.52 kB / 0.7494 GB, free: 4.062 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/1.701, allocations: 111.1 kB / 0.7495 GB, free: 4.016 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/1.703, allocations: 1.671 MB / 0.7511 GB, free: 2.391 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000818/1.704, allocations: 1.279 MB / 0.7523 GB, free: 1.113 MB / 0.5109 GB Notification: Performance of SimCode: time 3.61e-07/1.704, allocations: 4 kB / 0.7523 GB, free: 1.109 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1)