Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.306/1.306, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009046/0.0009046, allocations: 177.3 kB / 361.1 MB, free: 7.086 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.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007547/0.0007549, allocations: 94.14 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1706/0.1714, allocations: 121.5 MB / 0.8512 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.5815, allocations: 115.3 MB / 0.9638 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.7114, allocations: 137.3 MB / 1.098 GB, free: 2.711 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.7116, allocations: 72.61 kB / 1.098 GB, free: 2.641 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.05844/0.77, allocations: 21.01 MB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.7701, allocations: 12 kB / 1.118 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.7702, allocations: 27.72 kB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.7708, allocations: 379.3 kB / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.7708, allocations: 0 / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/0.7709, allocations: 27.66 kB / 1.119 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001779/0.7711, allocations: 119.9 kB / 1.119 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.7714, allocations: 188.1 kB / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.7714, allocations: 0 / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.7714, allocations: 4 kB / 1.119 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.7714, allocations: 1.938 kB / 1.119 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.7718, allocations: 359.6 kB / 1.119 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.7722, allocations: 327.8 kB / 1.12 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.7723, allocations: 126.6 kB / 1.12 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.7723, allocations: 4 kB / 1.12 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.7726, allocations: 225.7 kB / 1.12 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.7726, allocations: 0 / 1.12 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0005647/0.7732, allocations: 314.9 kB / 1.12 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.7733, allocations: 114.8 kB / 1.121 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.7736, allocations: 343.5 kB / 1.121 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.7737, allocations: 29.7 kB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.7737, allocations: 113.6 kB / 1.121 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.7738, allocations: 47.44 kB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.7738, allocations: 0 / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.7739, allocations: 338.8 kB / 1.121 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.774, allocations: 87.95 kB / 1.121 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.7744, allocations: 466.5 kB / 1.122 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.7748, allocations: 157.3 kB / 1.122 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7748, allocations: 8 kB / 1.122 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006403/0.7755, allocations: 334.5 kB / 1.122 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.7755, allocations: 4 kB / 1.122 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7755, allocations: 4.406 kB / 1.122 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7755, allocations: 12 kB / 1.122 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.7757, allocations: 31.91 kB / 1.122 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7757, allocations: 7.906 kB / 1.122 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/0.7763, allocations: 40.14 kB / 1.122 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.7764, allocations: 23.89 kB / 1.122 GB, free: 9.156 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.0001091/0.7765, allocations: 131.1 kB / 1.123 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.7765, allocations: 27.62 kB / 1.123 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.7766, allocations: 33.89 kB / 1.123 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.7766, allocations: 4 kB / 1.123 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7766, allocations: 0 / 1.123 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.7766, allocations: 3.984 kB / 1.123 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.7769, allocations: 258 kB / 1.123 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7769, allocations: 9.562 kB / 1.123 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/0.7769, allocations: 5.203 kB / 1.123 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.7769, allocations: 4 kB / 1.123 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.7769, allocations: 4 kB / 1.123 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7769, allocations: 0 / 1.123 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7769, allocations: 4 kB / 1.123 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004385/0.7774, allocations: 366.5 kB / 1.123 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000501/0.7779, allocations: 0.737 MB / 1.124 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/0.778, allocations: 116.7 kB / 1.124 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.778, allocations: 0 / 1.124 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.7781, allocations: 4 kB / 1.124 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.7782, allocations: 11.98 kB / 1.124 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.7782, allocations: 20.92 kB / 1.124 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002356/0.7785, allocations: 271.1 kB / 1.124 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000918/0.7794, allocations: 93.08 kB / 1.125 GB, free: 6.945 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.0002048/0.7796, allocations: 146.9 kB / 1.125 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.7799, allocations: 246.3 kB / 1.125 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.78, allocations: 0 / 1.125 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.7801, allocations: 145.6 kB / 1.125 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.7803, allocations: 17.56 kB / 1.125 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/0.781, allocations: 455.4 kB / 1.125 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/0.7814, allocations: 0.8086 MB / 1.126 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.7814, allocations: 0 / 1.126 GB, free: 5.098 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)