Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",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.001025/0.001025, allocations: 180.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.069/1.069, allocations: 221.4 MB / 229.9 MB, free: 3.023 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.000895/0.0008951, allocations: 100.2 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6136/0.6136, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.326/0.9396, allocations: 88.96 MB / 0.5283 GB, free: 52.31 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/1.044, allocations: 82.85 MB / 0.6092 GB, free: 3.48 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4356/1.48, allocations: 125.9 MB / 0.7322 GB, free: 4.215 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001139/1.48, allocations: 45.09 kB / 0.7322 GB, free: 4.199 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.8238/2.304, allocations: 205.2 MB / 0.9326 GB, free: 13.59 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/2.304, allocations: 16 kB / 0.9326 GB, free: 13.57 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/2.307, allocations: 2.197 MB / 0.9348 GB, free: 11.34 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.016/3.322, allocations: 23.04 MB / 0.9573 GB, free: 299.9 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/3.322, allocations: 2 kB / 0.9573 GB, free: 299.9 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/3.323, allocations: 7.125 kB / 0.9573 GB, free: 299.9 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005269/3.323, allocations: 395.4 kB / 0.9577 GB, free: 299.9 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/3.324, allocations: 0.5939 MB / 0.9582 GB, free: 299.8 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/3.324, allocations: 0 / 0.9582 GB, free: 299.8 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/3.324, allocations: 0 / 0.9582 GB, free: 299.8 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/3.324, allocations: 1.594 kB / 0.9582 GB, free: 299.8 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/3.336, allocations: 6.775 MB / 0.9649 GB, free: 299.4 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/3.336, allocations: 233 kB / 0.9651 GB, free: 299.4 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/3.337, allocations: 217 kB / 0.9653 GB, free: 299.4 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/3.337, allocations: 0 / 0.9653 GB, free: 299.4 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005749/3.337, allocations: 0.6366 MB / 0.9659 GB, free: 299.3 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/3.337, allocations: 0 / 0.9659 GB, free: 299.3 MB / 0.6984 GB Notification: Performance of matching and sorting (n=8): time 0.003466/3.341, allocations: 3.012 MB / 0.9688 GB, free: 298 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/3.341, allocations: 84.67 kB / 0.9689 GB, free: 297.9 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02711/3.368, allocations: 19.98 MB / 0.9884 GB, free: 293.1 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 0.0003769/3.368, allocations: 25.7 kB / 0.9885 GB, free: 293 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.003339/3.372, allocations: 3.029 MB / 0.9914 GB, free: 291.8 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/3.372, allocations: 20.16 kB / 0.9914 GB, free: 291.8 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/3.372, allocations: 0 / 0.9914 GB, free: 291.8 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 3.974e-05/3.372, allocations: 313.4 kB / 0.9917 GB, free: 291.5 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/3.372, allocations: 200 kB / 0.9919 GB, free: 291.5 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/3.373, allocations: 203.6 kB / 0.9921 GB, free: 291.5 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/3.373, allocations: 212.8 kB / 0.9923 GB, free: 291.5 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/3.373, allocations: 0 / 0.9923 GB, free: 291.5 MB / 0.6984 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003682/3.377, allocations: 3.004 MB / 0.9953 GB, free: 290.2 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/3.377, allocations: 7.344 kB / 0.9953 GB, free: 290.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/3.377, allocations: 3.906 kB / 0.9953 GB, free: 290.2 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/3.377, allocations: 0 / 0.9953 GB, free: 290.2 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/3.377, allocations: 3.281 kB / 0.9953 GB, free: 290.2 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/3.377, allocations: 3.75 kB / 0.9953 GB, free: 290.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/3.379, allocations: 5.219 kB / 0.9953 GB, free: 290.2 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004662/3.38, allocations: 0.8586 MB / 0.9961 GB, free: 290.1 MB / 0.6984 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.0002231/3.38, allocations: 139.6 kB / 0.9963 GB, free: 289.9 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002005/3.382, allocations: 2.211 MB / 0.9984 GB, free: 288.7 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005501/3.387, allocations: 2.563 MB / 1.001 GB, free: 288 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/3.387, allocations: 0 / 1.001 GB, free: 288 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/3.387, allocations: 0 / 1.001 GB, free: 288 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/3.387, allocations: 8.953 kB / 1.001 GB, free: 288 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/3.4, allocations: 7.391 MB / 1.008 GB, free: 285.6 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/3.4, allocations: 3.75 kB / 1.008 GB, free: 285.6 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.425e-05/3.4, allocations: 1.719 kB / 1.008 GB, free: 285.6 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/3.4, allocations: 2.344 kB / 1.008 GB, free: 285.6 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005537/3.401, allocations: 193.2 kB / 1.008 GB, free: 285.6 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/3.401, allocations: 0 / 1.008 GB, free: 285.6 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/3.401, allocations: 0 / 1.008 GB, free: 285.6 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003345/3.404, allocations: 3.183 MB / 1.011 GB, free: 282.6 MB / 0.6984 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003366/3.407, allocations: 4.051 MB / 1.015 GB, free: 278.5 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/3.41, allocations: 1.988 MB / 1.017 GB, free: 276.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/3.411, allocations: 7.703 kB / 1.017 GB, free: 276.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/3.413, allocations: 7.812 kB / 1.017 GB, free: 276.5 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/3.413, allocations: 3.969 kB / 1.017 GB, free: 276.5 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004497/3.413, allocations: 0.8594 MB / 1.018 GB, free: 275.6 MB / 0.6984 GB Notification: Performance of sort global known variables: time 0.02424/3.438, allocations: 15.83 MB / 1.034 GB, free: 262.3 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.003066/3.441, allocations: 0.5244 MB / 1.034 GB, free: 261.8 MB / 0.6984 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.0002819/3.441, allocations: 135.1 kB / 1.034 GB, free: 261.7 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.0007297/3.442, allocations: 446.5 kB / 1.035 GB, free: 261.2 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/3.442, allocations: 0 / 1.035 GB, free: 261.2 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.0003915/3.442, allocations: 269.5 kB / 1.035 GB, free: 261 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/3.445, allocations: 1.577 MB / 1.037 GB, free: 259.4 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1849/3.63, allocations: 28.59 MB / 1.064 GB, free: 233.6 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01035/3.641, allocations: 10.28 MB / 1.074 GB, free: 225.5 MB / 0.6984 GB Notification: Performance of SimCode: time 1.854e-06/3.641, allocations: 0 / 1.074 GB, free: 225.5 MB / 0.6984 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1)