Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.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.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.194/2.194, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001601/0.001601, allocations: 187.5 kB / 360.3 MB, free: 7.559 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.673/1.673, allocations: 205.1 MB / 0.6187 GB, free: 13.26 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.001248/0.001247, allocations: 84.67 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.245/0.2463, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/0.7997, allocations: 115.2 MB / 0.9628 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.205/1.005, allocations: 137.4 MB / 1.097 GB, free: 3.488 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.005, allocations: 76.83 kB / 1.097 GB, free: 3.414 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.2338/1.239, allocations: 45.33 MB / 1.141 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.239, allocations: 12.48 kB / 1.141 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/1.239, allocations: 56.38 kB / 1.141 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/1.241, allocations: 0.5327 MB / 1.142 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/1.241, allocations: 7.984 kB / 1.142 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/1.241, allocations: 33.88 kB / 1.142 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006051/1.241, allocations: 216.4 kB / 1.142 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/1.242, allocations: 309.4 kB / 1.142 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.242, allocations: 7.891 kB / 1.142 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/1.242, allocations: 0 / 1.142 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/1.242, allocations: 4 kB / 1.142 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/1.245, allocations: 1.122 MB / 1.144 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/1.246, allocations: 469.3 kB / 1.144 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/1.247, allocations: 182.7 kB / 1.144 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/1.247, allocations: 0 / 1.144 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000619/1.247, allocations: 274.6 kB / 1.144 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 2.104e-06/1.247, allocations: 3.938 kB / 1.144 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.001208/1.249, allocations: 386.8 kB / 1.145 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/1.249, allocations: 122.8 kB / 1.145 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/1.25, allocations: 0.5166 MB / 1.145 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/1.25, allocations: 33.7 kB / 1.145 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/1.25, allocations: 150.7 kB / 1.146 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/1.25, allocations: 51.34 kB / 1.146 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/1.25, allocations: 0 / 1.146 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002062/1.251, allocations: 366.7 kB / 1.146 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/1.251, allocations: 124 kB / 1.146 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/1.252, allocations: 0.6998 MB / 1.147 GB, free: 156 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000949/1.253, allocations: 211.4 kB / 1.147 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.253, allocations: 8 kB / 1.147 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0015/1.255, allocations: 426.4 kB / 1.147 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.255, allocations: 4 kB / 1.147 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.255, allocations: 5.312 kB / 1.147 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/1.255, allocations: 12 kB / 1.147 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/1.255, allocations: 38.25 kB / 1.147 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/1.255, allocations: 11.94 kB / 1.147 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/1.257, allocations: 88.12 kB / 1.148 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/1.257, allocations: 12 kB / 1.148 GB, free: 15.36 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.0002836/1.258, allocations: 157.8 kB / 1.148 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-05/1.258, allocations: 39.53 kB / 1.148 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/1.258, allocations: 47.38 kB / 1.148 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/1.258, allocations: 7.906 kB / 1.148 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.258, allocations: 0 / 1.148 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/1.258, allocations: 7.984 kB / 1.148 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/1.259, allocations: 365.9 kB / 1.148 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.259, allocations: 4 kB / 1.148 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/1.259, allocations: 9.75 kB / 1.148 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/1.259, allocations: 0 / 1.148 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/1.259, allocations: 15.89 kB / 1.148 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.259, allocations: 4 kB / 1.148 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.259, allocations: 7.938 kB / 1.148 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009151/1.26, allocations: 435.2 kB / 1.149 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001046/1.261, allocations: 0.8164 MB / 1.149 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/1.261, allocations: 140.5 kB / 1.15 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/1.261, allocations: 4 kB / 1.15 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/1.261, allocations: 19.98 kB / 1.15 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.261, allocations: 31.95 kB / 1.15 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/1.261, allocations: 17.06 kB / 1.15 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0008251/1.262, allocations: 407.1 kB / 1.15 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001639/1.264, allocations: 111.8 kB / 1.15 GB, free: 12.61 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.0003475/1.264, allocations: 153.7 kB / 1.15 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009476/1.265, allocations: 344.5 kB / 1.151 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.265, allocations: 0 / 1.151 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000422/1.266, allocations: 187.9 kB / 1.151 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/1.266, allocations: 38.69 kB / 1.151 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/1.268, allocations: 0.6667 MB / 1.151 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007955/1.269, allocations: 0.8829 MB / 1.152 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of SimCode: time 9.92e-07/1.269, allocations: 1.219 kB / 1.152 GB, free: 10.3 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)