Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.313/1.313, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.0009177/0.0009177, allocations: 186.4 kB / 361.1 MB, free: 7.125 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.002/1.002, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007428/0.0007428, allocations: 91.08 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1739/0.1747, allocations: 121.5 MB / 0.8512 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.5817, allocations: 115.3 MB / 0.9638 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.713, allocations: 137.8 MB / 1.098 GB, free: 2.254 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/0.7132, allocations: 75.33 kB / 1.098 GB, free: 2.184 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.02311/0.7364, allocations: 8.88 MB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.7364, allocations: 12 kB / 1.107 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.7365, allocations: 27.72 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.7366, allocations: 187.6 kB / 1.107 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.7368, allocations: 265.9 kB / 1.108 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.7369, allocations: 19.91 kB / 1.108 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002722/0.7372, allocations: 132.8 kB / 1.108 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.7375, allocations: 221.2 kB / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.7375, allocations: 0 / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.7376, allocations: 3.906 kB / 1.108 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.7376, allocations: 10.06 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.7387, allocations: 0.7277 MB / 1.109 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.7391, allocations: 184.1 kB / 1.109 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.7393, allocations: 111 kB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.7393, allocations: 4.562 kB / 1.109 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/0.7397, allocations: 242.7 kB / 1.109 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 2.134e-06/0.7397, allocations: 0 / 1.109 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0005717/0.7403, allocations: 283.8 kB / 1.109 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.7404, allocations: 118.8 kB / 1.11 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.7405, allocations: 154.7 kB / 1.11 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.7405, allocations: 25.7 kB / 1.11 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.7406, allocations: 113.2 kB / 1.11 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.7407, allocations: 138 kB / 1.11 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.7408, allocations: 0 / 1.11 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7409, allocations: 346.8 kB / 1.11 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.7411, allocations: 117.3 kB / 1.11 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.7413, allocations: 219.5 kB / 1.111 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.7415, allocations: 128.6 kB / 1.111 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7416, allocations: 4 kB / 1.111 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006146/0.7422, allocations: 401.7 kB / 1.111 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.7422, allocations: 4 kB / 1.111 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7422, allocations: 7.938 kB / 1.111 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7422, allocations: 4 kB / 1.111 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.7426, allocations: 103.8 kB / 1.111 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.7426, allocations: 4 kB / 1.111 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.7429, allocations: 68.56 kB / 1.111 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.743, allocations: 20 kB / 1.111 GB, free: 4.711 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.0001104/0.7431, allocations: 127.5 kB / 1.111 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.7431, allocations: 23.72 kB / 1.111 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.7432, allocations: 29.75 kB / 1.111 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.7432, allocations: 7.906 kB / 1.111 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7432, allocations: 1.875 kB / 1.111 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.7432, allocations: 8.078 kB / 1.111 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.7435, allocations: 317.8 kB / 1.112 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.7435, allocations: 0.9375 kB / 1.112 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.744, allocations: 75.89 kB / 1.112 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.744, allocations: 0 / 1.112 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.744, allocations: 11.98 kB / 1.112 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.744, allocations: 4 kB / 1.112 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.744, allocations: 7.844 kB / 1.112 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006801/0.7447, allocations: 0.4953 MB / 1.112 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009735/0.7457, allocations: 1.05 MB / 1.113 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.7458, allocations: 100.8 kB / 1.113 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.7458, allocations: 7.906 kB / 1.113 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.7461, allocations: 43.95 kB / 1.114 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.7462, allocations: 35.95 kB / 1.114 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.7462, allocations: 19.98 kB / 1.114 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.52e-05/0.7463, allocations: 113.5 kB / 1.114 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009236/0.7472, allocations: 60 kB / 1.114 GB, free: 2.062 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.0001598/0.7474, allocations: 129.6 kB / 1.114 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004722/0.7479, allocations: 324.8 kB / 1.114 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7479, allocations: 4 kB / 1.114 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.7481, allocations: 155.8 kB / 1.114 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.7484, allocations: 29.56 kB / 1.114 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.7493, allocations: 498.8 kB / 1.115 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/0.7498, allocations: 0.8192 MB / 1.116 GB, free: 72 kB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.7498, allocations: 4 kB / 1.116 GB, free: 68 kB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)