Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.433/2.433, allocations: 253.1 MB / 260.4 MB, free: 7.555 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001754/0.001753, allocations: 181.2 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 95.42 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.723e-05/1.739e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2377, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8094/1.047, allocations: 132.5 MB / 1.017 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/1.047, allocations: 71.77 kB / 1.018 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05583/1.103, allocations: 8.375 MB / 1.026 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.082e-05/1.103, allocations: 4 kB / 1.026 GB, free: 15.02 MB / 0.6511 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.002971/1.106, allocations: 0.613 MB / 1.026 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.856e-05/1.107, allocations: 16.02 kB / 1.026 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/1.107, allocations: 27.72 kB / 1.026 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/1.107, allocations: 191.5 kB / 1.027 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004828/1.108, allocations: 259.1 kB / 1.027 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/1.108, allocations: 19.83 kB / 1.027 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007895/1.109, allocations: 134.4 kB / 1.027 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009476/1.11, allocations: 223.9 kB / 1.027 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/1.11, allocations: 7.891 kB / 1.027 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/1.11, allocations: 0 / 1.027 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/1.11, allocations: 8.844 kB / 1.027 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/1.113, allocations: 0.7316 MB / 1.028 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/1.114, allocations: 179.5 kB / 1.028 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/1.114, allocations: 113.8 kB / 1.028 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.835e-05/1.114, allocations: 8.547 kB / 1.028 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008756/1.115, allocations: 242.3 kB / 1.028 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 6.092e-06/1.115, allocations: 0 / 1.028 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001415/1.117, allocations: 295.2 kB / 1.029 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/1.117, allocations: 110.8 kB / 1.029 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/1.117, allocations: 156.1 kB / 1.029 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.764e-05/1.117, allocations: 29.39 kB / 1.029 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/1.117, allocations: 108.8 kB / 1.029 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/1.118, allocations: 135.6 kB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/1.118, allocations: 3.25 kB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002336/1.118, allocations: 337.7 kB / 1.03 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005819/1.119, allocations: 124 kB / 1.03 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007925/1.119, allocations: 217.3 kB / 1.03 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/1.12, allocations: 132.6 kB / 1.03 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.12, allocations: 4 kB / 1.03 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0018/1.122, allocations: 398.4 kB / 1.03 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/1.122, allocations: 6.5 kB / 1.03 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.122, allocations: 4 kB / 1.03 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.843e-05/1.122, allocations: 7.906 kB / 1.03 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.123, allocations: 101.8 kB / 1.03 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/1.124, allocations: 8 kB / 1.03 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/1.124, allocations: 67.58 kB / 1.031 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.997e-05/1.125, allocations: 19.69 kB / 1.031 GB, free: 10.41 MB / 0.6511 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.000332/1.125, allocations: 126.9 kB / 1.031 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/1.125, allocations: 27.62 kB / 1.031 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/1.125, allocations: 35.17 kB / 1.031 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/1.125, allocations: 4 kB / 1.031 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.125, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.125, allocations: 4 kB / 1.031 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008013/1.126, allocations: 313.5 kB / 1.031 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.126, allocations: 0 / 1.031 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.128, allocations: 78.95 kB / 1.031 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/1.128, allocations: 0 / 1.031 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.867e-05/1.128, allocations: 7.875 kB / 1.031 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.443e-05/1.128, allocations: 7.938 kB / 1.031 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.128, allocations: 4 kB / 1.031 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002137/1.13, allocations: 0.5035 MB / 1.032 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/1.13, allocations: 100.8 kB / 1.032 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/1.13, allocations: 6.875 kB / 1.032 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008584/1.131, allocations: 52.02 kB / 1.032 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/1.132, allocations: 35.45 kB / 1.032 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/1.132, allocations: 18.8 kB / 1.032 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002088/1.132, allocations: 120.8 kB / 1.032 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008857/1.133, allocations: 60.19 kB / 1.032 GB, free: 9.059 MB / 0.6511 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.0003734/1.133, allocations: 122.5 kB / 1.032 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001514/1.135, allocations: 328.2 kB / 1.032 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.135, allocations: 0 / 1.032 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007615/1.136, allocations: 151.7 kB / 1.033 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007043/1.136, allocations: 26.3 kB / 1.033 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/1.139, allocations: 490.4 kB / 1.033 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.14, allocations: 0.8111 MB / 1.034 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of SimCode: time 2.314e-06/1.14, allocations: 3.938 kB / 1.034 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of Templates: time 0.02077/1.161, allocations: 3.817 MB / 1.038 GB, free: 3.488 MB / 0.6511 GB