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.Greater.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.Greater,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.336/1.336, allocations: 285.5 MB / 292.8 MB, free: 9.789 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.0008905/0.0008905, allocations: 175.5 kB / 361.1 MB, free: 368 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.03/1.03, allocations: 205.1 MB / 0.6195 GB, free: 2.945 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.0007471/0.0007471, allocations: 86.72 kB / 0.7326 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3627/0.3635, allocations: 121.5 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.5123, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.947, allocations: 140.7 MB / 1.101 GB, free: 23.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001699/0.9472, allocations: 73.83 kB / 1.101 GB, free: 23.95 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.01546/0.9627, allocations: 7.123 MB / 1.108 GB, free: 23.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.9627, allocations: 7.75 kB / 1.108 GB, free: 23.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.9628, allocations: 27.25 kB / 1.108 GB, free: 23.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.9633, allocations: 329.8 kB / 1.109 GB, free: 22.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.9633, allocations: 7.406 kB / 1.109 GB, free: 22.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.9633, allocations: 3.844 kB / 1.109 GB, free: 22.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.547e-05/0.9634, allocations: 48.03 kB / 1.109 GB, free: 22.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.9635, allocations: 84.61 kB / 1.109 GB, free: 22.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.9635, allocations: 0 / 1.109 GB, free: 22.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.9636, allocations: 0 / 1.109 GB, free: 22.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.9636, allocations: 3.875 kB / 1.109 GB, free: 22.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.9641, allocations: 431.1 kB / 1.109 GB, free: 22.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.9642, allocations: 78.89 kB / 1.109 GB, free: 22.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.9643, allocations: 25.77 kB / 1.109 GB, free: 22.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.9643, allocations: 0 / 1.109 GB, free: 22.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.86e-05/0.9644, allocations: 77.89 kB / 1.109 GB, free: 22.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.9644, allocations: 0 / 1.109 GB, free: 22.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001921/0.9646, allocations: 95.17 kB / 1.109 GB, free: 22.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.9646, allocations: 54.08 kB / 1.109 GB, free: 22.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.9649, allocations: 311.6 kB / 1.11 GB, free: 22.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.9649, allocations: 30.33 kB / 1.11 GB, free: 22.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.9649, allocations: 114.2 kB / 1.11 GB, free: 22.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.965, allocations: 22.08 kB / 1.11 GB, free: 22.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.965, allocations: 4 kB / 1.11 GB, free: 22.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.965, allocations: 334.6 kB / 1.11 GB, free: 21.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/0.9651, allocations: 65.39 kB / 1.11 GB, free: 21.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.9652, allocations: 89.5 kB / 1.11 GB, free: 21.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.9654, allocations: 74.95 kB / 1.11 GB, free: 21.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9654, allocations: 3.938 kB / 1.11 GB, free: 21.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003154/0.9657, allocations: 208.7 kB / 1.111 GB, free: 21.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.9658, allocations: 11.16 kB / 1.111 GB, free: 21.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.9658, allocations: 0 / 1.111 GB, free: 21.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.9658, allocations: 0 / 1.111 GB, free: 21.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.9659, allocations: 29.8 kB / 1.111 GB, free: 21.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.9659, allocations: 0 / 1.111 GB, free: 21.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.966, allocations: 23.67 kB / 1.111 GB, free: 21.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.966, allocations: 7.75 kB / 1.111 GB, free: 21.79 MB / 0.7136 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 6.795e-05/0.9661, allocations: 108.8 kB / 1.111 GB, free: 37.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.9662, allocations: 29.09 kB / 1.111 GB, free: 37.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.9663, allocations: 106.8 kB / 1.111 GB, free: 37.62 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.9663, allocations: 0 / 1.111 GB, free: 37.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.9663, allocations: 3.781 kB / 1.111 GB, free: 37.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.9664, allocations: 2.719 kB / 1.111 GB, free: 37.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.9665, allocations: 219.8 kB / 1.111 GB, free: 37.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.9665, allocations: 11.66 kB / 1.111 GB, free: 37.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.9665, allocations: 6.531 kB / 1.111 GB, free: 37.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9666, allocations: 0 / 1.111 GB, free: 37.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.9666, allocations: 3.562 kB / 1.111 GB, free: 37.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9666, allocations: 3.406 kB / 1.111 GB, free: 37.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9666, allocations: 0 / 1.111 GB, free: 37.45 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001271/0.9667, allocations: 120.7 kB / 1.111 GB, free: 37.38 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002054/0.9669, allocations: 0.5021 MB / 1.112 GB, free: 36.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.967, allocations: 100.3 kB / 1.112 GB, free: 36.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.967, allocations: 3.188 kB / 1.112 GB, free: 36.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.9671, allocations: 15.42 kB / 1.112 GB, free: 36.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.9672, allocations: 13 kB / 1.112 GB, free: 36.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.9672, allocations: 7.312 kB / 1.112 GB, free: 36.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000155/0.9673, allocations: 212.1 kB / 1.112 GB, free: 36.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008332/0.9682, allocations: 52.39 kB / 1.112 GB, free: 36.73 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.0005203/0.9687, allocations: 337.9 kB / 1.113 GB, free: 36.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.9689, allocations: 101.2 kB / 1.113 GB, free: 36.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.9689, allocations: 4.062 kB / 1.113 GB, free: 36.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.823e-05/0.9689, allocations: 32.95 kB / 1.113 GB, free: 36.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.9692, allocations: 45.41 kB / 1.113 GB, free: 36.53 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.9696, allocations: 286.3 kB / 1.113 GB, free: 36.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.97, allocations: 0.7771 MB / 1.114 GB, free: 35.71 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.97, allocations: 0 / 1.114 GB, free: 35.71 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)