Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",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.1.4-maint.8.1.x/package.mo): time 1.4/1.4, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.001148/0.001148, allocations: 177.3 kB / 366.3 MB, free: 1.996 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.044/1.044, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0008283/0.0008283, allocations: 85.72 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.188/0.1889, allocations: 122.5 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.6082, allocations: 116.3 MB / 0.9727 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.7426, allocations: 138.2 MB / 1.108 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001642/0.7428, allocations: 75.89 kB / 1.108 GB, free: 10.17 MB / 0.7136 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.05847/0.8013, allocations: 21.01 MB / 1.128 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.8014, allocations: 8 kB / 1.128 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.027e-05/0.8015, allocations: 31.72 kB / 1.128 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.802, allocations: 375.4 kB / 1.129 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.802, allocations: 7.984 kB / 1.129 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.8021, allocations: 19.91 kB / 1.129 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001637/0.8022, allocations: 107.9 kB / 1.129 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.8025, allocations: 200 kB / 1.129 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.8025, allocations: 7.984 kB / 1.129 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.8025, allocations: 2.25 kB / 1.129 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8026, allocations: 4 kB / 1.129 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.8029, allocations: 359.6 kB / 1.129 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.8033, allocations: 319.8 kB / 1.13 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.8034, allocations: 126.6 kB / 1.13 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.8035, allocations: 7.984 kB / 1.13 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.8037, allocations: 227 kB / 1.13 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.8037, allocations: 0 / 1.13 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0005061/0.8042, allocations: 309.1 kB / 1.13 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.8043, allocations: 114.8 kB / 1.13 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.8046, allocations: 343.5 kB / 1.131 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.8047, allocations: 29.7 kB / 1.131 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.8048, allocations: 117.5 kB / 1.131 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.8048, allocations: 43.45 kB / 1.131 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.8049, allocations: 4 kB / 1.131 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.805, allocations: 342.8 kB / 1.131 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.8051, allocations: 83.97 kB / 1.131 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.8055, allocations: 457.8 kB / 1.132 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.8059, allocations: 165.3 kB / 1.132 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8059, allocations: 4 kB / 1.132 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000644/0.8066, allocations: 340.9 kB / 1.132 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.8066, allocations: 4 kB / 1.132 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8066, allocations: 4 kB / 1.132 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.8066, allocations: 8 kB / 1.132 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.8068, allocations: 33.23 kB / 1.132 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.8068, allocations: 7.906 kB / 1.132 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/0.8074, allocations: 48.41 kB / 1.132 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.8074, allocations: 15.91 kB / 1.132 GB, free: 0.5586 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.0001137/0.8076, allocations: 127.1 kB / 1.132 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.8076, allocations: 27.62 kB / 1.132 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.375e-05/0.8077, allocations: 37.89 kB / 1.133 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8077, allocations: 4 kB / 1.133 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.8077, allocations: 0 / 1.133 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.8077, allocations: 4 kB / 1.133 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.808, allocations: 262 kB / 1.133 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.808, allocations: 0 / 1.133 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.808, allocations: 7.938 kB / 1.133 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.808, allocations: 128 / 1.133 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.808, allocations: 12.73 kB / 1.133 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.808, allocations: 0 / 1.133 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.808, allocations: 4 kB / 1.133 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004323/0.8085, allocations: 364.1 kB / 1.133 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000504/0.809, allocations: 0.7428 MB / 1.134 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.8091, allocations: 116.7 kB / 1.134 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.8091, allocations: 0 / 1.134 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.8092, allocations: 7.984 kB / 1.134 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.8093, allocations: 17.3 kB / 1.134 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.8093, allocations: 19.98 kB / 1.134 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002296/0.8096, allocations: 275.1 kB / 1.134 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008945/0.8105, allocations: 87.83 kB / 1.134 GB, free: 14.34 MB / 0.7448 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.000186/0.8106, allocations: 139.1 kB / 1.135 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.811, allocations: 244.6 kB / 1.135 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.811, allocations: 192 / 1.135 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.8111, allocations: 139.9 kB / 1.135 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.8113, allocations: 22.05 kB / 1.135 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.812, allocations: 462.5 kB / 1.135 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.8123, allocations: 0.7943 MB / 1.136 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of SimCode: time 2.61e-07/0.8123, allocations: 4 kB / 1.136 GB, free: 12.5 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)