Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.844/1.844, allocations: 390.4 MB / 397.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009653/0.0009653, allocations: 185.2 kB / 490.8 MB, free: 1.898 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.144/1.144, allocations: 221.3 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007778/0.000778, allocations: 96.78 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4199/0.4207, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.6096, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5251/1.135, allocations: 159.3 MB / 1.367 GB, free: 17.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.135, allocations: 94.94 kB / 1.367 GB, free: 17.08 MB / 0.823 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.02269/1.158, allocations: 9.247 MB / 1.376 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/1.158, allocations: 8.438 kB / 1.376 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/1.158, allocations: 54.14 kB / 1.376 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006996/1.159, allocations: 394.3 kB / 1.377 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/1.159, allocations: 7.812 kB / 1.377 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/1.159, allocations: 19.11 kB / 1.377 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003481/1.159, allocations: 164.8 kB / 1.377 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/1.159, allocations: 244.7 kB / 1.377 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.159, allocations: 0 / 1.377 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/1.16, allocations: 1.828 kB / 1.377 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/1.16, allocations: 6.094 kB / 1.377 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/1.161, allocations: 0.7796 MB / 1.378 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/1.161, allocations: 222.8 kB / 1.378 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/1.162, allocations: 83.62 kB / 1.378 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/1.162, allocations: 2.625 kB / 1.378 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/1.162, allocations: 132.3 kB / 1.378 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/1.162, allocations: 0 / 1.378 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0004002/1.162, allocations: 206.1 kB / 1.379 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/1.162, allocations: 110.9 kB / 1.379 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/1.163, allocations: 331.5 kB / 1.379 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/1.163, allocations: 27.23 kB / 1.379 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/1.163, allocations: 160.9 kB / 1.379 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/1.163, allocations: 60.19 kB / 1.379 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/1.163, allocations: 0 / 1.379 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.163, allocations: 351.3 kB / 1.38 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/1.163, allocations: 57.81 kB / 1.38 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/1.163, allocations: 108.5 kB / 1.38 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/1.163, allocations: 70.03 kB / 1.38 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.163, allocations: 1.312 kB / 1.38 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000361/1.164, allocations: 217.2 kB / 1.38 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.164, allocations: 8.719 kB / 1.38 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.164, allocations: 9.859 kB / 1.38 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.164, allocations: 2.5 kB / 1.38 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/1.164, allocations: 42.61 kB / 1.38 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.164, allocations: 0.9062 kB / 1.38 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/1.164, allocations: 19.14 kB / 1.38 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/1.164, allocations: 6.281 kB / 1.38 GB, free: 30.45 MB / 0.8386 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 9.087e-05/1.164, allocations: 117.8 kB / 1.38 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/1.164, allocations: 37.36 kB / 1.38 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/1.165, allocations: 221.7 kB / 1.38 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.165, allocations: 3 kB / 1.38 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.165, allocations: 0 / 1.38 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.165, allocations: 1.781 kB / 1.38 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008397/1.166, allocations: 0.6547 MB / 1.381 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/1.166, allocations: 1.531 kB / 1.381 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/1.166, allocations: 39.39 kB / 1.381 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/1.166, allocations: 6.844 kB / 1.381 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/1.166, allocations: 2.172 kB / 1.381 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.166, allocations: 1.094 kB / 1.381 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.166, allocations: 4.641 kB / 1.381 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005478/1.167, allocations: 417.4 kB / 1.382 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007578/1.167, allocations: 0.8832 MB / 1.382 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/1.168, allocations: 146.3 kB / 1.383 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/1.168, allocations: 1.484 kB / 1.383 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/1.168, allocations: 14.09 kB / 1.383 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/1.168, allocations: 18.39 kB / 1.383 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/1.168, allocations: 10.27 kB / 1.383 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002983/1.168, allocations: 256.4 kB / 1.383 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000927/1.169, allocations: 83.3 kB / 1.383 GB, free: 29.06 MB / 0.8386 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.0006414/1.17, allocations: 325.3 kB / 1.383 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003315/1.17, allocations: 163.7 kB / 1.383 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.17, allocations: 0 / 1.383 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/1.17, allocations: 90.7 kB / 1.383 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/1.171, allocations: 64.11 kB / 1.384 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/1.172, allocations: 461.1 kB / 1.384 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/1.172, allocations: 0.8447 MB / 1.385 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.172, allocations: 0 / 1.385 GB, free: 27.91 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)