Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") [: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.1.4-maint.8.1.x/package.mo): time 1.397/1.397, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.0009812/0.0009814, allocations: 177.3 kB / 366.3 MB, free: 1.969 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.056/1.056, allocations: 205.2 MB / 0.6256 GB, free: 5.824 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.0008283/0.0008285, allocations: 76.89 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.746e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4589, allocations: 116.3 MB / 0.9726 GB, free: 68.71 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.6072, allocations: 138.8 MB / 1.108 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.6074, allocations: 73.22 kB / 1.108 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02168/0.6291, allocations: 8.254 MB / 1.116 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.6291, allocations: 8 kB / 1.116 GB, free: 1.438 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.001108/0.6302, allocations: 0.6133 MB / 1.117 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.6303, allocations: 12.03 kB / 1.117 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.024e-05/0.6304, allocations: 31.72 kB / 1.117 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.6306, allocations: 195.6 kB / 1.117 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.6308, allocations: 247.8 kB / 1.117 GB, free: 204 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.6308, allocations: 31.89 kB / 1.117 GB, free: 172 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002982/0.6311, allocations: 128.9 kB / 1.117 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.6315, allocations: 217.6 kB / 1.118 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.6316, allocations: 0 / 1.118 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.6316, allocations: 9.125 kB / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.6316, allocations: 4 kB / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.6327, allocations: 0.7315 MB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.633, allocations: 168.2 kB / 1.119 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.6332, allocations: 111.3 kB / 1.119 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.6333, allocations: 12.17 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003182/0.6336, allocations: 250.8 kB / 1.119 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.924e-06/0.6336, allocations: 3.938 kB / 1.119 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.0005197/0.6341, allocations: 280 kB / 1.119 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.6342, allocations: 114.8 kB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.6343, allocations: 150.7 kB / 1.119 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.6344, allocations: 39.38 kB / 1.119 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.6344, allocations: 105.2 kB / 1.12 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.6345, allocations: 142 kB / 1.12 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.6346, allocations: 4 kB / 1.12 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6347, allocations: 342.8 kB / 1.12 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.6349, allocations: 117.3 kB / 1.12 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.6352, allocations: 211.5 kB / 1.12 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.6354, allocations: 143 kB / 1.12 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6354, allocations: 3.938 kB / 1.12 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006146/0.636, allocations: 396.9 kB / 1.121 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.6361, allocations: 4 kB / 1.121 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6361, allocations: 4 kB / 1.121 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.6361, allocations: 4 kB / 1.121 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.6365, allocations: 99.83 kB / 1.121 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.6366, allocations: 11.98 kB / 1.121 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.6369, allocations: 63.56 kB / 1.121 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.6369, allocations: 20 kB / 1.121 GB, free: 12.13 MB / 0.7292 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 0.0001253/0.6371, allocations: 123.5 kB / 1.121 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.6371, allocations: 28.31 kB / 1.121 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.6372, allocations: 33.73 kB / 1.121 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.6372, allocations: 11.91 kB / 1.121 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6372, allocations: 0 / 1.121 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.6372, allocations: 3.984 kB / 1.121 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.6376, allocations: 301.8 kB / 1.122 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.6376, allocations: 4 kB / 1.122 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.638, allocations: 76.45 kB / 1.122 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.638, allocations: 8 kB / 1.122 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.6381, allocations: 7.984 kB / 1.122 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.6381, allocations: 6.812 kB / 1.122 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.6381, allocations: 3.906 kB / 1.122 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007986/0.6389, allocations: 0.5096 MB / 1.122 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.639, allocations: 104.7 kB / 1.122 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.639, allocations: 4 kB / 1.122 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.6393, allocations: 43.95 kB / 1.122 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.6394, allocations: 31.95 kB / 1.122 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.6394, allocations: 20.05 kB / 1.122 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.435e-05/0.6395, allocations: 113.2 kB / 1.122 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003254/0.6399, allocations: 67.91 kB / 1.122 GB, free: 10.55 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.0001918/0.6401, allocations: 128 kB / 1.123 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.6406, allocations: 326.8 kB / 1.123 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6406, allocations: 0 / 1.123 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.6408, allocations: 155.8 kB / 1.123 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.6411, allocations: 33.19 kB / 1.123 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.6421, allocations: 480.2 kB / 1.124 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.6426, allocations: 0.8112 MB / 1.124 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.6426, allocations: 0 / 1.124 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of Templates: time 0.007193/0.6498, allocations: 3.82 MB / 1.128 GB, free: 4.844 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)