Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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_nonZeroStart,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.422/1.422, allocations: 289.8 MB / 297.1 MB, free: 9.098 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.0009362/0.0009363, allocations: 184.3 kB / 366.3 MB, free: 11.35 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.135/1.135, allocations: 205.1 MB / 0.6256 GB, free: 11.42 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008731/0.0008731, allocations: 93.61 kB / 0.7396 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3948/0.3957, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.5636, allocations: 116.3 MB / 0.9727 GB, free: 31.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.477/1.041, allocations: 138.7 MB / 1.108 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/1.041, allocations: 71.42 kB / 1.108 GB, free: 16.23 MB / 0.6823 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.02252/1.063, allocations: 8.887 MB / 1.117 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/1.063, allocations: 8.875 kB / 1.117 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.334e-05/1.064, allocations: 30.3 kB / 1.117 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/1.064, allocations: 189.8 kB / 1.117 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/1.064, allocations: 257.3 kB / 1.117 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/1.064, allocations: 22.34 kB / 1.117 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002826/1.064, allocations: 137.6 kB / 1.118 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/1.064, allocations: 221.4 kB / 1.118 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/1.064, allocations: 5.141 kB / 1.118 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/1.065, allocations: 3.25 kB / 1.118 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.065, allocations: 5.062 kB / 1.118 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/1.065, allocations: 0.7277 MB / 1.118 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/1.066, allocations: 174.9 kB / 1.119 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/1.066, allocations: 110.9 kB / 1.119 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/1.066, allocations: 11.38 kB / 1.119 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003234/1.066, allocations: 244.5 kB / 1.119 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/1.066, allocations: 0.5625 kB / 1.119 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.0004994/1.067, allocations: 287.9 kB / 1.119 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/1.067, allocations: 112.5 kB / 1.119 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/1.067, allocations: 152.1 kB / 1.12 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/1.067, allocations: 30.02 kB / 1.12 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/1.067, allocations: 109.1 kB / 1.12 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.002e-05/1.067, allocations: 147.3 kB / 1.12 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/1.067, allocations: 0 / 1.12 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.453e-05/1.067, allocations: 345.1 kB / 1.12 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/1.068, allocations: 116.9 kB / 1.12 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/1.068, allocations: 218 kB / 1.12 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/1.068, allocations: 131.3 kB / 1.121 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.068, allocations: 1.125 kB / 1.121 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005938/1.069, allocations: 394.5 kB / 1.121 GB, free: 13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.069, allocations: 9.188 kB / 1.121 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.069, allocations: 3.625 kB / 1.121 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/1.069, allocations: 9.281 kB / 1.121 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/1.069, allocations: 102 kB / 1.121 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/1.069, allocations: 10.41 kB / 1.121 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/1.069, allocations: 60.66 kB / 1.121 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/1.069, allocations: 23.02 kB / 1.121 GB, free: 12.95 MB / 0.6823 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 9.911e-05/1.07, allocations: 127.9 kB / 1.121 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/1.07, allocations: 24.44 kB / 1.121 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/1.07, allocations: 32.47 kB / 1.121 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.07, allocations: 4.25 kB / 1.121 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.07, allocations: 1.812 kB / 1.121 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.07, allocations: 7.188 kB / 1.121 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/1.07, allocations: 308 kB / 1.122 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.07, allocations: 1.406 kB / 1.122 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/1.07, allocations: 81.05 kB / 1.122 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/1.07, allocations: 2.875 kB / 1.122 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/1.07, allocations: 11.05 kB / 1.122 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.07, allocations: 2.969 kB / 1.122 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.07, allocations: 5.344 kB / 1.122 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006846/1.071, allocations: 0.5042 MB / 1.122 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009215/1.072, allocations: 1.046 MB / 1.123 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/1.072, allocations: 101 kB / 1.123 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/1.072, allocations: 5.031 kB / 1.123 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/1.072, allocations: 44.81 kB / 1.123 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/1.073, allocations: 42.06 kB / 1.123 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/1.073, allocations: 12.64 kB / 1.123 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.818e-05/1.073, allocations: 117.4 kB / 1.124 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008959/1.074, allocations: 61.39 kB / 1.124 GB, free: 11.76 MB / 0.6823 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.000141/1.074, allocations: 118.4 kB / 1.124 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000466/1.074, allocations: 318.7 kB / 1.124 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.074, allocations: 1.156 kB / 1.124 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/1.074, allocations: 158 kB / 1.124 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/1.075, allocations: 38.7 kB / 1.124 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009139/1.076, allocations: 491.7 kB / 1.125 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/1.076, allocations: 0.8241 MB / 1.125 GB, free: 26.72 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/1.076, allocations: 0 / 1.125 GB, free: 26.72 MB / 0.698 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)