Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 181.2 kB / 316 MB, free: 3.59 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.093/1.093, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009611/0.0009609, allocations: 98.14 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3386/0.3396, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.5047, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4809/0.9856, allocations: 132.7 MB / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.9858, allocations: 72.77 kB / 1.014 GB, free: 6.105 MB / 0.6355 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.0242/1.01, allocations: 9.007 MB / 1.023 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.01, allocations: 16 kB / 1.023 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.068e-05/1.01, allocations: 31.62 kB / 1.023 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/1.01, allocations: 195.5 kB / 1.023 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/1.011, allocations: 254.9 kB / 1.024 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/1.011, allocations: 16 kB / 1.024 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003041/1.011, allocations: 129.9 kB / 1.024 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/1.011, allocations: 231.8 kB / 1.024 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/1.011, allocations: 7.875 kB / 1.024 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/1.011, allocations: 4 kB / 1.024 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/1.011, allocations: 8 kB / 1.024 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009722/1.012, allocations: 0.7303 MB / 1.025 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/1.013, allocations: 179.8 kB / 1.025 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/1.013, allocations: 104.8 kB / 1.025 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/1.013, allocations: 11.48 kB / 1.025 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003286/1.013, allocations: 243.1 kB / 1.025 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 3.176e-06/1.013, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0005102/1.014, allocations: 278.4 kB / 1.025 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/1.014, allocations: 118.7 kB / 1.026 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.014, allocations: 152.7 kB / 1.026 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/1.014, allocations: 28.89 kB / 1.026 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/1.014, allocations: 110.5 kB / 1.026 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/1.014, allocations: 138.6 kB / 1.026 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/1.014, allocations: 3.25 kB / 1.026 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.014, allocations: 337.3 kB / 1.026 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/1.015, allocations: 121.9 kB / 1.026 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/1.015, allocations: 215.6 kB / 1.027 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/1.015, allocations: 132.2 kB / 1.027 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.015, allocations: 4 kB / 1.027 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005756/1.016, allocations: 395.1 kB / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.016, allocations: 4 kB / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.016, allocations: 7.906 kB / 1.027 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.016, allocations: 7.984 kB / 1.027 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/1.016, allocations: 106.2 kB / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.016, allocations: 4.062 kB / 1.027 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/1.016, allocations: 71.58 kB / 1.027 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/1.016, allocations: 19.06 kB / 1.027 GB, free: 10.73 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.0001077/1.017, allocations: 122.5 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/1.017, allocations: 31.62 kB / 1.028 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.026e-05/1.017, allocations: 33.67 kB / 1.028 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/1.017, allocations: 4 kB / 1.028 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.017, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.017, allocations: 3.938 kB / 1.028 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/1.017, allocations: 314 kB / 1.028 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.017, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/1.017, allocations: 79.14 kB / 1.028 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.017, allocations: 4 kB / 1.028 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/1.017, allocations: 7.625 kB / 1.028 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.017, allocations: 8.641 kB / 1.028 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.018, allocations: 3.984 kB / 1.028 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006901/1.018, allocations: 0.5089 MB / 1.028 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009846/1.019, allocations: 1.032 MB / 1.029 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/1.019, allocations: 100.8 kB / 1.03 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/1.019, allocations: 11.98 kB / 1.03 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/1.02, allocations: 43.66 kB / 1.03 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/1.02, allocations: 39.19 kB / 1.03 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/1.02, allocations: 12 kB / 1.03 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.995e-05/1.02, allocations: 121.9 kB / 1.03 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008411/1.021, allocations: 71.83 kB / 1.03 GB, free: 8.496 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.0001745/1.021, allocations: 118.3 kB / 1.03 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004745/1.021, allocations: 327.2 kB / 1.03 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.021, allocations: 0 / 1.03 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/1.022, allocations: 156.4 kB / 1.03 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/1.022, allocations: 25.23 kB / 1.03 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/1.023, allocations: 496.8 kB / 1.031 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/1.023, allocations: 0.8264 MB / 1.032 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/1.023, allocations: 0 / 1.032 GB, free: 6.707 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)