Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000",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.001431/0.001431, allocations: 181.4 kB / 8.132 MB, free: 2.191 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.096/1.096, 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.0009175/0.0009175, allocations: 108.8 kB / 280.8 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6254/0.6254, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3313/0.9567, allocations: 88.97 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/1.068, allocations: 82.84 MB / 0.6092 GB, free: 3.457 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4767/1.545, allocations: 125.9 MB / 0.7322 GB, free: 3.938 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001081/1.545, allocations: 49.02 kB / 0.7322 GB, free: 3.922 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 3.39/4.935, allocations: 0.637 GB / 1.369 GB, free: 149.4 MB / 0.714 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/4.935, allocations: 8 kB / 1.369 GB, free: 149.4 MB / 0.714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005574/4.94, allocations: 4.398 MB / 1.374 GB, free: 145 MB / 0.714 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.519/8.459, allocations: 46.01 MB / 1.418 GB, free: 104.9 MB / 0.714 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/8.459, allocations: 4 kB / 1.418 GB, free: 104.9 MB / 0.714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/8.46, allocations: 0 / 1.418 GB, free: 104.9 MB / 0.714 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008962/8.46, allocations: 0.7545 MB / 1.419 GB, free: 104.1 MB / 0.714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/8.462, allocations: 1.141 MB / 1.42 GB, free: 103 MB / 0.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/8.462, allocations: 0 / 1.42 GB, free: 103 MB / 0.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/8.462, allocations: 4 kB / 1.42 GB, free: 103 MB / 0.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/8.462, allocations: 0 / 1.42 GB, free: 103 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02858/8.49, allocations: 13.41 MB / 1.433 GB, free: 89.52 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/8.492, allocations: 418.5 kB / 1.434 GB, free: 89.1 MB / 0.714 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007223/8.492, allocations: 406.7 kB / 1.434 GB, free: 88.7 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/8.492, allocations: 0 / 1.434 GB, free: 88.7 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009715/8.493, allocations: 1.184 MB / 1.435 GB, free: 87.5 MB / 0.714 GB Notification: Performance of pre-optimization done (n=8): time 2.204e-06/8.493, allocations: 0 / 1.435 GB, free: 87.5 MB / 0.714 GB Notification: Performance of matching and sorting (n=8): time 0.007491/8.501, allocations: 5.941 MB / 1.441 GB, free: 81.5 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/8.501, allocations: 77.11 kB / 1.441 GB, free: 81.4 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07411/8.575, allocations: 39.88 MB / 1.48 GB, free: 41.95 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 0.0007678/8.576, allocations: 29.64 kB / 1.48 GB, free: 41.91 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.01131/8.587, allocations: 5.994 MB / 1.486 GB, free: 35.91 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007437/8.588, allocations: 20.69 kB / 1.486 GB, free: 35.89 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005947/8.588, allocations: 0 / 1.486 GB, free: 35.89 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 4.454e-05/8.589, allocations: 310 kB / 1.486 GB, free: 35.58 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/8.589, allocations: 392 kB / 1.487 GB, free: 35.2 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000766/8.59, allocations: 384 kB / 1.487 GB, free: 34.82 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008679/8.591, allocations: 397 kB / 1.487 GB, free: 34.44 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/8.591, allocations: 4 kB / 1.487 GB, free: 34.43 MB / 0.714 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007607/8.599, allocations: 5.939 MB / 1.493 GB, free: 28.43 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/8.599, allocations: 8 kB / 1.493 GB, free: 28.42 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/8.599, allocations: 0.7031 kB / 1.493 GB, free: 28.42 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/8.599, allocations: 0 / 1.493 GB, free: 28.42 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/8.599, allocations: 8 kB / 1.493 GB, free: 28.41 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/8.599, allocations: 0 / 1.493 GB, free: 28.41 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/8.603, allocations: 7.906 kB / 1.493 GB, free: 28.41 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/8.605, allocations: 1.711 MB / 1.495 GB, free: 26.7 MB / 0.714 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.000424/8.605, allocations: 138.7 kB / 1.495 GB, free: 26.55 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004723/8.61, allocations: 4.406 MB / 1.499 GB, free: 22.08 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/8.624, allocations: 5.111 MB / 1.504 GB, free: 16.96 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/8.624, allocations: 0 / 1.504 GB, free: 16.96 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/8.624, allocations: 7.984 kB / 1.504 GB, free: 16.95 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/8.624, allocations: 4 kB / 1.504 GB, free: 16.95 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03738/8.662, allocations: 14.64 MB / 1.519 GB, free: 2.258 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/8.662, allocations: 8 kB / 1.519 GB, free: 2.25 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.525e-05/8.662, allocations: 3.984 kB / 1.519 GB, free: 2.246 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/8.662, allocations: 3.984 kB / 1.519 GB, free: 2.242 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009641/8.663, allocations: 380 kB / 1.519 GB, free: 1.871 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/8.663, allocations: 0 / 1.519 GB, free: 1.871 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/8.663, allocations: 0 / 1.519 GB, free: 1.871 MB / 0.714 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1998/8.863, allocations: 6.271 MB / 1.525 GB, free: 261.6 MB / 0.714 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007639/8.87, allocations: 7.606 MB / 1.533 GB, free: 258.7 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005569/8.876, allocations: 3.877 MB / 1.536 GB, free: 256.1 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003507/8.88, allocations: 8.953 kB / 1.536 GB, free: 256.1 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003662/8.883, allocations: 3 kB / 1.536 GB, free: 256.1 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/8.883, allocations: 1.969 kB / 1.536 GB, free: 256.1 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009802/8.884, allocations: 1.718 MB / 1.538 GB, free: 256.1 MB / 0.714 GB Notification: Performance of sort global known variables: time 0.05837/8.943, allocations: 31.68 MB / 1.569 GB, free: 250.2 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.004405/8.947, allocations: 1.011 MB / 1.57 GB, free: 250.2 MB / 0.714 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.0004298/8.948, allocations: 129.4 kB / 1.57 GB, free: 250.1 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.001329/8.949, allocations: 0.8088 MB / 1.571 GB, free: 250 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/8.949, allocations: 0 / 1.571 GB, free: 250 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.0007734/8.95, allocations: 454.9 kB / 1.571 GB, free: 250 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007643/8.957, allocations: 3.131 MB / 1.574 GB, free: 247.8 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.05/10.01, allocations: 58.58 MB / 1.632 GB, free: 226.3 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03341/10.04, allocations: 20.03 MB / 1.651 GB, free: 212.9 MB / 0.714 GB Notification: Performance of SimCode: time 1.483e-06/10.04, allocations: 0 / 1.651 GB, free: 212.9 MB / 0.714 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1)