Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") [: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.346/1.346, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001001/0.001001, allocations: 181.3 kB / 366.3 MB, free: 1.949 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.09/1.09, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0007801/0.0007801, allocations: 88.17 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.129e-05/1.141e-05, allocations: 4 kB / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.447, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.5906, allocations: 141.7 MB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.5909, allocations: 75.95 kB / 1.111 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01727/0.6081, allocations: 6.533 MB / 1.117 GB, free: 176 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.6082, allocations: 4.938 kB / 1.117 GB, free: 172 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005547/0.6087, allocations: 497.7 kB / 1.118 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.6088, allocations: 12.03 kB / 1.118 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.6088, allocations: 19.72 kB / 1.118 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.6094, allocations: 331 kB / 1.118 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.6094, allocations: 4 kB / 1.118 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.6094, allocations: 4 kB / 1.118 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.21e-05/0.6095, allocations: 43.92 kB / 1.118 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.6097, allocations: 69.67 kB / 1.118 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.6097, allocations: 3.906 kB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.6097, allocations: 4.547 kB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.6097, allocations: 4 kB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.6102, allocations: 417.1 kB / 1.119 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.6104, allocations: 82.66 kB / 1.119 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.6105, allocations: 24.98 kB / 1.119 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.6105, allocations: 3.906 kB / 1.119 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.325e-05/0.6106, allocations: 72.14 kB / 1.119 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.6106, allocations: 4 kB / 1.119 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.000202/0.6108, allocations: 97.33 kB / 1.119 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.6108, allocations: 51.41 kB / 1.119 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.6112, allocations: 315.4 kB / 1.119 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.6112, allocations: 33.69 kB / 1.119 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.6112, allocations: 108 kB / 1.12 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.6113, allocations: 23.72 kB / 1.12 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.6113, allocations: 0.8438 kB / 1.12 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6114, allocations: 346.7 kB / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.6115, allocations: 59.98 kB / 1.12 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.6116, allocations: 86.55 kB / 1.12 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.6118, allocations: 71.95 kB / 1.12 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6118, allocations: 0 / 1.12 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003531/0.6122, allocations: 209.3 kB / 1.12 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.6122, allocations: 12.06 kB / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.6122, allocations: 0 / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.6122, allocations: 0.6562 kB / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.6124, allocations: 23.98 kB / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.6124, allocations: 0 / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.6125, allocations: 19.83 kB / 1.12 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.6125, allocations: 15.94 kB / 1.12 GB, free: 12.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 6.616e-05/0.6126, allocations: 113.7 kB / 1.12 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.6126, allocations: 19.72 kB / 1.12 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.6128, allocations: 107 kB / 1.121 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.6128, allocations: 7.984 kB / 1.121 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.6128, allocations: 0 / 1.121 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-06/0.6129, allocations: 3.906 kB / 1.121 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.613, allocations: 218.1 kB / 1.121 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.613, allocations: 0 / 1.121 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.6131, allocations: 7.984 kB / 1.121 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.6131, allocations: 5.594 kB / 1.121 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.6131, allocations: 4 kB / 1.121 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6131, allocations: 0 / 1.121 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6131, allocations: 0 / 1.121 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001544/0.6133, allocations: 128.7 kB / 1.121 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.6133, allocations: 104.8 kB / 1.121 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.6134, allocations: 4 kB / 1.121 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.6135, allocations: 15.98 kB / 1.121 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.6135, allocations: 11.98 kB / 1.121 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.6136, allocations: 4 kB / 1.121 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001818/0.6137, allocations: 219.1 kB / 1.121 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002403/0.614, allocations: 44.05 kB / 1.121 GB, free: 11.87 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.0005961/0.6146, allocations: 333.3 kB / 1.122 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.6148, allocations: 105 kB / 1.122 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.6148, allocations: 0 / 1.122 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.498e-05/0.6148, allocations: 28 kB / 1.122 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.6151, allocations: 47.05 kB / 1.122 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.6156, allocations: 283.4 kB / 1.122 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.6159, allocations: 0.7784 MB / 1.123 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.6159, allocations: 0 / 1.123 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.005012/0.6209, allocations: 2.468 MB / 1.125 GB, free: 7.914 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)