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.TimeTable.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.TimeTable,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",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.248/2.248, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.001618/0.001618, allocations: 181.2 kB / 315.1 MB, free: 4.27 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.039/2.039, allocations: 205.1 MB / 0.5658 GB, free: 384 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.001615/0.001614, allocations: 94.72 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5141/0.5158, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.7468, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7146/1.461, allocations: 135.2 MB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004608/1.462, allocations: 76.58 kB / 1.016 GB, free: 5.027 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.1542/1.616, allocations: 22.81 MB / 1.038 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/1.616, allocations: 8 kB / 1.038 GB, free: 1.863 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005157/1.617, allocations: 71.14 kB / 1.038 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004053/1.621, allocations: 0.6427 MB / 1.039 GB, free: 1.199 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/1.621, allocations: 11.78 kB / 1.039 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/1.621, allocations: 8 kB / 1.039 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003574/1.621, allocations: 98.7 kB / 1.039 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/1.622, allocations: 194 kB / 1.039 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.622, allocations: 0 / 1.039 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/1.622, allocations: 0 / 1.039 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/1.622, allocations: 7.938 kB / 1.039 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/1.624, allocations: 1.041 MB / 1.04 GB, free: 0 / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/1.625, allocations: 255.2 kB / 1.04 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/1.625, allocations: 94.5 kB / 1.04 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/1.625, allocations: 8 kB / 1.04 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/1.626, allocations: 193.5 kB / 1.04 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 2.635e-06/1.626, allocations: 4 kB / 1.04 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.001014/1.627, allocations: 292.4 kB / 1.041 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/1.627, allocations: 154.2 kB / 1.041 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/1.629, allocations: 0.8761 MB / 1.042 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/1.629, allocations: 33.64 kB / 1.042 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/1.629, allocations: 165.2 kB / 1.042 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/1.629, allocations: 73.41 kB / 1.042 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/1.629, allocations: 0 / 1.042 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002279/1.63, allocations: 393.3 kB / 1.042 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006515/1.63, allocations: 234.5 kB / 1.043 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/1.631, allocations: 320.2 kB / 1.043 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007263/1.632, allocations: 263.9 kB / 1.043 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.632, allocations: 0 / 1.043 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002004/1.634, allocations: 0.6885 MB / 1.044 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.634, allocations: 8 kB / 1.044 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.634, allocations: 0 / 1.044 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/1.634, allocations: 12.16 kB / 1.044 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008724/1.635, allocations: 117.9 kB / 1.044 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.635, allocations: 4 kB / 1.044 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/1.636, allocations: 31.67 kB / 1.044 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/1.636, allocations: 34.86 kB / 1.044 GB, free: 12.5 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.0002385/1.636, allocations: 128.2 kB / 1.044 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/1.636, allocations: 79.05 kB / 1.044 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/1.637, allocations: 325.5 kB / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/1.637, allocations: 4 kB / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.637, allocations: 0 / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/1.637, allocations: 11.89 kB / 1.044 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007443/1.638, allocations: 441.4 kB / 1.045 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.638, allocations: 0 / 1.045 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/1.638, allocations: 35.61 kB / 1.045 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/1.638, allocations: 11.94 kB / 1.045 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/1.638, allocations: 4 kB / 1.045 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/1.638, allocations: 3.938 kB / 1.045 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.638, allocations: 4 kB / 1.045 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008692/1.639, allocations: 403.4 kB / 1.045 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001002/1.64, allocations: 0.7732 MB / 1.046 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/1.641, allocations: 174.8 kB / 1.046 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/1.641, allocations: 7.312 kB / 1.046 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/1.641, allocations: 15.98 kB / 1.046 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/1.641, allocations: 23.34 kB / 1.046 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/1.641, allocations: 15.48 kB / 1.046 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001485/1.643, allocations: 0.5512 MB / 1.047 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001745/1.645, allocations: 123.1 kB / 1.047 GB, free: 9.672 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.001116/1.646, allocations: 358.2 kB / 1.047 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001199/1.647, allocations: 388.2 kB / 1.048 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.647, allocations: 0 / 1.048 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003122/1.647, allocations: 108.9 kB / 1.048 GB, free: 9.07 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.649, allocations: 190.2 kB / 1.048 GB, free: 8.922 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/1.652, allocations: 0.8856 MB / 1.049 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.653, allocations: 0.9995 MB / 1.05 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of SimCode: time 1.272e-06/1.653, allocations: 3.938 kB / 1.05 GB, free: 7.105 MB / 0.6667 GB