Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",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.31/1.31, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009448/0.0009448, allocations: 179.2 kB / 361.1 MB, free: 7.074 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.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.000772/0.000772, allocations: 91.38 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.172/0.1728, allocations: 121.4 MB / 0.8511 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.5803, allocations: 115.3 MB / 0.9638 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.7234, allocations: 146.9 MB / 1.107 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.7236, allocations: 92.69 kB / 1.107 GB, free: 9.008 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0219/0.7456, allocations: 9.16 MB / 1.116 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.7456, allocations: 8.5 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.7457, allocations: 47.44 kB / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000656/0.7464, allocations: 400 kB / 1.117 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.7464, allocations: 11.91 kB / 1.117 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.7465, allocations: 16 kB / 1.117 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003197/0.7468, allocations: 162.2 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.7472, allocations: 238.7 kB / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7472, allocations: 3.984 kB / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.7472, allocations: 2.25 kB / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.7473, allocations: 8 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.7485, allocations: 0.7713 MB / 1.118 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.749, allocations: 235.9 kB / 1.118 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.7492, allocations: 76.84 kB / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.7492, allocations: 4 kB / 1.118 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.7494, allocations: 130.9 kB / 1.118 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.7494, allocations: 0 / 1.118 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.0003808/0.7498, allocations: 213.8 kB / 1.118 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.7499, allocations: 102.8 kB / 1.119 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.7502, allocations: 330 kB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.7503, allocations: 29.7 kB / 1.119 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.7504, allocations: 156.3 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.7504, allocations: 63.06 kB / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.7504, allocations: 0 / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.7506, allocations: 346.8 kB / 1.119 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.7507, allocations: 59.98 kB / 1.119 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.7508, allocations: 100.3 kB / 1.12 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.7509, allocations: 67.97 kB / 1.12 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7509, allocations: 0 / 1.12 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003314/0.7513, allocations: 227.7 kB / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.7513, allocations: 5.562 kB / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.7513, allocations: 0 / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.7513, allocations: 4 kB / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.7515, allocations: 44.94 kB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7516, allocations: 6.266 kB / 1.12 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.7518, allocations: 23.89 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.7518, allocations: 11.94 kB / 1.12 GB, free: 11.87 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.901e-05/0.7519, allocations: 114.7 kB / 1.12 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.7519, allocations: 39.53 kB / 1.12 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.7523, allocations: 217 kB / 1.12 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.7523, allocations: 4 kB / 1.12 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7524, allocations: 4 kB / 1.12 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7524, allocations: 0 / 1.12 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007607/0.7531, allocations: 0.6586 MB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7531, allocations: 1.781 kB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.7533, allocations: 39.91 kB / 1.121 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.7534, allocations: 4 kB / 1.121 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.7534, allocations: 0 / 1.121 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7534, allocations: 4 kB / 1.121 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7534, allocations: 0 / 1.121 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005027/0.7539, allocations: 420.7 kB / 1.121 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007484/0.7547, allocations: 0.8784 MB / 1.122 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.7548, allocations: 144.6 kB / 1.122 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.7549, allocations: 8.062 kB / 1.122 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.7551, allocations: 15.89 kB / 1.122 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.7551, allocations: 15.98 kB / 1.122 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.7552, allocations: 11.98 kB / 1.122 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002461/0.7554, allocations: 252.6 kB / 1.123 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008672/0.7563, allocations: 75.83 kB / 1.123 GB, free: 8.887 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.000568/0.7569, allocations: 329.3 kB / 1.123 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.7572, allocations: 163.9 kB / 1.123 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7572, allocations: 3.938 kB / 1.123 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.7573, allocations: 87.92 kB / 1.123 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.7578, allocations: 87.3 kB / 1.123 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009469/0.7587, allocations: 451.3 kB / 1.124 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.7592, allocations: 0.8419 MB / 1.125 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.7592, allocations: 0 / 1.125 GB, free: 7.027 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)