Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.387/1.387, allocations: 289.8 MB / 297.1 MB, free: 12.74 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 185.3 kB / 366.3 MB, free: 12.05 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.104/1.104, allocations: 205.1 MB / 0.6256 GB, free: 2.102 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008374/0.0008374, allocations: 92.08 kB / 0.7395 GB, free: 47.06 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2015/0.2024, allocations: 122.4 MB / 0.8591 GB, free: 7.133 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.686, allocations: 116.3 MB / 0.9727 GB, free: 81.5 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.8325, allocations: 138.8 MB / 1.108 GB, free: 5.238 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.8327, allocations: 67.95 kB / 1.108 GB, free: 5.172 MB / 0.7059 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.02333/0.8561, allocations: 8.885 MB / 1.117 GB, free: 12.28 MB / 0.7215 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.8561, allocations: 8 kB / 1.117 GB, free: 12.27 MB / 0.7215 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.8562, allocations: 27.72 kB / 1.117 GB, free: 12.24 MB / 0.7215 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.8564, allocations: 187.6 kB / 1.117 GB, free: 12.02 MB / 0.7215 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.8566, allocations: 251.8 kB / 1.117 GB, free: 11.71 MB / 0.7215 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.8566, allocations: 27.89 kB / 1.117 GB, free: 11.69 MB / 0.7215 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002718/0.8569, allocations: 132.9 kB / 1.118 GB, free: 11.56 MB / 0.7215 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.8572, allocations: 224.4 kB / 1.118 GB, free: 11.33 MB / 0.7215 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.8573, allocations: 8.75 kB / 1.118 GB, free: 11.32 MB / 0.7215 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.8573, allocations: 7.906 kB / 1.118 GB, free: 11.31 MB / 0.7215 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.8573, allocations: 4 kB / 1.118 GB, free: 11.31 MB / 0.7215 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.8583, allocations: 0.7237 MB / 1.118 GB, free: 10.54 MB / 0.7215 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.8587, allocations: 177.5 kB / 1.119 GB, free: 10.34 MB / 0.7215 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.8589, allocations: 107 kB / 1.119 GB, free: 10.22 MB / 0.7215 GB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.8589, allocations: 14.23 kB / 1.119 GB, free: 10.21 MB / 0.7215 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000331/0.8593, allocations: 243.1 kB / 1.119 GB, free: 9.953 MB / 0.7215 GB Notification: Performance of pre-optimization done (n=48): time 1.734e-06/0.8593, allocations: 3.938 kB / 1.119 GB, free: 9.949 MB / 0.7215 GB Notification: Performance of matching and sorting (n=48): time 0.000502/0.8598, allocations: 282.9 kB / 1.119 GB, free: 9.672 MB / 0.7215 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.8599, allocations: 118.8 kB / 1.119 GB, free: 9.531 MB / 0.7215 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.86, allocations: 150.7 kB / 1.12 GB, free: 9.375 MB / 0.7215 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.86, allocations: 29.7 kB / 1.12 GB, free: 9.34 MB / 0.7215 GB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.8601, allocations: 109.2 kB / 1.12 GB, free: 9.227 MB / 0.7215 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.8602, allocations: 146 kB / 1.12 GB, free: 9.082 MB / 0.7215 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.8603, allocations: 4 kB / 1.12 GB, free: 9.078 MB / 0.7215 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.8604, allocations: 342.8 kB / 1.12 GB, free: 8.734 MB / 0.7215 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.8606, allocations: 113.3 kB / 1.12 GB, free: 8.625 MB / 0.7215 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.8608, allocations: 219.5 kB / 1.12 GB, free: 8.375 MB / 0.7215 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.861, allocations: 133.9 kB / 1.121 GB, free: 8.25 MB / 0.7215 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.861, allocations: 0 / 1.121 GB, free: 8.25 MB / 0.7215 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005946/0.8616, allocations: 392.7 kB / 1.121 GB, free: 7.863 MB / 0.7215 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.8617, allocations: 8 kB / 1.121 GB, free: 7.855 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8617, allocations: 0 / 1.121 GB, free: 7.855 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.8617, allocations: 8 kB / 1.121 GB, free: 7.848 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.8621, allocations: 99.83 kB / 1.121 GB, free: 7.75 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.8621, allocations: 15.92 kB / 1.121 GB, free: 7.734 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.8624, allocations: 63.56 kB / 1.121 GB, free: 7.672 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.8625, allocations: 24.56 kB / 1.121 GB, free: 7.648 MB / 0.7215 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.0001158/0.8626, allocations: 121.2 kB / 1.121 GB, free: 7.523 MB / 0.7215 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.8626, allocations: 39.7 kB / 1.121 GB, free: 7.484 MB / 0.7215 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.8627, allocations: 21.75 kB / 1.121 GB, free: 7.465 MB / 0.7215 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.8627, allocations: 7.906 kB / 1.121 GB, free: 7.457 MB / 0.7215 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.8627, allocations: 4 kB / 1.121 GB, free: 7.453 MB / 0.7215 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.8627, allocations: 5.484 kB / 1.121 GB, free: 7.449 MB / 0.7215 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.8631, allocations: 309.7 kB / 1.122 GB, free: 7.109 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.8631, allocations: 1.812 kB / 1.122 GB, free: 7.109 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.8635, allocations: 83.89 kB / 1.122 GB, free: 7.027 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.8636, allocations: 4 kB / 1.122 GB, free: 7.023 MB / 0.7215 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.8636, allocations: 7.984 kB / 1.122 GB, free: 7.016 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8636, allocations: 0 / 1.122 GB, free: 7.016 MB / 0.7215 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8636, allocations: 10.8 kB / 1.122 GB, free: 7.008 MB / 0.7215 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007339/0.8644, allocations: 0.5031 MB / 1.122 GB, free: 6.465 MB / 0.7215 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001067/0.8654, allocations: 1.03 MB / 1.123 GB, free: 5.395 MB / 0.7215 GB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.8655, allocations: 108.8 kB / 1.123 GB, free: 5.27 MB / 0.7215 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.8656, allocations: 7.906 kB / 1.123 GB, free: 5.262 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.8659, allocations: 45.09 kB / 1.123 GB, free: 5.219 MB / 0.7215 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.866, allocations: 35.88 kB / 1.123 GB, free: 5.184 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.866, allocations: 19.98 kB / 1.123 GB, free: 5.164 MB / 0.7215 GB Notification: Performance of sort global known variables: time 6.854e-05/0.8661, allocations: 116.1 kB / 1.124 GB, free: 5.051 MB / 0.7215 GB Notification: Performance of remove unused functions: time 0.0009029/0.867, allocations: 60 kB / 1.124 GB, free: 4.992 MB / 0.7215 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.0001657/0.8672, allocations: 124.8 kB / 1.124 GB, free: 4.863 MB / 0.7215 GB Notification: Performance of simCode: created initialization part: time 0.0004988/0.8677, allocations: 319.5 kB / 1.124 GB, free: 4.555 MB / 0.7215 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8677, allocations: 0 / 1.124 GB, free: 4.555 MB / 0.7215 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.8679, allocations: 163.9 kB / 1.124 GB, free: 4.395 MB / 0.7215 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.8682, allocations: 29.48 kB / 1.124 GB, free: 4.367 MB / 0.7215 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.8692, allocations: 492.1 kB / 1.125 GB, free: 3.859 MB / 0.7215 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004569/0.8696, allocations: 0.8231 MB / 1.125 GB, free: 3.008 MB / 0.7215 GB Notification: Performance of SimCode: time 2.6e-07/0.8697, allocations: 0.5625 kB / 1.125 GB, free: 3.008 MB / 0.7215 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)