Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",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 8.0.1-maint.8.0.x/package.mo): time 1.311/1.311, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009139/0.0009139, allocations: 179.2 kB / 361.1 MB, free: 7.094 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.023/1.023, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007513/0.000751, allocations: 98.31 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1774/0.1782, allocations: 121.5 MB / 0.8512 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.5759, allocations: 115.3 MB / 0.9638 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.7078, allocations: 137.8 MB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.708, allocations: 69.27 kB / 1.098 GB, free: 2.098 MB / 0.698 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.02225/0.7303, allocations: 8.884 MB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.7303, allocations: 8 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.559e-05/0.7304, allocations: 27.72 kB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.7305, allocations: 195.6 kB / 1.107 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.7307, allocations: 259.6 kB / 1.108 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.7308, allocations: 25.69 kB / 1.108 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000282/0.7311, allocations: 134.2 kB / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.7314, allocations: 217.2 kB / 1.108 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.7314, allocations: 4 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.7314, allocations: 7.906 kB / 1.108 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.7314, allocations: 4 kB / 1.108 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009131/0.7324, allocations: 0.7218 MB / 1.109 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.7327, allocations: 176.3 kB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.7328, allocations: 110.9 kB / 1.109 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.7329, allocations: 12.17 kB / 1.109 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002966/0.7332, allocations: 242.9 kB / 1.109 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.964e-06/0.7332, allocations: 4 kB / 1.109 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0004807/0.7337, allocations: 284.7 kB / 1.109 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.7338, allocations: 118.8 kB / 1.11 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.7339, allocations: 146.7 kB / 1.11 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.7339, allocations: 29.7 kB / 1.11 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.734, allocations: 109.2 kB / 1.11 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.7341, allocations: 142.7 kB / 1.11 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.7341, allocations: 0 / 1.11 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7342, allocations: 350.8 kB / 1.11 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.7344, allocations: 113.3 kB / 1.11 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.7346, allocations: 215.5 kB / 1.111 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.7349, allocations: 138.2 kB / 1.111 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.7349, allocations: 0 / 1.111 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005532/0.7354, allocations: 397.6 kB / 1.111 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7355, allocations: 15.69 kB / 1.111 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.7355, allocations: 0 / 1.111 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7355, allocations: 8 kB / 1.111 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.7359, allocations: 103.8 kB / 1.111 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.7359, allocations: 4 kB / 1.111 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.7362, allocations: 67.56 kB / 1.111 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.7363, allocations: 24 kB / 1.111 GB, free: 4.621 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.0001006/0.7364, allocations: 123.5 kB / 1.111 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.7364, allocations: 31.72 kB / 1.111 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.7365, allocations: 21.75 kB / 1.111 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.7365, allocations: 7.906 kB / 1.111 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7365, allocations: 9.625 kB / 1.111 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.7365, allocations: 3.984 kB / 1.111 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.7368, allocations: 309.8 kB / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7368, allocations: 0 / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.7372, allocations: 75.89 kB / 1.112 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.7372, allocations: 4 kB / 1.112 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.7373, allocations: 11.98 kB / 1.112 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.7373, allocations: 4 kB / 1.112 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.7373, allocations: 11.84 kB / 1.112 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006706/0.738, allocations: 0.4991 MB / 1.112 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009257/0.7389, allocations: 1.038 MB / 1.113 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.7389, allocations: 100.8 kB / 1.113 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.739, allocations: 8.656 kB / 1.113 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.7393, allocations: 47.95 kB / 1.114 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.7393, allocations: 31.95 kB / 1.114 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.7394, allocations: 19.98 kB / 1.114 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.247e-05/0.7394, allocations: 116.1 kB / 1.114 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000817/0.7403, allocations: 60 kB / 1.114 GB, free: 1.977 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.0001592/0.7404, allocations: 123.5 kB / 1.114 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004655/0.7409, allocations: 328.8 kB / 1.114 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7409, allocations: 0 / 1.114 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.7412, allocations: 151.9 kB / 1.114 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.7414, allocations: 29.09 kB / 1.114 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/0.7423, allocations: 0.4967 MB / 1.115 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.7427, allocations: 0.8231 MB / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.7427, allocations: 0 / 1.116 GB, free: 15.98 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)