Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32: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/Buildings 8.0.0/package.mo): time 2.164/2.164, allocations: 284.8 MB / 292.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 177.3 kB / 360.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.2 MB / 0.6187 GB, free: 13.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 88.67 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2408/0.2421, allocations: 121.4 MB / 0.8502 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5653/0.8074, allocations: 115.2 MB / 0.9628 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/1.01, allocations: 137.1 MB / 1.097 GB, free: 3.77 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.01, allocations: 72.75 kB / 1.097 GB, free: 3.699 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.1085/1.118, allocations: 21.01 MB / 1.117 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.119, allocations: 12 kB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/1.119, allocations: 27.72 kB / 1.117 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009038/1.12, allocations: 371.4 kB / 1.118 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/1.12, allocations: 7.938 kB / 1.118 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/1.12, allocations: 27.89 kB / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003312/1.12, allocations: 107.9 kB / 1.118 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/1.121, allocations: 192.1 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/1.121, allocations: 0 / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/1.121, allocations: 8.641 kB / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.121, allocations: 0 / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/1.121, allocations: 361.6 kB / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/1.122, allocations: 327.9 kB / 1.119 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/1.122, allocations: 122.5 kB / 1.119 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/1.122, allocations: 3.938 kB / 1.119 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004933/1.123, allocations: 229.8 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.934e-06/1.123, allocations: 2.062 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0009429/1.124, allocations: 309.1 kB / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/1.124, allocations: 114.8 kB / 1.119 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000641/1.125, allocations: 343.5 kB / 1.12 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.682e-05/1.125, allocations: 33.69 kB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/1.125, allocations: 110.8 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.33e-05/1.125, allocations: 39.45 kB / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/1.125, allocations: 4 kB / 1.12 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.125, allocations: 342.8 kB / 1.12 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/1.125, allocations: 87.97 kB / 1.12 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00074/1.126, allocations: 462.5 kB / 1.121 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/1.127, allocations: 165.3 kB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/1.127, allocations: 4 kB / 1.121 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00117/1.128, allocations: 332.9 kB / 1.121 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.128, allocations: 5.656 kB / 1.121 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.128, allocations: 10.06 kB / 1.121 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.128, allocations: 4 kB / 1.121 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/1.129, allocations: 31.92 kB / 1.121 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/1.129, allocations: 11.84 kB / 1.121 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/1.13, allocations: 48.12 kB / 1.121 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/1.13, allocations: 19.91 kB / 1.121 GB, free: 10.21 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0002059/1.13, allocations: 130.9 kB / 1.121 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/1.13, allocations: 28.19 kB / 1.121 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/1.13, allocations: 33.89 kB / 1.122 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/1.13, allocations: 4 kB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.13, allocations: 0 / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.13, allocations: 4 kB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/1.131, allocations: 262 kB / 1.122 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.131, allocations: 3.75 kB / 1.122 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/1.131, allocations: 4 kB / 1.122 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/1.131, allocations: 4 kB / 1.122 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/1.131, allocations: 8.078 kB / 1.122 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/1.131, allocations: 0.8125 kB / 1.122 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.131, allocations: 0 / 1.122 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008089/1.132, allocations: 374.9 kB / 1.122 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008897/1.133, allocations: 0.7381 MB / 1.123 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/1.133, allocations: 112.7 kB / 1.123 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/1.133, allocations: 4 kB / 1.123 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/1.133, allocations: 9.234 kB / 1.123 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/1.133, allocations: 19.92 kB / 1.123 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/1.133, allocations: 12 kB / 1.123 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004783/1.134, allocations: 279 kB / 1.123 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001542/1.135, allocations: 79.84 kB / 1.123 GB, free: 7.988 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0003155/1.136, allocations: 139.2 kB / 1.123 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006745/1.136, allocations: 244 kB / 1.124 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.136, allocations: 0 / 1.124 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003242/1.137, allocations: 144.7 kB / 1.124 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/1.137, allocations: 24.64 kB / 1.124 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/1.138, allocations: 455.4 kB / 1.124 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/1.139, allocations: 0.7943 MB / 1.125 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of SimCode: time 9.91e-07/1.139, allocations: 0 / 1.125 GB, free: 6.152 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)