Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.199/2.199, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001588/0.001587, allocations: 181.2 kB / 360.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 0.6188 GB, free: 13.19 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001248/0.001247, allocations: 92.58 kB / 0.7318 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.187e-05/1.201e-05, allocations: 4 kB / 0.8503 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5875/0.5875, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2118/0.7994, allocations: 137.6 MB / 1.097 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.7997, allocations: 71.95 kB / 1.097 GB, free: 3.148 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.03897/0.8387, allocations: 8.251 MB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.8387, allocations: 8 kB / 1.105 GB, free: 10.97 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.001729/0.8405, allocations: 0.6172 MB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.8405, allocations: 8.031 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.8407, allocations: 31.72 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.8409, allocations: 194.4 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.8412, allocations: 247.8 kB / 1.106 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/0.8413, allocations: 31.89 kB / 1.106 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005405/0.8418, allocations: 132.8 kB / 1.107 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.8424, allocations: 217.2 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.8425, allocations: 8 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.8425, allocations: 3.906 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.8425, allocations: 7.984 kB / 1.107 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.8442, allocations: 0.7249 MB / 1.107 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/0.8448, allocations: 176.2 kB / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.8451, allocations: 111.3 kB / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-05/0.8452, allocations: 16.11 kB / 1.108 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005584/0.8457, allocations: 242.8 kB / 1.108 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 2.975e-06/0.8458, allocations: 0 / 1.108 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0008801/0.8466, allocations: 286.1 kB / 1.108 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.8467, allocations: 118.8 kB / 1.108 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.8469, allocations: 146.7 kB / 1.109 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.847, allocations: 33.7 kB / 1.109 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.847, allocations: 105.2 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.8472, allocations: 150 kB / 1.109 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.8473, allocations: 0 / 1.109 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8474, allocations: 342.8 kB / 1.109 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.8478, allocations: 121.2 kB / 1.109 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.8483, allocations: 211.5 kB / 1.109 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.8487, allocations: 133.4 kB / 1.11 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8487, allocations: 7.875 kB / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001129/0.8499, allocations: 398.7 kB / 1.11 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8499, allocations: 4 kB / 1.11 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8499, allocations: 0 / 1.11 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.8499, allocations: 8 kB / 1.11 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/0.8507, allocations: 107.8 kB / 1.11 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.8508, allocations: 8 kB / 1.11 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.8513, allocations: 63.56 kB / 1.11 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.8514, allocations: 20 kB / 1.11 GB, free: 5.668 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 0.0001583/0.8515, allocations: 127.3 kB / 1.11 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.8516, allocations: 33.08 kB / 1.11 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.8517, allocations: 21.75 kB / 1.11 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.8518, allocations: 15.98 kB / 1.11 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8518, allocations: 0 / 1.11 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.8518, allocations: 3.984 kB / 1.11 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.8523, allocations: 305.8 kB / 1.111 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.8523, allocations: 4 kB / 1.111 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008757/0.8532, allocations: 79.89 kB / 1.111 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.8532, allocations: 7.938 kB / 1.111 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.8533, allocations: 7.984 kB / 1.111 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.8533, allocations: 9.625 kB / 1.111 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.8533, allocations: 3.906 kB / 1.111 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001296/0.8546, allocations: 0.5031 MB / 1.111 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.8547, allocations: 104.7 kB / 1.111 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.8548, allocations: 7.984 kB / 1.111 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/0.8553, allocations: 39.97 kB / 1.111 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.8554, allocations: 31.95 kB / 1.111 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.8555, allocations: 23.92 kB / 1.111 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001066/0.8556, allocations: 112.1 kB / 1.112 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004452/0.8561, allocations: 71.91 kB / 1.112 GB, free: 4.09 MB / 0.7136 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.0002137/0.8563, allocations: 111.2 kB / 1.112 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009078/0.8572, allocations: 318.8 kB / 1.112 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8572, allocations: 0 / 1.112 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.8577, allocations: 155.8 kB / 1.112 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.8581, allocations: 30.91 kB / 1.112 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.8597, allocations: 487.5 kB / 1.113 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/0.8603, allocations: 0.8112 MB / 1.113 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.8603, allocations: 0 / 1.113 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of Templates: time 0.01156/0.8719, allocations: 3.809 MB / 1.117 GB, free: 14.4 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)