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_nonZeroStart.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_nonZeroStart,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.154/2.154, allocations: 284.8 MB / 292.1 MB, free: 9.871 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.001606/0.001606, allocations: 183.7 kB / 360.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.1 MB / 0.6187 GB, free: 3.367 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 87.41 kB / 0.7317 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.498/0.4992, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.6928, allocations: 115.3 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6197/1.312, allocations: 137.6 MB / 1.097 GB, free: 24.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/1.313, allocations: 67.2 kB / 1.097 GB, free: 24.34 MB / 0.7136 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.0371/1.35, allocations: 8.873 MB / 1.106 GB, free: 23.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.35, allocations: 10.84 kB / 1.106 GB, free: 23.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/1.35, allocations: 30.67 kB / 1.106 GB, free: 23.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/1.35, allocations: 192.3 kB / 1.106 GB, free: 23.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/1.35, allocations: 254.6 kB / 1.106 GB, free: 22.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/1.35, allocations: 30.92 kB / 1.106 GB, free: 22.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004862/1.351, allocations: 129.9 kB / 1.107 GB, free: 22.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/1.352, allocations: 222.5 kB / 1.107 GB, free: 22.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/1.352, allocations: 4 kB / 1.107 GB, free: 22.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/1.352, allocations: 7.703 kB / 1.107 GB, free: 22.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/1.352, allocations: 3.875 kB / 1.107 GB, free: 22.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/1.353, allocations: 0.7293 MB / 1.107 GB, free: 22.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008025/1.354, allocations: 170.6 kB / 1.108 GB, free: 22.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/1.354, allocations: 112.5 kB / 1.108 GB, free: 22.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.814e-05/1.354, allocations: 15.33 kB / 1.108 GB, free: 22.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/1.355, allocations: 240.7 kB / 1.108 GB, free: 22.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 2.836e-06/1.355, allocations: 3.938 kB / 1.108 GB, free: 22.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0008043/1.356, allocations: 287.5 kB / 1.108 GB, free: 22.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/1.356, allocations: 114.6 kB / 1.108 GB, free: 21.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/1.356, allocations: 155.4 kB / 1.108 GB, free: 21.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/1.356, allocations: 25.7 kB / 1.109 GB, free: 21.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/1.356, allocations: 109.6 kB / 1.109 GB, free: 21.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/1.356, allocations: 143.3 kB / 1.109 GB, free: 21.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/1.356, allocations: 0 / 1.109 GB, free: 21.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.555e-05/1.356, allocations: 349.5 kB / 1.109 GB, free: 21.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/1.357, allocations: 112.7 kB / 1.109 GB, free: 21.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/1.357, allocations: 216.2 kB / 1.109 GB, free: 21.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/1.357, allocations: 143.2 kB / 1.11 GB, free: 21.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.357, allocations: 0 / 1.11 GB, free: 21.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009814/1.358, allocations: 395.1 kB / 1.11 GB, free: 21.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.358, allocations: 3.906 kB / 1.11 GB, free: 21.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.358, allocations: 3.875 kB / 1.11 GB, free: 21.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.359, allocations: 7.812 kB / 1.11 GB, free: 21.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/1.359, allocations: 102.7 kB / 1.11 GB, free: 21.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.359, allocations: 9.328 kB / 1.11 GB, free: 21.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008444/1.36, allocations: 61.2 kB / 1.11 GB, free: 21.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/1.36, allocations: 23.75 kB / 1.11 GB, free: 21.09 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.0002193/1.361, allocations: 128.1 kB / 1.11 GB, free: 20.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/1.361, allocations: 24.53 kB / 1.11 GB, free: 20.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/1.361, allocations: 27.94 kB / 1.11 GB, free: 20.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.361, allocations: 9.281 kB / 1.11 GB, free: 20.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/1.361, allocations: 0 / 1.11 GB, free: 20.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.361, allocations: 11.12 kB / 1.11 GB, free: 20.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/1.361, allocations: 305.6 kB / 1.111 GB, free: 36.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.361, allocations: 7.125 kB / 1.111 GB, free: 36.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009221/1.362, allocations: 76.47 kB / 1.111 GB, free: 36.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/1.362, allocations: 3.219 kB / 1.111 GB, free: 36.76 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/1.362, allocations: 8.938 kB / 1.111 GB, free: 36.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/1.362, allocations: 4.859 kB / 1.111 GB, free: 36.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.362, allocations: 0 / 1.111 GB, free: 36.76 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00118/1.364, allocations: 0.5088 MB / 1.111 GB, free: 36.61 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001688/1.365, allocations: 1.042 MB / 1.112 GB, free: 36.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/1.365, allocations: 103.8 kB / 1.112 GB, free: 35.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.66e-05/1.365, allocations: 0 / 1.112 GB, free: 35.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/1.366, allocations: 51.81 kB / 1.112 GB, free: 35.97 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/1.366, allocations: 36.56 kB / 1.112 GB, free: 35.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/1.366, allocations: 18.08 kB / 1.112 GB, free: 35.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001107/1.366, allocations: 115.7 kB / 1.113 GB, free: 35.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001247/1.368, allocations: 69.19 kB / 1.113 GB, free: 35.89 MB / 0.7292 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.0001988/1.368, allocations: 115.4 kB / 1.113 GB, free: 35.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007977/1.369, allocations: 322.9 kB / 1.113 GB, free: 35.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.369, allocations: 4 kB / 1.113 GB, free: 35.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/1.369, allocations: 157.7 kB / 1.113 GB, free: 35.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/1.369, allocations: 23.42 kB / 1.113 GB, free: 35.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/1.371, allocations: 498.3 kB / 1.114 GB, free: 35.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006569/1.371, allocations: 0.822 MB / 1.114 GB, free: 34.85 MB / 0.7292 GB Notification: Performance of SimCode: time 8.32e-07/1.372, allocations: 0 / 1.114 GB, free: 34.85 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)