Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") [: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.379/1.379, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001002/0.001002, allocations: 177.3 kB / 366.3 MB, free: 2 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.13/1.13, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.0008116/0.0008115, allocations: 103.3 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.581e-06/5.601e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4399, allocations: 116.3 MB / 0.9726 GB, free: 68.59 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.5897, allocations: 147.8 MB / 1.117 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.59, allocations: 105.7 kB / 1.117 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02047/0.6105, allocations: 8.516 MB / 1.125 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.669e-05/0.6105, allocations: 11.94 kB / 1.125 GB, free: 8.051 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007321/0.6113, allocations: 0.6119 MB / 1.126 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.6113, allocations: 12.03 kB / 1.126 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.522e-05/0.6114, allocations: 43.44 kB / 1.126 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.612, allocations: 400 kB / 1.126 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.612, allocations: 11.91 kB / 1.126 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.6121, allocations: 21.67 kB / 1.126 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003067/0.6124, allocations: 168.9 kB / 1.127 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.6128, allocations: 234.7 kB / 1.127 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.6128, allocations: 0 / 1.127 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.6128, allocations: 0 / 1.127 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-06/0.6128, allocations: 8 kB / 1.127 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.6139, allocations: 0.7829 MB / 1.128 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.6145, allocations: 226.9 kB / 1.128 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.6146, allocations: 84.84 kB / 1.128 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.6146, allocations: 0 / 1.128 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.6148, allocations: 126 kB / 1.128 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.6148, allocations: 0 / 1.128 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.0003595/0.6152, allocations: 214.4 kB / 1.128 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.6152, allocations: 110.8 kB / 1.128 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.6156, allocations: 326 kB / 1.129 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.6156, allocations: 29.69 kB / 1.129 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.6157, allocations: 156.3 kB / 1.129 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.6157, allocations: 63.06 kB / 1.129 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.6158, allocations: 0.75 kB / 1.129 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6159, allocations: 346.8 kB / 1.129 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.616, allocations: 60 kB / 1.129 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.6161, allocations: 104.7 kB / 1.129 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.6162, allocations: 67.97 kB / 1.129 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6163, allocations: 0 / 1.129 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003309/0.6166, allocations: 217.1 kB / 1.13 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.6166, allocations: 8.094 kB / 1.13 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6166, allocations: 0.75 kB / 1.13 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.6166, allocations: 4 kB / 1.13 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.6169, allocations: 47.91 kB / 1.13 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6169, allocations: 4 kB / 1.13 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.6171, allocations: 27.77 kB / 1.13 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.6171, allocations: 8 kB / 1.13 GB, free: 3.348 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.dxSpe.trigger,dxSpeCon.cooMod,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.329e-05/0.6172, allocations: 114.3 kB / 1.13 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.6172, allocations: 35.53 kB / 1.13 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.6176, allocations: 219.4 kB / 1.13 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.6176, allocations: 4 kB / 1.13 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6177, allocations: 0 / 1.13 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6177, allocations: 0 / 1.13 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007139/0.6184, allocations: 0.6692 MB / 1.131 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6184, allocations: 0 / 1.131 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.6186, allocations: 40.53 kB / 1.131 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.6186, allocations: 0 / 1.131 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.6186, allocations: 0 / 1.131 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6186, allocations: 4 kB / 1.131 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6186, allocations: 0 / 1.131 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004921/0.6191, allocations: 418.8 kB / 1.131 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.6193, allocations: 137.7 kB / 1.131 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.6194, allocations: 7.984 kB / 1.131 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.6195, allocations: 8 kB / 1.131 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.6196, allocations: 16.16 kB / 1.131 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.6196, allocations: 19.97 kB / 1.131 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002263/0.6199, allocations: 256.6 kB / 1.132 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003095/0.6202, allocations: 71.84 kB / 1.132 GB, free: 1.27 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.dxSpe.trigger,$whenCondition2,$whenCondition1,dxSpeCon.cooMod,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.0005756/0.6208, allocations: 326.8 kB / 1.132 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000279/0.6211, allocations: 167.8 kB / 1.132 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6211, allocations: 128 / 1.132 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.6212, allocations: 91.92 kB / 1.132 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.6216, allocations: 75.53 kB / 1.132 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008388/0.6225, allocations: 447.3 kB / 1.133 GB, free: 268 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/0.6229, allocations: 0.8372 MB / 1.134 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of SimCode: time 2.9e-07/0.6229, allocations: 4 kB / 1.134 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of Templates: time 0.007135/0.6301, allocations: 3.971 MB / 1.137 GB, free: 11.48 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)