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.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,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.248/1.248, allocations: 249.4 MB / 256.7 MB, free: 7.055 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.0009447/0.0009447, allocations: 181.2 kB / 316 MB, free: 3.547 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.144/1.144, allocations: 205.1 MB / 0.5667 GB, free: 15.63 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.0008054/0.0008055, allocations: 93.62 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3386/0.3394, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.5069, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.9696, allocations: 132.7 MB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.9699, allocations: 70.39 kB / 1.014 GB, free: 5.852 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.0233/0.9933, allocations: 9.008 MB / 1.023 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.9933, allocations: 8 kB / 1.023 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.9934, allocations: 35.62 kB / 1.023 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.9935, allocations: 199.5 kB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.9937, allocations: 255.4 kB / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.9938, allocations: 20.84 kB / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002599/0.994, allocations: 132.9 kB / 1.024 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.9943, allocations: 226.4 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.9944, allocations: 0 / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.9944, allocations: 3.984 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.9944, allocations: 8 kB / 1.024 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009554/0.9954, allocations: 0.7288 MB / 1.025 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.9957, allocations: 171.6 kB / 1.025 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.9959, allocations: 117.8 kB / 1.025 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.9959, allocations: 16.11 kB / 1.025 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.9962, allocations: 241.7 kB / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 1.793e-06/0.9962, allocations: 0 / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0004663/0.9967, allocations: 279.6 kB / 1.026 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.9967, allocations: 118.2 kB / 1.026 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.9969, allocations: 148.1 kB / 1.026 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.9969, allocations: 29.7 kB / 1.026 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.9969, allocations: 105.1 kB / 1.026 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/0.997, allocations: 147.5 kB / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.9971, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.9972, allocations: 340.4 kB / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.9974, allocations: 123.3 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.9976, allocations: 210.2 kB / 1.027 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.9978, allocations: 135.9 kB / 1.027 GB, free: 11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9978, allocations: 0 / 1.027 GB, free: 11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005416/0.9984, allocations: 403.4 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.9984, allocations: 4 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.9984, allocations: 7.906 kB / 1.027 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.9984, allocations: 4 kB / 1.027 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.9988, allocations: 98.88 kB / 1.027 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.9988, allocations: 12 kB / 1.027 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.9991, allocations: 59.66 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.9991, allocations: 19.62 kB / 1.027 GB, free: 10.49 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.0001057/0.9993, allocations: 134 kB / 1.028 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.9993, allocations: 34.88 kB / 1.028 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.9994, allocations: 22.19 kB / 1.028 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.9994, allocations: 8 kB / 1.028 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.9994, allocations: 0 / 1.028 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.9994, allocations: 7.984 kB / 1.028 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.9997, allocations: 317.3 kB / 1.028 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9997, allocations: 0 / 1.028 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/1, allocations: 75.45 kB / 1.028 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1, allocations: 4 kB / 1.028 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/1, allocations: 11.92 kB / 1.028 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1, allocations: 4 kB / 1.028 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1, allocations: 0.7031 kB / 1.028 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006791/1.001, allocations: 0.506 MB / 1.028 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001011/1.002, allocations: 1.045 MB / 1.029 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/1.002, allocations: 101 kB / 1.03 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/1.002, allocations: 0 / 1.03 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/1.002, allocations: 47.89 kB / 1.03 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/1.002, allocations: 42.83 kB / 1.03 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/1.002, allocations: 19.11 kB / 1.03 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.734e-05/1.002, allocations: 119.4 kB / 1.03 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008283/1.003, allocations: 63.91 kB / 1.03 GB, free: 8.25 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.0001507/1.003, allocations: 118.1 kB / 1.03 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004437/1.004, allocations: 317.9 kB / 1.03 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.004, allocations: 4 kB / 1.03 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/1.004, allocations: 162.4 kB / 1.03 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/1.004, allocations: 24.5 kB / 1.03 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/1.005, allocations: 493.2 kB / 1.031 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/1.006, allocations: 0.833 MB / 1.032 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.006, allocations: 0 / 1.032 GB, free: 6.457 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)