Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.244/2.244, allocations: 248.6 MB / 255.9 MB, free: 7.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001666/0.001666, allocations: 173.3 kB / 315.1 MB, free: 4.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.1 MB / 0.5658 GB, free: 336 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 83.34 kB / 0.67 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5317/0.5331, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.7754, allocations: 106.3 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7068/1.482, allocations: 135.2 MB / 1.016 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003877/1.483, allocations: 78.52 kB / 1.016 GB, free: 4.926 MB / 0.6355 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.1156/1.598, allocations: 22.8 MB / 1.038 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/1.598, allocations: 16 kB / 1.038 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/1.599, allocations: 67.16 kB / 1.038 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/1.602, allocations: 0.6344 MB / 1.039 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/1.602, allocations: 11.91 kB / 1.039 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/1.602, allocations: 11.98 kB / 1.039 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005399/1.603, allocations: 91.22 kB / 1.039 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008861/1.604, allocations: 190 kB / 1.039 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/1.604, allocations: 11.98 kB / 1.039 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/1.604, allocations: 0 / 1.039 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/1.604, allocations: 7.938 kB / 1.039 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/1.608, allocations: 1.036 MB / 1.04 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009661/1.609, allocations: 248.8 kB / 1.04 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/1.609, allocations: 101.3 kB / 1.04 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/1.609, allocations: 3.984 kB / 1.04 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005947/1.61, allocations: 198.8 kB / 1.04 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 6.131e-06/1.61, allocations: 0 / 1.04 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.001548/1.611, allocations: 282.5 kB / 1.041 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/1.612, allocations: 161.3 kB / 1.041 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/1.614, allocations: 0.8744 MB / 1.042 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-05/1.614, allocations: 28.83 kB / 1.042 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/1.614, allocations: 169.6 kB / 1.042 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/1.615, allocations: 77.02 kB / 1.042 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/1.615, allocations: 0 / 1.042 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002168/1.615, allocations: 393.6 kB / 1.042 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/1.616, allocations: 234.3 kB / 1.043 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007168/1.616, allocations: 326.4 kB / 1.043 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007378/1.617, allocations: 249.5 kB / 1.043 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/1.617, allocations: 4 kB / 1.043 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002088/1.619, allocations: 0.6896 MB / 1.044 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.619, allocations: 8.156 kB / 1.044 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/1.619, allocations: 4 kB / 1.044 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.619, allocations: 4 kB / 1.044 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000897/1.62, allocations: 118.4 kB / 1.044 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/1.62, allocations: 11.98 kB / 1.044 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007585/1.621, allocations: 31.67 kB / 1.044 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/1.621, allocations: 34.67 kB / 1.044 GB, free: 12.41 MB / 0.6667 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.0002172/1.621, allocations: 144.6 kB / 1.044 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/1.622, allocations: 71.06 kB / 1.044 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/1.623, allocations: 316.3 kB / 1.044 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.008e-06/1.623, allocations: 7.938 kB / 1.044 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/1.623, allocations: 0 / 1.044 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.623, allocations: 7.891 kB / 1.044 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007938/1.624, allocations: 441.3 kB / 1.045 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.624, allocations: 4 kB / 1.045 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/1.624, allocations: 31.92 kB / 1.045 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.624, allocations: 3.938 kB / 1.045 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/1.624, allocations: 7.984 kB / 1.045 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/1.624, allocations: 7.984 kB / 1.045 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.624, allocations: 0 / 1.045 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009362/1.625, allocations: 408.9 kB / 1.045 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001002/1.626, allocations: 0.7761 MB / 1.046 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/1.626, allocations: 164.7 kB / 1.046 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/1.626, allocations: 14.12 kB / 1.046 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/1.627, allocations: 15.98 kB / 1.046 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/1.627, allocations: 19.59 kB / 1.046 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/1.627, allocations: 15.98 kB / 1.046 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001169/1.628, allocations: 0.553 MB / 1.047 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001802/1.63, allocations: 127.1 kB / 1.047 GB, free: 9.582 MB / 0.6667 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.001253/1.631, allocations: 375 kB / 1.047 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001307/1.633, allocations: 378.7 kB / 1.048 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.633, allocations: 4.125 kB / 1.048 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/1.633, allocations: 111.7 kB / 1.048 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/1.635, allocations: 178.8 kB / 1.048 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/1.638, allocations: 0.8883 MB / 1.049 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.639, allocations: 0.9892 MB / 1.05 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of SimCode: time 1.613e-06/1.639, allocations: 3.938 kB / 1.05 GB, free: 7.02 MB / 0.6667 GB