Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.401/1.401, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001045/0.001045, allocations: 173.3 kB / 366.3 MB, free: 1.984 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.116/1.116, allocations: 205.1 MB / 0.6256 GB, free: 7.461 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.0008789/0.0008786, allocations: 84.22 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1978/0.1987, allocations: 122.4 MB / 0.8591 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.6731, allocations: 116.3 MB / 0.9727 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.8225, allocations: 141.7 MB / 1.111 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.8228, allocations: 84.41 kB / 1.111 GB, free: 8.746 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01889/0.8417, allocations: 7.12 MB / 1.118 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.8418, allocations: 8 kB / 1.118 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.8418, allocations: 31.62 kB / 1.118 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.8424, allocations: 321.9 kB / 1.118 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.8424, allocations: 4 kB / 1.118 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.8424, allocations: 4 kB / 1.118 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.8426, allocations: 54.08 kB / 1.118 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.8427, allocations: 86.31 kB / 1.119 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.8427, allocations: 0 / 1.119 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.8427, allocations: 3.938 kB / 1.119 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.8427, allocations: 0 / 1.119 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.8434, allocations: 433.1 kB / 1.119 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.8436, allocations: 78.67 kB / 1.119 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.8436, allocations: 24.98 kB / 1.119 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.8437, allocations: 0.8438 kB / 1.119 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.737e-05/0.8438, allocations: 71.39 kB / 1.119 GB, free: 460 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.8438, allocations: 0 / 1.119 GB, free: 460 kB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002067/0.844, allocations: 99.59 kB / 1.119 GB, free: 356 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.844, allocations: 51.41 kB / 1.119 GB, free: 292 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.8444, allocations: 320.9 kB / 1.12 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.8444, allocations: 25.7 kB / 1.12 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.8445, allocations: 112 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.8445, allocations: 23.73 kB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.8445, allocations: 1.219 kB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.8446, allocations: 338.7 kB / 1.12 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.8448, allocations: 59.97 kB / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.8449, allocations: 86.55 kB / 1.12 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.8451, allocations: 75.98 kB / 1.12 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.8451, allocations: 0 / 1.12 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003846/0.8455, allocations: 211.7 kB / 1.121 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.8455, allocations: 4 kB / 1.121 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.8455, allocations: 4 kB / 1.121 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.8455, allocations: 0 / 1.121 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.8456, allocations: 23.98 kB / 1.121 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.8457, allocations: 4 kB / 1.121 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.8458, allocations: 23.86 kB / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.8458, allocations: 8.938 kB / 1.121 GB, free: 14.95 MB / 0.7292 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 (18): * Single equations (assignments): 18 * 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.759e-05/0.8459, allocations: 114.6 kB / 1.121 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.846, allocations: 23.66 kB / 1.121 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.8462, allocations: 107.4 kB / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8462, allocations: 4 kB / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.8462, allocations: 0 / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8462, allocations: 1.688 kB / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.8464, allocations: 230 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.8464, allocations: 0 / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.399e-05/0.8464, allocations: 8 kB / 1.121 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8464, allocations: 0.5625 kB / 1.121 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.8465, allocations: 3.984 kB / 1.121 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8465, allocations: 0 / 1.121 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8465, allocations: 4 kB / 1.121 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001654/0.8467, allocations: 130.9 kB / 1.121 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002777/0.8469, allocations: 0.5011 MB / 1.122 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.847, allocations: 93.86 kB / 1.122 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.8471, allocations: 7.906 kB / 1.122 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/0.8472, allocations: 21.36 kB / 1.122 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.8472, allocations: 11.97 kB / 1.122 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.8473, allocations: 4 kB / 1.122 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001981/0.8475, allocations: 213.2 kB / 1.122 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008657/0.8483, allocations: 51.94 kB / 1.122 GB, free: 13.34 MB / 0.7292 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 (8): * Single equations (assignments): 6 * 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.0006216/0.849, allocations: 328.9 kB / 1.122 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.8492, allocations: 99.92 kB / 1.122 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8492, allocations: 0 / 1.122 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.129e-05/0.8492, allocations: 35.92 kB / 1.122 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.8495, allocations: 43.89 kB / 1.123 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.8501, allocations: 289.7 kB / 1.123 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/0.8505, allocations: 0.7813 MB / 1.124 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/0.8505, allocations: 0 / 1.124 GB, free: 11.86 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)