Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",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.00103/0.00103, allocations: 183.4 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.081/1.081, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.0009178/0.000918, allocations: 101.5 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.883/0.883, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.4298/1.313, allocations: 88.96 MB / 0.5283 GB, free: 52.41 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/1.427, allocations: 82.84 MB / 0.6092 GB, free: 3.477 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4766/1.903, allocations: 125.9 MB / 0.7322 GB, free: 4.129 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001273/1.903, allocations: 49.64 kB / 0.7322 GB, free: 4.113 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.0848/1.988, allocations: 30.6 MB / 0.7621 GB, free: 7.543 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/1.988, allocations: 12 kB / 0.7621 GB, free: 7.531 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005491/1.989, allocations: 0.5513 MB / 0.7626 GB, free: 6.973 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05866/2.047, allocations: 5.831 MB / 0.7683 GB, free: 1.738 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/2.048, allocations: 4 kB / 0.7683 GB, free: 1.734 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/2.048, allocations: 0 / 0.7683 GB, free: 1.734 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002302/2.048, allocations: 110.6 kB / 0.7685 GB, free: 1.633 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/2.048, allocations: 191.2 kB / 0.7686 GB, free: 1.445 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/2.048, allocations: 0 / 0.7686 GB, free: 1.445 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/2.048, allocations: 0 / 0.7686 GB, free: 1.445 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/2.048, allocations: 0 / 0.7686 GB, free: 1.445 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/2.051, allocations: 1.796 MB / 0.7704 GB, free: 108 kB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/2.051, allocations: 88.64 kB / 0.7705 GB, free: 20 kB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/2.052, allocations: 71.64 kB / 0.7705 GB, free: 15.95 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-06/2.052, allocations: 0 / 0.7705 GB, free: 15.95 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/2.052, allocations: 235.9 kB / 0.7708 GB, free: 15.72 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/2.052, allocations: 1.031 kB / 0.7708 GB, free: 15.72 MB / 0.5421 GB Notification: Performance of matching and sorting (n=8): time 0.001086/2.053, allocations: 0.8105 MB / 0.7716 GB, free: 14.91 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/2.053, allocations: 81.11 kB / 0.7716 GB, free: 14.81 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007278/2.06, allocations: 5.059 MB / 0.7766 GB, free: 10.78 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/2.06, allocations: 25.7 kB / 0.7766 GB, free: 10.75 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/2.061, allocations: 0.8193 MB / 0.7774 GB, free: 10.17 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/2.061, allocations: 23.38 kB / 0.7774 GB, free: 10.15 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/2.061, allocations: 0 / 0.7774 GB, free: 10.15 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 7.624e-05/2.061, allocations: 317.4 kB / 0.7777 GB, free: 9.836 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.24e-05/2.061, allocations: 59.25 kB / 0.7778 GB, free: 9.781 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.594e-05/2.061, allocations: 63 kB / 0.7778 GB, free: 9.727 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/2.061, allocations: 66.05 kB / 0.7779 GB, free: 9.668 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/2.061, allocations: 4 kB / 0.7779 GB, free: 9.664 MB / 0.5421 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008222/2.062, allocations: 0.8087 MB / 0.7787 GB, free: 8.852 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/2.062, allocations: 4 kB / 0.7787 GB, free: 8.848 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/2.062, allocations: 6.688 kB / 0.7787 GB, free: 8.844 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/2.062, allocations: 0 / 0.7787 GB, free: 8.844 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/2.062, allocations: 4 kB / 0.7787 GB, free: 8.84 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/2.062, allocations: 0 / 0.7787 GB, free: 8.84 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/2.063, allocations: 7.906 kB / 0.7787 GB, free: 8.832 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/2.063, allocations: 228.2 kB / 0.7789 GB, free: 8.641 MB / 0.5421 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.0001256/2.063, allocations: 133.7 kB / 0.7791 GB, free: 8.5 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/2.063, allocations: 0.5591 MB / 0.7796 GB, free: 7.934 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/2.064, allocations: 0.649 MB / 0.7802 GB, free: 7.402 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/2.064, allocations: 4 kB / 0.7802 GB, free: 7.398 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/2.064, allocations: 0 / 0.7802 GB, free: 7.398 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/2.064, allocations: 0 / 0.7802 GB, free: 7.398 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/2.066, allocations: 1.959 MB / 0.7822 GB, free: 5.898 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/2.066, allocations: 0 / 0.7822 GB, free: 5.898 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/2.066, allocations: 4 kB / 0.7822 GB, free: 5.895 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/2.066, allocations: 0 / 0.7822 GB, free: 5.895 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/2.066, allocations: 51.98 kB / 0.7822 GB, free: 5.844 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/2.066, allocations: 0 / 0.7822 GB, free: 5.844 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/2.066, allocations: 7.984 kB / 0.7822 GB, free: 5.836 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008026/2.067, allocations: 0.8807 MB / 0.7831 GB, free: 4.949 MB / 0.5421 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009415/2.068, allocations: 1.376 MB / 0.7844 GB, free: 3.562 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006177/2.068, allocations: 0.5633 MB / 0.785 GB, free: 2.977 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/2.068, allocations: 8 kB / 0.785 GB, free: 2.969 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/2.069, allocations: 4 kB / 0.785 GB, free: 2.965 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/2.069, allocations: 8 kB / 0.785 GB, free: 2.957 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/2.069, allocations: 234 kB / 0.7852 GB, free: 2.762 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.004104/2.073, allocations: 3.974 MB / 0.7891 GB, free: 15.69 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.001054/2.074, allocations: 160 kB / 0.7893 GB, free: 15.53 MB / 0.5578 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.0001887/2.074, allocations: 122 kB / 0.7894 GB, free: 15.41 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.0002986/2.075, allocations: 172.8 kB / 0.7895 GB, free: 15.25 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/2.075, allocations: 0 / 0.7895 GB, free: 15.25 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/2.075, allocations: 128.9 kB / 0.7897 GB, free: 15.15 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/2.075, allocations: 407.3 kB / 0.79 GB, free: 14.99 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/2.092, allocations: 6.833 MB / 0.7967 GB, free: 8.395 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002343/2.094, allocations: 3.081 MB / 0.7997 GB, free: 5.41 MB / 0.5578 GB Notification: Performance of SimCode: time 2.585e-06/2.094, allocations: 0 / 0.7997 GB, free: 5.41 MB / 0.5578 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1)