Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") [: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.353/1.353, allocations: 285.5 MB / 292.8 MB, free: 9.859 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.0009192/0.0009195, allocations: 181.3 kB / 361.1 MB, free: 380 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.063/1.063, allocations: 205.2 MB / 0.6195 GB, free: 2.926 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000747/0.0007469, allocations: 95.84 kB / 0.7326 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.003e-05, allocations: 3.188 kB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1611, allocations: 115.3 MB / 0.9637 GB, free: 56.37 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.5963, allocations: 137.8 MB / 1.098 GB, free: 32.33 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.5965, allocations: 69.77 kB / 1.098 GB, free: 32.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01915/0.6156, allocations: 8.243 MB / 1.106 GB, free: 31.76 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.6157, allocations: 7.25 kB / 1.106 GB, free: 31.76 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008845/0.6166, allocations: 0.6125 MB / 1.107 GB, free: 31.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.6166, allocations: 11.78 kB / 1.107 GB, free: 31.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.6167, allocations: 32.64 kB / 1.107 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.556e-05/0.6168, allocations: 195.1 kB / 1.107 GB, free: 31.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.6169, allocations: 246.6 kB / 1.107 GB, free: 30.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.6169, allocations: 30.83 kB / 1.107 GB, free: 30.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002434/0.6172, allocations: 127.2 kB / 1.108 GB, free: 30.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.6175, allocations: 223.7 kB / 1.108 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.6175, allocations: 3.375 kB / 1.108 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.6175, allocations: 3.875 kB / 1.108 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6175, allocations: 3.875 kB / 1.108 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/0.6183, allocations: 0.7245 MB / 1.109 GB, free: 30.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.6186, allocations: 179.5 kB / 1.109 GB, free: 30.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.6188, allocations: 113.5 kB / 1.109 GB, free: 30.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.6188, allocations: 12.02 kB / 1.109 GB, free: 30.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.6191, allocations: 244.5 kB / 1.109 GB, free: 30.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.533e-06/0.6191, allocations: 3.938 kB / 1.109 GB, free: 30.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0004172/0.6195, allocations: 282.3 kB / 1.109 GB, free: 30.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.6195, allocations: 112.7 kB / 1.109 GB, free: 29.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.082e-05/0.6196, allocations: 153.8 kB / 1.11 GB, free: 29.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.6196, allocations: 33.27 kB / 1.11 GB, free: 29.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.6197, allocations: 114.4 kB / 1.11 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/0.6197, allocations: 139 kB / 1.11 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.6198, allocations: 0 / 1.11 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.6198, allocations: 348.1 kB / 1.11 GB, free: 29.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.62, allocations: 114.8 kB / 1.11 GB, free: 29.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.6202, allocations: 218 kB / 1.11 GB, free: 29.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.6204, allocations: 135 kB / 1.111 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6204, allocations: 3.844 kB / 1.111 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004873/0.6209, allocations: 398.4 kB / 1.111 GB, free: 29.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.6209, allocations: 11.12 kB / 1.111 GB, free: 29.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6209, allocations: 3.844 kB / 1.111 GB, free: 29.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6209, allocations: 11.72 kB / 1.111 GB, free: 29.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.6213, allocations: 94.41 kB / 1.111 GB, free: 29.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.6213, allocations: 8.453 kB / 1.111 GB, free: 29.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.6216, allocations: 60.61 kB / 1.111 GB, free: 29.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.6216, allocations: 23.19 kB / 1.111 GB, free: 29.08 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * 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 8.013e-05/0.6217, allocations: 135.4 kB / 1.111 GB, free: 28.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.6217, allocations: 27.22 kB / 1.111 GB, free: 28.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.6218, allocations: 29.69 kB / 1.111 GB, free: 28.94 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.6218, allocations: 3.844 kB / 1.111 GB, free: 28.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6218, allocations: 3.719 kB / 1.111 GB, free: 28.94 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.6218, allocations: 6.625 kB / 1.111 GB, free: 28.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.622, allocations: 308.8 kB / 1.112 GB, free: 28.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.622, allocations: 0 / 1.112 GB, free: 28.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.6224, allocations: 76.81 kB / 1.112 GB, free: 28.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6225, allocations: 3.875 kB / 1.112 GB, free: 28.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.6225, allocations: 10.98 kB / 1.112 GB, free: 28.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.6225, allocations: 3.875 kB / 1.112 GB, free: 28.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6225, allocations: 0 / 1.112 GB, free: 28.76 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005688/0.6231, allocations: 0.5084 MB / 1.112 GB, free: 28.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.6231, allocations: 108.5 kB / 1.112 GB, free: 28.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.6232, allocations: 3.875 kB / 1.112 GB, free: 28.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.6234, allocations: 41.97 kB / 1.112 GB, free: 28.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.6235, allocations: 35.23 kB / 1.112 GB, free: 28.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.6235, allocations: 14.84 kB / 1.112 GB, free: 28.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.927e-05/0.6236, allocations: 119.8 kB / 1.113 GB, free: 44.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002634/0.6239, allocations: 66.12 kB / 1.113 GB, free: 44.41 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001343/0.624, allocations: 119.6 kB / 1.113 GB, free: 44.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004023/0.6244, allocations: 317.8 kB / 1.113 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6244, allocations: 0 / 1.113 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.6247, allocations: 161.9 kB / 1.113 GB, free: 44.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.6249, allocations: 34.7 kB / 1.113 GB, free: 44.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007838/0.6257, allocations: 481.4 kB / 1.114 GB, free: 44.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/0.6261, allocations: 0.8166 MB / 1.115 GB, free: 43.38 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.6261, allocations: 0 / 1.115 GB, free: 43.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.005367/0.6315, allocations: 3.808 MB / 1.118 GB, free: 43.15 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)