Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",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.0009471/0.0009471, allocations: 183.5 kB / 8.132 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.074/1.074, allocations: 221.4 MB / 229.9 MB, free: 3 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.0008915/0.0008916, allocations: 97.02 kB / 280.8 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6325/0.6325, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3114/0.944, allocations: 88.96 MB / 0.5283 GB, free: 52.34 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/1.051, allocations: 82.84 MB / 0.6092 GB, free: 3.453 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/1.5, allocations: 125.9 MB / 0.7322 GB, free: 4.145 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001206/1.5, allocations: 54.58 kB / 0.7322 GB, free: 4.125 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.2455/1.746, allocations: 73.54 MB / 0.804 GB, free: 14.13 MB / 0.5734 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/1.746, allocations: 8 kB / 0.804 GB, free: 14.12 MB / 0.5734 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/1.747, allocations: 1.103 MB / 0.8051 GB, free: 13.01 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2239/1.971, allocations: 11.56 MB / 0.8164 GB, free: 2.68 MB / 0.5734 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/1.971, allocations: 4 kB / 0.8164 GB, free: 2.676 MB / 0.5734 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-05/1.971, allocations: 0 / 0.8164 GB, free: 2.676 MB / 0.5734 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003761/1.972, allocations: 199.9 kB / 0.8166 GB, free: 2.484 MB / 0.5734 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/1.972, allocations: 337.1 kB / 0.8169 GB, free: 2.156 MB / 0.5734 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/1.972, allocations: 0 / 0.8169 GB, free: 2.156 MB / 0.5734 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/1.972, allocations: 0.5 kB / 0.8169 GB, free: 2.156 MB / 0.5734 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/1.972, allocations: 7.906 kB / 0.8169 GB, free: 2.148 MB / 0.5734 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005502/1.978, allocations: 3.456 MB / 0.8203 GB, free: 15.64 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/1.978, allocations: 129.3 kB / 0.8204 GB, free: 15.51 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/1.978, allocations: 119.7 kB / 0.8205 GB, free: 15.4 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/1.978, allocations: 0 / 0.8205 GB, free: 15.4 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/1.979, allocations: 379.8 kB / 0.8209 GB, free: 15.02 MB / 0.589 GB Notification: Performance of pre-optimization done (n=8): time 1.873e-06/1.979, allocations: 4 kB / 0.8209 GB, free: 15.02 MB / 0.589 GB Notification: Performance of matching and sorting (n=8): time 0.002019/1.981, allocations: 1.545 MB / 0.8224 GB, free: 13.46 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/1.981, allocations: 81.11 kB / 0.8225 GB, free: 13.37 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01515/1.996, allocations: 10.04 MB / 0.8323 GB, free: 5.391 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 0.0001571/1.996, allocations: 25.7 kB / 0.8323 GB, free: 5.359 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 0.00192/1.998, allocations: 1.555 MB / 0.8338 GB, free: 4.293 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/1.998, allocations: 16.7 kB / 0.8339 GB, free: 4.281 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/1.998, allocations: 4 kB / 0.8339 GB, free: 4.277 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.998, allocations: 310 kB / 0.8342 GB, free: 3.969 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/1.998, allocations: 107.8 kB / 0.8343 GB, free: 3.871 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/1.999, allocations: 103.9 kB / 0.8344 GB, free: 3.773 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/1.999, allocations: 119.3 kB / 0.8345 GB, free: 3.664 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.999, allocations: 0 / 0.8345 GB, free: 3.664 MB / 0.589 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001911/2.001, allocations: 1.545 MB / 0.836 GB, free: 2.109 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/2.001, allocations: 4 kB / 0.836 GB, free: 2.105 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/2.001, allocations: 3.984 kB / 0.836 GB, free: 2.102 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/2.001, allocations: 4 kB / 0.836 GB, free: 2.098 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/2.001, allocations: 4 kB / 0.836 GB, free: 2.094 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/2.001, allocations: 4 kB / 0.836 GB, free: 2.09 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/2.002, allocations: 3.906 kB / 0.836 GB, free: 2.086 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002991/2.002, allocations: 441.2 kB / 0.8364 GB, free: 1.715 MB / 0.589 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.0001734/2.003, allocations: 138.5 kB / 0.8366 GB, free: 1.57 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/2.004, allocations: 1.106 MB / 0.8376 GB, free: 460 kB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/2.007, allocations: 1.283 MB / 0.8389 GB, free: 15.41 MB / 0.6046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/2.007, allocations: 0 / 0.8389 GB, free: 15.41 MB / 0.6046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/2.007, allocations: 3.938 kB / 0.8389 GB, free: 15.4 MB / 0.6046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/2.007, allocations: 4 kB / 0.8389 GB, free: 15.4 MB / 0.6046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005613/2.012, allocations: 3.779 MB / 0.8426 GB, free: 12.57 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/2.012, allocations: 0 / 0.8426 GB, free: 12.57 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/2.012, allocations: 4 kB / 0.8426 GB, free: 12.56 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/2.012, allocations: 0 / 0.8426 GB, free: 12.56 MB / 0.6046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/2.012, allocations: 99.98 kB / 0.8427 GB, free: 12.46 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/2.012, allocations: 0 / 0.8427 GB, free: 12.46 MB / 0.6046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/2.012, allocations: 3.984 kB / 0.8427 GB, free: 12.46 MB / 0.6046 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001713/2.014, allocations: 1.644 MB / 0.8443 GB, free: 10.8 MB / 0.6046 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001705/2.016, allocations: 2.269 MB / 0.8465 GB, free: 8.52 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/2.017, allocations: 1.037 MB / 0.8475 GB, free: 7.453 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005299/2.018, allocations: 4 kB / 0.8475 GB, free: 7.449 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006512/2.018, allocations: 0 / 0.8475 GB, free: 7.449 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/2.018, allocations: 11.89 kB / 0.8475 GB, free: 7.438 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002789/2.019, allocations: 441.1 kB / 0.848 GB, free: 7.07 MB / 0.6046 GB Notification: Performance of sort global known variables: time 0.01053/2.029, allocations: 7.868 MB / 0.8556 GB, free: 0.9922 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.00179/2.031, allocations: 280 kB / 0.8559 GB, free: 0.7188 MB / 0.6046 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.0002494/2.031, allocations: 133.3 kB / 0.856 GB, free: 0.5859 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.000462/2.032, allocations: 264.3 kB / 0.8563 GB, free: 352 kB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/2.032, allocations: 0 / 0.8563 GB, free: 352 kB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/2.032, allocations: 176.6 kB / 0.8565 GB, free: 196 kB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/2.033, allocations: 0.792 MB / 0.8572 GB, free: 15.88 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05323/2.087, allocations: 13.97 MB / 0.8709 GB, free: 2.41 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004946/2.092, allocations: 5.473 MB / 0.8762 GB, free: 13.14 MB / 0.6359 GB Notification: Performance of SimCode: time 8.82e-07/2.092, allocations: 0 / 0.8762 GB, free: 13.14 MB / 0.6359 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1)