Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_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.1-maint.8.0.x/package.mo): time 1.299/1.299, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009153/0.0009153, allocations: 179.4 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9969/0.9969, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007758/0.0007758, allocations: 89.81 kB / 0.7325 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1748/0.1756, allocations: 121.5 MB / 0.8512 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.5924, allocations: 115.3 MB / 0.9638 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.7224, allocations: 137.6 MB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.7226, allocations: 72.7 kB / 1.098 GB, free: 2.285 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.1252/0.8478, allocations: 45.34 MB / 1.142 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.8478, allocations: 8 kB / 1.142 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.848, allocations: 55.44 kB / 1.143 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008679/0.8489, allocations: 0.5295 MB / 1.143 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.8489, allocations: 7.984 kB / 1.143 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.972e-05/0.849, allocations: 28 kB / 1.143 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003219/0.8493, allocations: 224.3 kB / 1.143 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.8497, allocations: 297.5 kB / 1.144 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8498, allocations: 7.844 kB / 1.144 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.8498, allocations: 4 kB / 1.144 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.8498, allocations: 4 kB / 1.144 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.8515, allocations: 1.118 MB / 1.145 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.8521, allocations: 472.1 kB / 1.145 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.8523, allocations: 182.7 kB / 1.145 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.8523, allocations: 0 / 1.145 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/0.8527, allocations: 276 kB / 1.146 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.8527, allocations: 0 / 1.146 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.0006547/0.8533, allocations: 394 kB / 1.146 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.8534, allocations: 114.8 kB / 1.146 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005837/0.854, allocations: 0.5166 MB / 1.147 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-05/0.8541, allocations: 45.69 kB / 1.147 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.8542, allocations: 151 kB / 1.147 GB, free: 452 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.8543, allocations: 47.36 kB / 1.147 GB, free: 404 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/0.8543, allocations: 0 / 1.147 GB, free: 404 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8544, allocations: 362.8 kB / 1.147 GB, free: 32 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.8546, allocations: 127.2 kB / 1.147 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.8553, allocations: 0.7007 MB / 1.148 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.8558, allocations: 203.6 kB / 1.148 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8558, allocations: 4 kB / 1.148 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008275/0.8566, allocations: 436.6 kB / 1.149 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.8566, allocations: 4 kB / 1.149 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8567, allocations: 4 kB / 1.149 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8567, allocations: 11.94 kB / 1.149 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.8568, allocations: 32.28 kB / 1.149 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.8569, allocations: 12 kB / 1.149 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.858, allocations: 88.69 kB / 1.149 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.858, allocations: 16 kB / 1.149 GB, free: 14.23 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001528/0.8582, allocations: 145.1 kB / 1.149 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.8583, allocations: 36.47 kB / 1.149 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.63e-05/0.8584, allocations: 51.38 kB / 1.149 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.8584, allocations: 11.89 kB / 1.149 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8584, allocations: 7.688 kB / 1.149 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.8584, allocations: 7.984 kB / 1.149 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.8587, allocations: 369.9 kB / 1.149 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.8587, allocations: 4 kB / 1.149 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.8588, allocations: 4.75 kB / 1.149 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.8588, allocations: 0 / 1.149 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.8588, allocations: 11.89 kB / 1.149 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.8588, allocations: 0 / 1.149 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.8588, allocations: 4 kB / 1.149 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005549/0.8594, allocations: 448.1 kB / 1.15 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006467/0.86, allocations: 0.8155 MB / 1.151 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.8602, allocations: 144.5 kB / 1.151 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.269e-05/0.8603, allocations: 4 kB / 1.151 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.8604, allocations: 19.98 kB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.8605, allocations: 32.58 kB / 1.151 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.8605, allocations: 12 kB / 1.151 GB, free: 12 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0004616/0.861, allocations: 411.1 kB / 1.151 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00103/0.862, allocations: 115.8 kB / 1.151 GB, free: 11.48 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002395/0.8623, allocations: 145.5 kB / 1.151 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004774/0.8628, allocations: 348 kB / 1.152 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.8628, allocations: 3.938 kB / 1.152 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.863, allocations: 187.8 kB / 1.152 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.8632, allocations: 32.55 kB / 1.152 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.8643, allocations: 0.6659 MB / 1.153 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.8648, allocations: 0.8836 MB / 1.153 GB, free: 9.176 MB / 0.7605 GB Notification: Performance of SimCode: time 2.3e-07/0.8648, allocations: 0 / 1.153 GB, free: 9.176 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)