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.TimeTableNegativeStartTime.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.TimeTableNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.351/1.351, allocations: 285.5 MB / 292.8 MB, free: 9.941 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.0009907/0.0009907, allocations: 184.4 kB / 361.1 MB, free: 344 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.015/1.015, allocations: 205.1 MB / 0.6195 GB, free: 2.84 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007913/0.0007913, allocations: 90.39 kB / 0.7326 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3543/0.3552, allocations: 121.5 MB / 0.8512 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.5014, allocations: 115.3 MB / 0.9638 GB, free: 56.21 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4173/0.9188, allocations: 137.6 MB / 1.098 GB, free: 44.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/0.919, allocations: 71.33 kB / 1.098 GB, free: 44.36 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.1069/1.026, allocations: 45.32 MB / 1.142 GB, free: 40.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/1.026, allocations: 7.844 kB / 1.142 GB, free: 40.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/1.026, allocations: 54.28 kB / 1.143 GB, free: 40.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/1.027, allocations: 0.5386 MB / 1.143 GB, free: 40.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/1.027, allocations: 3.875 kB / 1.143 GB, free: 40.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.804e-05/1.027, allocations: 23.34 kB / 1.143 GB, free: 40.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002574/1.027, allocations: 223.7 kB / 1.143 GB, free: 40.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/1.028, allocations: 310.8 kB / 1.144 GB, free: 40.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/1.028, allocations: 4 kB / 1.144 GB, free: 40.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/1.028, allocations: 3.969 kB / 1.144 GB, free: 40.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/1.028, allocations: 3.906 kB / 1.144 GB, free: 40.22 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/1.029, allocations: 1.122 MB / 1.145 GB, free: 39.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/1.029, allocations: 470.1 kB / 1.145 GB, free: 39.72 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/1.029, allocations: 181.1 kB / 1.145 GB, free: 39.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/1.029, allocations: 3.906 kB / 1.145 GB, free: 39.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/1.03, allocations: 273.3 kB / 1.146 GB, free: 39.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=24): time 1.452e-06/1.03, allocations: 0 / 1.146 GB, free: 39.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.0005544/1.03, allocations: 392.3 kB / 1.146 GB, free: 39.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/1.03, allocations: 116.3 kB / 1.146 GB, free: 39.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/1.031, allocations: 0.5169 MB / 1.147 GB, free: 39.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/1.031, allocations: 33.61 kB / 1.147 GB, free: 39.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/1.031, allocations: 160.9 kB / 1.147 GB, free: 39.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/1.031, allocations: 53.86 kB / 1.147 GB, free: 39.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/1.031, allocations: 0 / 1.147 GB, free: 39.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/1.031, allocations: 362 kB / 1.147 GB, free: 38.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/1.031, allocations: 125.1 kB / 1.147 GB, free: 38.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/1.032, allocations: 0.6933 MB / 1.148 GB, free: 38.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/1.032, allocations: 215.9 kB / 1.148 GB, free: 38.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.032, allocations: 0 / 1.148 GB, free: 38.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006759/1.033, allocations: 435.5 kB / 1.149 GB, free: 38.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/1.033, allocations: 3.906 kB / 1.149 GB, free: 38.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.033, allocations: 3.906 kB / 1.149 GB, free: 38.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/1.033, allocations: 3.938 kB / 1.149 GB, free: 38.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/1.033, allocations: 38.17 kB / 1.149 GB, free: 38.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.033, allocations: 11.7 kB / 1.149 GB, free: 38.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/1.034, allocations: 91.05 kB / 1.149 GB, free: 38.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/1.034, allocations: 15.38 kB / 1.149 GB, free: 38.2 MB / 0.7136 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.0001158/1.034, allocations: 154.7 kB / 1.149 GB, free: 38.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/1.034, allocations: 39 kB / 1.149 GB, free: 38.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.309e-05/1.034, allocations: 56.53 kB / 1.149 GB, free: 38.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.034, allocations: 7.906 kB / 1.149 GB, free: 38.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.034, allocations: 0 / 1.149 GB, free: 38.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.034, allocations: 3.906 kB / 1.149 GB, free: 38.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/1.035, allocations: 369.4 kB / 1.149 GB, free: 37.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.035, allocations: 0 / 1.149 GB, free: 37.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/1.035, allocations: 5.688 kB / 1.149 GB, free: 37.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/1.035, allocations: 0 / 1.149 GB, free: 37.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/1.035, allocations: 10.17 kB / 1.149 GB, free: 37.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.035, allocations: 7.812 kB / 1.149 GB, free: 37.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.035, allocations: 6 kB / 1.149 GB, free: 37.86 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004311/1.035, allocations: 443.8 kB / 1.15 GB, free: 37.72 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005102/1.036, allocations: 0.8214 MB / 1.151 GB, free: 53.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/1.036, allocations: 137.2 kB / 1.151 GB, free: 53.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/1.036, allocations: 5.719 kB / 1.151 GB, free: 53.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/1.036, allocations: 17.48 kB / 1.151 GB, free: 53.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/1.036, allocations: 32.56 kB / 1.151 GB, free: 53.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/1.036, allocations: 13.52 kB / 1.151 GB, free: 53.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003276/1.036, allocations: 411 kB / 1.151 GB, free: 52.99 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001041/1.037, allocations: 112 kB / 1.151 GB, free: 52.98 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: 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.000191/1.038, allocations: 151.3 kB / 1.151 GB, free: 52.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003795/1.038, allocations: 350 kB / 1.152 GB, free: 52.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.038, allocations: 0 / 1.152 GB, free: 52.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/1.038, allocations: 190.6 kB / 1.152 GB, free: 52.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/1.038, allocations: 30.34 kB / 1.152 GB, free: 52.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008419/1.039, allocations: 0.6616 MB / 1.153 GB, free: 52.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/1.04, allocations: 0.8862 MB / 1.153 GB, free: 51.96 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.04, allocations: 0 / 1.153 GB, free: 51.96 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)