Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.819/1.819, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009376/0.0009378, allocations: 189.2 kB / 490.8 MB, free: 1.922 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.141/1.141, allocations: 221.3 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008648/0.0008648, allocations: 94.53 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4289/0.4297, allocations: 149.2 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.6164, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5011/1.118, allocations: 149.3 MB / 1.358 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/1.118, allocations: 73.94 kB / 1.358 GB, free: 17.25 MB / 0.823 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.05842/1.176, allocations: 21.16 MB / 1.378 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/1.176, allocations: 9.188 kB / 1.378 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/1.176, allocations: 37.55 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/1.177, allocations: 373.4 kB / 1.379 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/1.177, allocations: 1.406 kB / 1.379 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/1.177, allocations: 15.53 kB / 1.379 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001722/1.177, allocations: 113.8 kB / 1.379 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/1.177, allocations: 201.8 kB / 1.379 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/1.177, allocations: 1.031 kB / 1.379 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/1.178, allocations: 12.7 kB / 1.379 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/1.178, allocations: 0.9375 kB / 1.379 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/1.178, allocations: 359 kB / 1.379 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/1.178, allocations: 326.2 kB / 1.38 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/1.178, allocations: 132.8 kB / 1.38 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/1.178, allocations: 1.188 kB / 1.38 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/1.179, allocations: 229.2 kB / 1.38 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.562e-06/1.179, allocations: 4 kB / 1.38 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0005857/1.179, allocations: 305.8 kB / 1.38 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.179, allocations: 112.9 kB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/1.18, allocations: 345.9 kB / 1.381 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/1.18, allocations: 34.94 kB / 1.381 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/1.18, allocations: 109.6 kB / 1.381 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/1.18, allocations: 45.7 kB / 1.381 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/1.18, allocations: 1.406 kB / 1.381 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.18, allocations: 347.9 kB / 1.381 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/1.18, allocations: 81.47 kB / 1.381 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/1.181, allocations: 460.5 kB / 1.382 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/1.181, allocations: 167.7 kB / 1.382 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.181, allocations: 1 kB / 1.382 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007395/1.182, allocations: 341.6 kB / 1.382 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.182, allocations: 5 kB / 1.382 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.182, allocations: 3.312 kB / 1.382 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/1.182, allocations: 10.03 kB / 1.382 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/1.182, allocations: 33.02 kB / 1.382 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.182, allocations: 5.062 kB / 1.382 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/1.183, allocations: 47 kB / 1.382 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/1.183, allocations: 14.34 kB / 1.382 GB, free: 28.69 MB / 0.8386 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.0001503/1.183, allocations: 128.1 kB / 1.382 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/1.183, allocations: 28.86 kB / 1.383 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.72e-05/1.183, allocations: 37.17 kB / 1.383 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.183, allocations: 5.875 kB / 1.383 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.183, allocations: 1.469 kB / 1.383 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.183, allocations: 4.969 kB / 1.383 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/1.183, allocations: 256.5 kB / 1.383 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.183, allocations: 1.031 kB / 1.383 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/1.183, allocations: 7.125 kB / 1.383 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.183, allocations: 4.875 kB / 1.383 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/1.184, allocations: 12.89 kB / 1.383 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.184, allocations: 1.031 kB / 1.383 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.184, allocations: 1 kB / 1.383 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004626/1.184, allocations: 360.8 kB / 1.383 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005148/1.185, allocations: 0.7424 MB / 1.384 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/1.185, allocations: 115.4 kB / 1.384 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/1.185, allocations: 1.344 kB / 1.384 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.745e-05/1.185, allocations: 1.344 kB / 1.384 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/1.185, allocations: 17.53 kB / 1.384 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/1.185, allocations: 15.06 kB / 1.384 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002919/1.185, allocations: 278.5 kB / 1.384 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001009/1.186, allocations: 82.25 kB / 1.384 GB, free: 27.35 MB / 0.8386 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.0002225/1.186, allocations: 151.5 kB / 1.385 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000358/1.187, allocations: 240 kB / 1.385 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.187, allocations: 0.8125 kB / 1.385 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/1.187, allocations: 145.5 kB / 1.385 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/1.187, allocations: 20.48 kB / 1.385 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/1.188, allocations: 464.2 kB / 1.385 GB, free: 27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/1.188, allocations: 0.7944 MB / 1.386 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.188, allocations: 4 kB / 1.386 GB, free: 26.26 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)