Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.341/1.341, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.0009799/0.0009799, allocations: 177.3 kB / 366.3 MB, free: 1.965 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.096/1.096, allocations: 205.1 MB / 0.6256 GB, free: 7.457 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.0007834/0.0007833, allocations: 91.31 kB / 0.7395 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.208e-06/9.358e-06, allocations: 4 kB / 0.859 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4756, allocations: 116.3 MB / 0.9726 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.6152, allocations: 138.8 MB / 1.108 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001595/0.6154, allocations: 68.75 kB / 1.108 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02157/0.637, allocations: 8.262 MB / 1.116 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.6371, allocations: 4 kB / 1.116 GB, free: 3.492 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.001003/0.6381, allocations: 0.6133 MB / 1.117 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.6381, allocations: 9.25 kB / 1.117 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.6382, allocations: 27.72 kB / 1.117 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.6383, allocations: 195.6 kB / 1.117 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.6385, allocations: 256.9 kB / 1.117 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.6386, allocations: 23.91 kB / 1.117 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002752/0.6388, allocations: 132.9 kB / 1.117 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.6392, allocations: 221.5 kB / 1.118 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6392, allocations: 0 / 1.118 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.6392, allocations: 11.89 kB / 1.118 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6392, allocations: 4 kB / 1.118 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.6402, allocations: 0.7219 MB / 1.118 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.6405, allocations: 176.3 kB / 1.119 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.6407, allocations: 108.4 kB / 1.119 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.6408, allocations: 12.17 kB / 1.119 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.6411, allocations: 246.9 kB / 1.119 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.503e-06/0.6411, allocations: 0 / 1.119 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.000474/0.6416, allocations: 283.7 kB / 1.119 GB, free: 228 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.6416, allocations: 122.8 kB / 1.119 GB, free: 80 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.6417, allocations: 146.7 kB / 1.119 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.6418, allocations: 29.7 kB / 1.119 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.6418, allocations: 109.2 kB / 1.12 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.6419, allocations: 146 kB / 1.12 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.642, allocations: 4 kB / 1.12 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6421, allocations: 334.8 kB / 1.12 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.6423, allocations: 117.3 kB / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.6425, allocations: 219.5 kB / 1.12 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.6427, allocations: 132.7 kB / 1.12 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6427, allocations: 8 kB / 1.12 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005643/0.6433, allocations: 404.7 kB / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.6433, allocations: 4 kB / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.6433, allocations: 7.984 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6434, allocations: 4 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.6437, allocations: 99.83 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6438, allocations: 7.938 kB / 1.121 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.6441, allocations: 67.56 kB / 1.121 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.6441, allocations: 23.98 kB / 1.121 GB, free: 14.19 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.0001047/0.6442, allocations: 125.2 kB / 1.121 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.6443, allocations: 23.72 kB / 1.121 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.6443, allocations: 29.75 kB / 1.121 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6443, allocations: 11.89 kB / 1.121 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6443, allocations: 0 / 1.121 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.6443, allocations: 4 kB / 1.121 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.6446, allocations: 305.8 kB / 1.122 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6446, allocations: 0 / 1.122 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.6451, allocations: 79.89 kB / 1.122 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.6451, allocations: 0 / 1.122 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.6451, allocations: 11.98 kB / 1.122 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.6451, allocations: 2.5 kB / 1.122 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6451, allocations: 3.906 kB / 1.122 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006986/0.6458, allocations: 0.509 MB / 1.122 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.6459, allocations: 112.7 kB / 1.122 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.6459, allocations: 1.594 kB / 1.122 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.6462, allocations: 39.97 kB / 1.122 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.6463, allocations: 43.94 kB / 1.122 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.6463, allocations: 12 kB / 1.122 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.109e-05/0.6464, allocations: 120.1 kB / 1.122 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002751/0.6467, allocations: 63.91 kB / 1.122 GB, free: 12.62 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.0001417/0.6468, allocations: 115.2 kB / 1.123 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004626/0.6473, allocations: 332.4 kB / 1.123 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.6473, allocations: 0 / 1.123 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.6475, allocations: 151.9 kB / 1.123 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.6478, allocations: 31.33 kB / 1.123 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008909/0.6487, allocations: 492.8 kB / 1.124 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/0.6491, allocations: 0.8112 MB / 1.124 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.6491, allocations: 4 kB / 1.124 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.006266/0.6554, allocations: 3.81 MB / 1.128 GB, free: 6.922 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)