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_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.169/2.169, allocations: 284.9 MB / 292.2 MB, free: 10.79 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.001512/0.001512, allocations: 181.3 kB / 360.4 MB, free: 7.527 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.6/1.6, allocations: 205.1 MB / 0.6188 GB, free: 12.47 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.001302/0.001302, allocations: 87.17 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.195e-05/1.209e-05, allocations: 4 kB / 0.8503 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5324/0.5325, allocations: 115.2 MB / 0.9628 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.7356, allocations: 137.6 MB / 1.097 GB, free: 3.18 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.7359, allocations: 68.61 kB / 1.097 GB, free: 3.113 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.03953/0.7755, allocations: 8.258 MB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.7756, allocations: 4 kB / 1.105 GB, free: 10.93 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.001748/0.7773, allocations: 0.6105 MB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7774, allocations: 12.53 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.7775, allocations: 29.69 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.7777, allocations: 205.6 kB / 1.106 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/0.778, allocations: 255.8 kB / 1.106 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.7781, allocations: 19.91 kB / 1.106 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005174/0.7787, allocations: 128.9 kB / 1.107 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.7793, allocations: 221.2 kB / 1.107 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.7793, allocations: 0 / 1.107 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.7793, allocations: 15.89 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.7794, allocations: 4 kB / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.781, allocations: 0.7216 MB / 1.107 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.7816, allocations: 180.1 kB / 1.108 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.7819, allocations: 115.3 kB / 1.108 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.677e-05/0.782, allocations: 8.172 kB / 1.108 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005818/0.7826, allocations: 242.8 kB / 1.108 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 3.096e-06/0.7826, allocations: 0 / 1.108 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0008956/0.7835, allocations: 287.2 kB / 1.108 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.7836, allocations: 114.8 kB / 1.108 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.7838, allocations: 150.7 kB / 1.109 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.7839, allocations: 29.64 kB / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.784, allocations: 116.1 kB / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.7842, allocations: 142 kB / 1.109 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.7842, allocations: 8 kB / 1.109 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.7844, allocations: 338.8 kB / 1.109 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.7848, allocations: 113.3 kB / 1.109 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.7853, allocations: 215.5 kB / 1.109 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.7857, allocations: 130.7 kB / 1.11 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.7857, allocations: 4 kB / 1.11 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001107/0.7868, allocations: 399.5 kB / 1.11 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.7868, allocations: 4 kB / 1.11 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.7869, allocations: 4 kB / 1.11 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.7869, allocations: 4 kB / 1.11 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008483/0.7878, allocations: 109.6 kB / 1.11 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.7878, allocations: 4 kB / 1.11 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.7883, allocations: 63.56 kB / 1.11 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.7884, allocations: 23.98 kB / 1.11 GB, free: 5.637 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.0001783/0.7886, allocations: 131.2 kB / 1.11 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.7887, allocations: 23.72 kB / 1.11 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.7888, allocations: 33.75 kB / 1.11 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.7888, allocations: 11.84 kB / 1.11 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.7888, allocations: 0 / 1.11 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.7889, allocations: 7.984 kB / 1.11 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.7894, allocations: 301.8 kB / 1.111 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7894, allocations: 0 / 1.111 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000898/0.7903, allocations: 75.89 kB / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.7903, allocations: 4 kB / 1.111 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.7904, allocations: 18.42 kB / 1.111 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.7904, allocations: 3.906 kB / 1.111 GB, free: 5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7904, allocations: 0 / 1.111 GB, free: 5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00133/0.7918, allocations: 0.4992 MB / 1.111 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/0.7919, allocations: 116.6 kB / 1.111 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/0.792, allocations: 11.92 kB / 1.111 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.7925, allocations: 39.97 kB / 1.111 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.7926, allocations: 39.94 kB / 1.111 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.7927, allocations: 12 kB / 1.111 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001246/0.7928, allocations: 116.1 kB / 1.112 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004919/0.7933, allocations: 71.64 kB / 1.112 GB, free: 4.059 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.0002198/0.7936, allocations: 111.2 kB / 1.112 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009518/0.7945, allocations: 318.8 kB / 1.112 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.7945, allocations: 4 kB / 1.112 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.795, allocations: 159.7 kB / 1.112 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.7954, allocations: 29.38 kB / 1.112 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.7971, allocations: 487.8 kB / 1.113 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006147/0.7977, allocations: 0.8151 MB / 1.113 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of SimCode: time 8.71e-07/0.7977, allocations: 0 / 1.113 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of Templates: time 0.01157/0.8093, allocations: 3.817 MB / 1.117 GB, free: 14.36 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)