Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",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.826/1.826, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009701/0.0009701, allocations: 184.8 kB / 487 MB, free: 5.355 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.17/1.17, 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.0008516/0.0008516, allocations: 97.19 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4217/0.4226, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.6184, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5193/1.138, allocations: 152.7 MB / 1.354 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/1.138, allocations: 75.33 kB / 1.355 GB, free: 15.8 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.02084/1.159, allocations: 7.829 MB / 1.362 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/1.159, allocations: 12 kB / 1.362 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.43e-05/1.159, allocations: 32.19 kB / 1.362 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/1.16, allocations: 341.5 kB / 1.363 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/1.16, allocations: 4.656 kB / 1.363 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/1.16, allocations: 7.906 kB / 1.363 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001493/1.16, allocations: 62.3 kB / 1.363 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/1.16, allocations: 110.3 kB / 1.363 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/1.16, allocations: 0 / 1.363 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/1.16, allocations: 3.938 kB / 1.363 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.16, allocations: 4 kB / 1.363 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/1.161, allocations: 488.5 kB / 1.363 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/1.161, allocations: 115.1 kB / 1.363 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/1.161, allocations: 34.05 kB / 1.363 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/1.161, allocations: 8.125 kB / 1.363 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/1.161, allocations: 86.19 kB / 1.363 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/1.161, allocations: 0 / 1.363 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.000248/1.161, allocations: 130.2 kB / 1.364 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/1.161, allocations: 51.41 kB / 1.364 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/1.162, allocations: 334.6 kB / 1.364 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/1.162, allocations: 29.7 kB / 1.364 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/1.162, allocations: 120.5 kB / 1.364 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/1.162, allocations: 30.89 kB / 1.364 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/1.162, allocations: 0 / 1.364 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.872e-05/1.162, allocations: 337 kB / 1.364 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/1.162, allocations: 74.3 kB / 1.364 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/1.162, allocations: 98.48 kB / 1.365 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/1.162, allocations: 86.12 kB / 1.365 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.162, allocations: 0 / 1.365 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003792/1.163, allocations: 242.5 kB / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.163, allocations: 8.062 kB / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.163, allocations: 4 kB / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/1.163, allocations: 0 / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/1.163, allocations: 39.91 kB / 1.365 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/1.163, allocations: 0 / 1.365 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/1.163, allocations: 39.88 kB / 1.365 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/1.163, allocations: 7.375 kB / 1.365 GB, free: 11.35 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 6.33e-05/1.163, allocations: 105 kB / 1.365 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/1.163, allocations: 27.7 kB / 1.365 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/1.164, allocations: 148.7 kB / 1.365 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.164, allocations: 3.906 kB / 1.365 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.164, allocations: 0 / 1.365 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.164, allocations: 3.984 kB / 1.365 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/1.164, allocations: 244.4 kB / 1.365 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.164, allocations: 0 / 1.365 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/1.164, allocations: 23.97 kB / 1.365 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/1.164, allocations: 0 / 1.365 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/1.164, allocations: 11.91 kB / 1.366 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.164, allocations: 0 / 1.366 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.164, allocations: 0 / 1.366 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001843/1.164, allocations: 156.6 kB / 1.366 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002107/1.164, allocations: 0.5253 MB / 1.366 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/1.164, allocations: 108.3 kB / 1.366 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/1.164, allocations: 3.984 kB / 1.366 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/1.165, allocations: 23.42 kB / 1.366 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/1.165, allocations: 27.25 kB / 1.366 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/1.165, allocations: 8.078 kB / 1.366 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001615/1.165, allocations: 225 kB / 1.367 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00081/1.166, allocations: 63.55 kB / 1.367 GB, free: 9.734 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006458/1.166, allocations: 323.9 kB / 1.367 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002084/1.167, allocations: 132.6 kB / 1.367 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/1.167, allocations: 4.062 kB / 1.367 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/1.167, allocations: 45.38 kB / 1.367 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/1.167, allocations: 55.09 kB / 1.367 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/1.168, allocations: 326.9 kB / 1.367 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/1.168, allocations: 0.7898 MB / 1.368 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of SimCode: time 2.41e-07/1.168, allocations: 0 / 1.368 GB, free: 8.227 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)