Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_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.868/1.868, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009151/0.0009151, allocations: 181.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.133/1.133, allocations: 221.4 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.0008132/0.0008131, allocations: 85.3 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.417/0.4178, allocations: 149.2 MB / 1.072 GB, free: 182.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.6053, allocations: 143 MB / 1.212 GB, free: 39.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5135/1.119, allocations: 153.2 MB / 1.361 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/1.119, allocations: 78.69 kB / 1.361 GB, free: 17.29 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.05598/1.175, allocations: 23.87 MB / 1.385 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/1.175, allocations: 8.5 kB / 1.385 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/1.175, allocations: 72.97 kB / 1.385 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/1.176, allocations: 0.6899 MB / 1.385 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/1.176, allocations: 7.25 kB / 1.385 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/1.176, allocations: 17.05 kB / 1.385 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001727/1.177, allocations: 92.38 kB / 1.386 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/1.177, allocations: 190.2 kB / 1.386 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.177, allocations: 0 / 1.386 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/1.177, allocations: 5.297 kB / 1.386 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.177, allocations: 3.969 kB / 1.386 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/1.178, allocations: 1.068 MB / 1.387 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/1.178, allocations: 250.3 kB / 1.387 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/1.178, allocations: 104.5 kB / 1.387 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/1.178, allocations: 5.875 kB / 1.387 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/1.179, allocations: 200.4 kB / 1.387 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/1.179, allocations: 0 / 1.387 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0004758/1.179, allocations: 290.5 kB / 1.388 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/1.179, allocations: 160.2 kB / 1.388 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/1.18, allocations: 0.9114 MB / 1.389 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/1.18, allocations: 31.86 kB / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/1.18, allocations: 176.2 kB / 1.389 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/1.181, allocations: 73.81 kB / 1.389 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/1.181, allocations: 4.969 kB / 1.389 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.181, allocations: 330 kB / 1.389 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/1.181, allocations: 229.3 kB / 1.389 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/1.181, allocations: 327.7 kB / 1.39 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/1.182, allocations: 311.3 kB / 1.39 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.182, allocations: 1 kB / 1.39 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001274/1.183, allocations: 0.7548 MB / 1.391 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.183, allocations: 13.47 kB / 1.391 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.183, allocations: 2.438 kB / 1.391 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.183, allocations: 4.719 kB / 1.391 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/1.184, allocations: 116.6 kB / 1.391 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.184, allocations: 4.406 kB / 1.391 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/1.184, allocations: 33.86 kB / 1.391 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/1.184, allocations: 35.8 kB / 1.391 GB, free: 25.54 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0001093/1.184, allocations: 135.3 kB / 1.391 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.485e-05/1.184, allocations: 72.16 kB / 1.391 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/1.185, allocations: 325.7 kB / 1.391 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/1.185, allocations: 9 kB / 1.392 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.185, allocations: 4.875 kB / 1.392 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.185, allocations: 5.828 kB / 1.392 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/1.185, allocations: 447.7 kB / 1.392 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/1.185, allocations: 1.219 kB / 1.392 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/1.186, allocations: 33.86 kB / 1.392 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.186, allocations: 2.562 kB / 1.392 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/1.186, allocations: 8.328 kB / 1.392 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.186, allocations: 2.031 kB / 1.392 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.186, allocations: 2.219 kB / 1.392 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004338/1.186, allocations: 404.3 kB / 1.392 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005064/1.187, allocations: 0.7751 MB / 1.393 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/1.187, allocations: 174.5 kB / 1.393 GB, free: 24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/1.187, allocations: 12.38 kB / 1.393 GB, free: 24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/1.187, allocations: 22.25 kB / 1.393 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/1.187, allocations: 28.69 kB / 1.393 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/1.187, allocations: 16.47 kB / 1.393 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005973/1.188, allocations: 0.5742 MB / 1.394 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001038/1.189, allocations: 133.6 kB / 1.394 GB, free: 23.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0006606/1.189, allocations: 387.1 kB / 1.394 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004939/1.19, allocations: 392.5 kB / 1.395 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.19, allocations: 0 / 1.395 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/1.19, allocations: 114.5 kB / 1.395 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/1.191, allocations: 190.3 kB / 1.395 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/1.192, allocations: 0.8873 MB / 1.396 GB, free: 23.13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/1.193, allocations: 1.007 MB / 1.397 GB, free: 22.31 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.193, allocations: 4 kB / 1.397 GB, free: 22.31 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)