Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_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 9.1.1-maint.9.1.x/package.mo): time 1.85/1.85, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 169.3 kB / 487 MB, free: 5.371 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.156/1.156, allocations: 221.3 MB / 0.7819 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008558/0.0008558, allocations: 102.3 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4397/0.4406, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.6312, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5354/1.167, allocations: 149 MB / 1.351 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/1.167, allocations: 70.53 kB / 1.351 GB, free: 15.77 MB / 0.8073 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.0232/1.19, allocations: 8.965 MB / 1.36 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/1.19, allocations: 8.594 kB / 1.36 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.827e-05/1.19, allocations: 29.66 kB / 1.36 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/1.19, allocations: 196.4 kB / 1.36 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/1.191, allocations: 255.5 kB / 1.36 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/1.191, allocations: 21.97 kB / 1.36 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000321/1.191, allocations: 131.2 kB / 1.36 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/1.191, allocations: 214.9 kB / 1.36 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/1.191, allocations: 1.656 kB / 1.36 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/1.191, allocations: 1.812 kB / 1.36 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/1.191, allocations: 8.844 kB / 1.36 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/1.192, allocations: 0.7253 MB / 1.361 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/1.193, allocations: 183.3 kB / 1.361 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/1.193, allocations: 109.6 kB / 1.361 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/1.193, allocations: 5.547 kB / 1.361 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/1.193, allocations: 241.9 kB / 1.362 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/1.193, allocations: 4 kB / 1.362 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48): time 0.0004425/1.194, allocations: 291.8 kB / 1.362 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/1.194, allocations: 116.5 kB / 1.362 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/1.194, allocations: 156.1 kB / 1.362 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/1.194, allocations: 30.19 kB / 1.362 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/1.194, allocations: 109.9 kB / 1.362 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.918e-05/1.194, allocations: 139.2 kB / 1.363 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/1.194, allocations: 0 / 1.363 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.796e-05/1.194, allocations: 346.9 kB / 1.363 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/1.194, allocations: 116.4 kB / 1.363 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/1.194, allocations: 215 kB / 1.363 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/1.195, allocations: 145.3 kB / 1.363 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.195, allocations: 0 / 1.363 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005315/1.195, allocations: 393.3 kB / 1.364 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/1.195, allocations: 4 kB / 1.364 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.195, allocations: 4.656 kB / 1.364 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.195, allocations: 8 kB / 1.364 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/1.196, allocations: 104.5 kB / 1.364 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.196, allocations: 4.562 kB / 1.364 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/1.196, allocations: 68.08 kB / 1.364 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/1.196, allocations: 15.36 kB / 1.364 GB, free: 11.61 MB / 0.8073 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.movAve1.mode,movAve1.mode,$whenCondition6,$PRE.movAve2.mode,movAve2.mode,$whenCondition7,$PRE.movAve3.mode,movAve3.mode,$whenCondition8,$PRE.movAve4.mode,movAve4.mode,$whenCondition9,$PRE.movAve5.mode,movAve5.mode,$whenCondition3,$PRE.movAve6.mode,movAve6.mode,$whenCondition4,$PRE.movAve7.mode,movAve7.mode,$whenCondition1,$PRE.movAve8.mode,movAve8.mode,$whenCondition2,$PRE.movAve9.mode,movAve9.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 8.285e-05/1.196, allocations: 127.7 kB / 1.364 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/1.196, allocations: 25.03 kB / 1.364 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/1.196, allocations: 37.78 kB / 1.364 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.196, allocations: 7.938 kB / 1.364 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.196, allocations: 7.906 kB / 1.364 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/1.196, allocations: 2.578 kB / 1.364 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/1.197, allocations: 306.5 kB / 1.364 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.197, allocations: 0 / 1.364 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/1.197, allocations: 79.03 kB / 1.364 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.197, allocations: 4.562 kB / 1.364 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/1.197, allocations: 10.02 kB / 1.364 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.197, allocations: 0.6094 kB / 1.364 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.197, allocations: 7.906 kB / 1.364 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006223/1.198, allocations: 0.504 MB / 1.365 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000805/1.198, allocations: 1.038 MB / 1.366 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/1.198, allocations: 101.5 kB / 1.366 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/1.199, allocations: 16.78 kB / 1.366 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/1.199, allocations: 45.66 kB / 1.366 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/1.199, allocations: 32.7 kB / 1.366 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/1.199, allocations: 17.39 kB / 1.366 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.239e-05/1.199, allocations: 119.7 kB / 1.366 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000827/1.2, allocations: 65.5 kB / 1.366 GB, free: 9.562 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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.0001376/1.2, allocations: 121.2 kB / 1.366 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004025/1.2, allocations: 318.1 kB / 1.367 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.2, allocations: 0 / 1.367 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/1.201, allocations: 158.9 kB / 1.367 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/1.201, allocations: 27.23 kB / 1.367 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/1.202, allocations: 495.5 kB / 1.367 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/1.202, allocations: 0.8338 MB / 1.368 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of SimCode: time 2.21e-07/1.202, allocations: 0 / 1.368 GB, free: 7.898 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat does not exist to compare? outputFormat=mat