Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_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.377/1.377, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.0009956/0.0009956, allocations: 177.3 kB / 366.3 MB, free: 1.961 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.054/1.054, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0008529/0.0008529, allocations: 79.34 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2054/0.2063, allocations: 122.5 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.6624, allocations: 116.3 MB / 0.9727 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.8058, allocations: 138.6 MB / 1.108 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.8061, allocations: 71.94 kB / 1.108 GB, free: 9.801 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.1262/0.9323, allocations: 45.33 MB / 1.152 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.9324, allocations: 8 kB / 1.152 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/0.9327, allocations: 63.42 kB / 1.152 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009847/0.9337, allocations: 0.5288 MB / 1.153 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.9337, allocations: 4 kB / 1.153 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.9339, allocations: 32.55 kB / 1.153 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003518/0.9343, allocations: 220.4 kB / 1.153 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.9347, allocations: 305.4 kB / 1.153 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9347, allocations: 3.906 kB / 1.153 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.9348, allocations: 0 / 1.153 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.9348, allocations: 4 kB / 1.153 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.9365, allocations: 1.127 MB / 1.155 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005967/0.9371, allocations: 464.1 kB / 1.155 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.9373, allocations: 186.7 kB / 1.155 GB, free: 9.324 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.9373, allocations: 7.938 kB / 1.155 GB, free: 9.316 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003352/0.9377, allocations: 267 kB / 1.155 GB, free: 9.035 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=24): time 2.244e-06/0.9377, allocations: 0 / 1.155 GB, free: 9.035 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24): time 0.0007557/0.9384, allocations: 393.4 kB / 1.156 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.9385, allocations: 114.8 kB / 1.156 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/0.9391, allocations: 0.5205 MB / 1.156 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.805e-05/0.9392, allocations: 37.7 kB / 1.156 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.9393, allocations: 161.4 kB / 1.157 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.9394, allocations: 47.42 kB / 1.157 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/0.9394, allocations: 0 / 1.157 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.9395, allocations: 358.8 kB / 1.157 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.9397, allocations: 124 kB / 1.157 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/0.9404, allocations: 0.7006 MB / 1.158 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/0.9409, allocations: 213.4 kB / 1.158 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9409, allocations: 4 kB / 1.158 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009303/0.9419, allocations: 428.7 kB / 1.158 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.9419, allocations: 8 kB / 1.158 GB, free: 5.707 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.9419, allocations: 384 / 1.158 GB, free: 5.707 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.9419, allocations: 12 kB / 1.158 GB, free: 5.695 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.9421, allocations: 34.17 kB / 1.158 GB, free: 5.664 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.9421, allocations: 9.234 kB / 1.158 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.9433, allocations: 88.12 kB / 1.159 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.9434, allocations: 16 kB / 1.159 GB, free: 5.555 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.0001582/0.9435, allocations: 145.8 kB / 1.159 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.9436, allocations: 47.52 kB / 1.159 GB, free: 5.363 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.838e-05/0.9437, allocations: 47.38 kB / 1.159 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.9437, allocations: 3.906 kB / 1.159 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.9437, allocations: 4 kB / 1.159 GB, free: 5.312 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9437, allocations: 3.984 kB / 1.159 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.9441, allocations: 373.9 kB / 1.159 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.9441, allocations: 4.062 kB / 1.159 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.9441, allocations: 7.984 kB / 1.159 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.9441, allocations: 0 / 1.159 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.9441, allocations: 11.89 kB / 1.159 GB, free: 4.883 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.9442, allocations: 15.88 kB / 1.159 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9442, allocations: 0 / 1.159 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005452/0.9447, allocations: 439.8 kB / 1.16 GB, free: 4.402 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006278/0.9454, allocations: 0.8154 MB / 1.16 GB, free: 3.547 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.9455, allocations: 144.5 kB / 1.161 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/0.9456, allocations: 0 / 1.161 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.9457, allocations: 19.98 kB / 1.161 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.9458, allocations: 31.95 kB / 1.161 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.9459, allocations: 12 kB / 1.161 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.000417/0.9463, allocations: 407.1 kB / 1.161 GB, free: 2.922 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001162/0.9475, allocations: 115.8 kB / 1.161 GB, free: 2.809 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.0002547/0.9477, allocations: 157.7 kB / 1.161 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004773/0.9482, allocations: 343.9 kB / 1.162 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9482, allocations: 0 / 1.162 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.9484, allocations: 189.7 kB / 1.162 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.9487, allocations: 32.78 kB / 1.162 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.9499, allocations: 0.6679 MB / 1.162 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.9504, allocations: 0.8773 MB / 1.163 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of SimCode: time 2.61e-07/0.9504, allocations: 0 / 1.163 GB, free: 0.5 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)