Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.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.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.329/1.329, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0008931/0.0008931, allocations: 189.2 kB / 361.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9983/0.9983, allocations: 205.1 MB / 0.6195 GB, free: 11.95 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007221/0.0007221, allocations: 88.73 kB / 0.7326 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1743/0.175, allocations: 121.5 MB / 0.8512 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.5931, allocations: 115.3 MB / 0.9638 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.7291, allocations: 140.7 MB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.7293, allocations: 81.44 kB / 1.101 GB, free: 15.28 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.05632/0.7856, allocations: 23.27 MB / 1.124 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.7857, allocations: 12 kB / 1.124 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.7859, allocations: 71.06 kB / 1.124 GB, free: 8.008 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.7873, allocations: 0.6943 MB / 1.125 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.7873, allocations: 6.656 kB / 1.125 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.7873, allocations: 12 kB / 1.125 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001781/0.7875, allocations: 91.95 kB / 1.125 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.7878, allocations: 186.4 kB / 1.125 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7878, allocations: 3.938 kB / 1.125 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.7878, allocations: 3.938 kB / 1.125 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.7878, allocations: 8 kB / 1.125 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.789, allocations: 1.076 MB / 1.126 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.7893, allocations: 245.5 kB / 1.126 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.7894, allocations: 92.38 kB / 1.126 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.7894, allocations: 11.92 kB / 1.126 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.7897, allocations: 196.2 kB / 1.127 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.7897, allocations: 0 / 1.127 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0005038/0.7902, allocations: 282.9 kB / 1.127 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.7903, allocations: 162.2 kB / 1.127 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.7914, allocations: 0.9141 MB / 1.128 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.7915, allocations: 29.7 kB / 1.128 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.7916, allocations: 172.8 kB / 1.128 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/0.7917, allocations: 67.16 kB / 1.128 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.7917, allocations: 0.8438 kB / 1.128 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.7918, allocations: 334 kB / 1.128 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.7921, allocations: 233.2 kB / 1.129 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.7925, allocations: 329.7 kB / 1.129 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007665/0.7933, allocations: 315.1 kB / 1.129 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7933, allocations: 0 / 1.129 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001351/0.7947, allocations: 0.7455 MB / 1.13 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.7947, allocations: 4.156 kB / 1.13 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.7947, allocations: 8.75 kB / 1.13 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7947, allocations: 4 kB / 1.13 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.7951, allocations: 115.8 kB / 1.13 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.7951, allocations: 7.984 kB / 1.13 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.7955, allocations: 35.67 kB / 1.13 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-05/0.7955, allocations: 35.98 kB / 1.13 GB, free: 1.355 MB / 0.7292 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.0001153/0.7957, allocations: 139.3 kB / 1.13 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.539e-05/0.7958, allocations: 71.06 kB / 1.13 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/0.7963, allocations: 334.2 kB / 1.131 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.7963, allocations: 4 kB / 1.131 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7963, allocations: 4 kB / 1.131 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.7963, allocations: 0 / 1.131 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.7967, allocations: 453.7 kB / 1.131 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7967, allocations: 8 kB / 1.131 GB, free: 328 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.7969, allocations: 31.86 kB / 1.131 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.7969, allocations: 4 kB / 1.131 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.7969, allocations: 11.19 kB / 1.131 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.7969, allocations: 0 / 1.131 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7969, allocations: 8.922 kB / 1.131 GB, free: 276 kB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004553/0.7974, allocations: 402.9 kB / 1.132 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000521/0.7979, allocations: 0.7683 MB / 1.132 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.7981, allocations: 180 kB / 1.133 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.193e-05/0.7982, allocations: 8 kB / 1.133 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.7984, allocations: 19.98 kB / 1.133 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.7985, allocations: 27.88 kB / 1.133 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.7985, allocations: 11.98 kB / 1.133 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0006241/0.7991, allocations: 0.5733 MB / 1.133 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000981/0.8001, allocations: 127.9 kB / 1.133 GB, free: 14.04 MB / 0.7448 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.0006876/0.8008, allocations: 392.2 kB / 1.134 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005311/0.8014, allocations: 383.7 kB / 1.134 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8014, allocations: 8.312 kB / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.8016, allocations: 109.4 kB / 1.134 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007669/0.8024, allocations: 200.2 kB / 1.134 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.8038, allocations: 0.8945 MB / 1.135 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/0.8044, allocations: 1.006 MB / 1.136 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/0.8044, allocations: 0 / 1.136 GB, free: 11.14 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)