Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.121/2.121, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001592/0.001591, allocations: 189.2 kB / 360.3 MB, free: 7.562 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.665/1.665, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001298/0.001298, allocations: 92.98 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2489/0.2502, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5477/0.798, allocations: 115.2 MB / 0.9628 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/1.003, allocations: 137.6 MB / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.003, allocations: 69.23 kB / 1.097 GB, free: 3.223 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.04165/1.045, allocations: 8.884 MB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.045, allocations: 12.5 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/1.045, allocations: 27.72 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/1.045, allocations: 191.6 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002623/1.045, allocations: 259.7 kB / 1.106 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-05/1.046, allocations: 25.86 kB / 1.106 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005376/1.046, allocations: 128.9 kB / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/1.047, allocations: 221.2 kB / 1.107 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/1.047, allocations: 0 / 1.107 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/1.047, allocations: 11.91 kB / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/1.047, allocations: 4 kB / 1.107 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/1.048, allocations: 0.7238 MB / 1.107 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/1.049, allocations: 177.5 kB / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/1.049, allocations: 113.5 kB / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/1.049, allocations: 12.17 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005625/1.05, allocations: 238.8 kB / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 2.905e-06/1.05, allocations: 0 / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0008758/1.051, allocations: 290.5 kB / 1.108 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/1.051, allocations: 110.8 kB / 1.108 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/1.051, allocations: 150.7 kB / 1.108 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/1.051, allocations: 33.62 kB / 1.109 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/1.051, allocations: 109.2 kB / 1.109 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/1.052, allocations: 146 kB / 1.109 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/1.052, allocations: 4 kB / 1.109 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.052, allocations: 338.8 kB / 1.109 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/1.052, allocations: 117.3 kB / 1.109 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/1.053, allocations: 215.5 kB / 1.109 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/1.053, allocations: 133.2 kB / 1.11 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.053, allocations: 4 kB / 1.11 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001089/1.054, allocations: 396.4 kB / 1.11 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.054, allocations: 7.938 kB / 1.11 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.054, allocations: 4 kB / 1.11 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/1.054, allocations: 4 kB / 1.11 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/1.055, allocations: 105.1 kB / 1.11 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/1.055, allocations: 7.984 kB / 1.11 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/1.056, allocations: 63.56 kB / 1.11 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/1.056, allocations: 23.75 kB / 1.11 GB, free: 5.738 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.0001631/1.056, allocations: 131.3 kB / 1.11 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/1.056, allocations: 27.72 kB / 1.11 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/1.056, allocations: 33.73 kB / 1.11 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/1.056, allocations: 11.84 kB / 1.11 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/1.056, allocations: 0 / 1.11 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.056, allocations: 7.984 kB / 1.11 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/1.057, allocations: 305.8 kB / 1.111 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.057, allocations: 1.625 kB / 1.111 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008645/1.058, allocations: 79.89 kB / 1.111 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/1.058, allocations: 4 kB / 1.111 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/1.058, allocations: 12 kB / 1.111 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/1.058, allocations: 3.984 kB / 1.111 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.058, allocations: 3.906 kB / 1.111 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001383/1.059, allocations: 0.498 MB / 1.111 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001906/1.061, allocations: 1.038 MB / 1.112 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/1.061, allocations: 108.8 kB / 1.112 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/1.061, allocations: 11.91 kB / 1.112 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/1.062, allocations: 39.97 kB / 1.112 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/1.062, allocations: 35.94 kB / 1.112 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/1.062, allocations: 17.31 kB / 1.112 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001242/1.062, allocations: 116.1 kB / 1.113 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001293/1.063, allocations: 64 kB / 1.113 GB, free: 3.078 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.0002217/1.064, allocations: 120.5 kB / 1.113 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009321/1.064, allocations: 329.2 kB / 1.113 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.065, allocations: 0 / 1.113 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004629/1.065, allocations: 155.9 kB / 1.113 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/1.065, allocations: 26 kB / 1.113 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/1.067, allocations: 0.4917 MB / 1.114 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006662/1.068, allocations: 0.8231 MB / 1.114 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/1.068, allocations: 0 / 1.114 GB, free: 1.09 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)