Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.001031, allocations: 181.3 kB / 316 MB, free: 3.59 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.143/1.143, allocations: 205.2 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007966/0.0007967, allocations: 82.41 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3707/0.3715, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.5466, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.552/1.099, allocations: 141.7 MB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.099, allocations: 103.2 kB / 1.023 GB, free: 13.01 MB / 0.6511 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.02261/1.122, allocations: 9.155 MB / 1.032 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/1.122, allocations: 8 kB / 1.032 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/1.122, allocations: 47.44 kB / 1.032 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006126/1.122, allocations: 396.6 kB / 1.033 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/1.122, allocations: 19.92 kB / 1.033 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/1.122, allocations: 12 kB / 1.033 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003695/1.123, allocations: 161.8 kB / 1.033 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/1.123, allocations: 238.1 kB / 1.033 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.123, allocations: 0 / 1.033 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/1.123, allocations: 7.984 kB / 1.033 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/1.123, allocations: 7.906 kB / 1.033 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/1.124, allocations: 0.7733 MB / 1.034 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/1.125, allocations: 225.1 kB / 1.034 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/1.125, allocations: 80.09 kB / 1.034 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/1.125, allocations: 7.984 kB / 1.034 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/1.125, allocations: 128.1 kB / 1.034 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/1.125, allocations: 0 / 1.034 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.000375/1.126, allocations: 204.2 kB / 1.034 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.126, allocations: 114.4 kB / 1.034 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/1.126, allocations: 333.5 kB / 1.035 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/1.126, allocations: 26.73 kB / 1.035 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/1.126, allocations: 167 kB / 1.035 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/1.126, allocations: 53.61 kB / 1.035 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/1.126, allocations: 0 / 1.035 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.126, allocations: 344.4 kB / 1.035 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.95e-05/1.126, allocations: 61.06 kB / 1.035 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/1.127, allocations: 104.2 kB / 1.035 GB, free: 2.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/1.127, allocations: 65.34 kB / 1.036 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.127, allocations: 0 / 1.036 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003216/1.127, allocations: 221.4 kB / 1.036 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.127, allocations: 8 kB / 1.036 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.127, allocations: 8.031 kB / 1.036 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/1.127, allocations: 0 / 1.036 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/1.127, allocations: 47.91 kB / 1.036 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/1.127, allocations: 0 / 1.036 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/1.128, allocations: 23.83 kB / 1.036 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/1.128, allocations: 7.188 kB / 1.036 GB, free: 2.133 MB / 0.6511 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.301e-05/1.128, allocations: 122.3 kB / 1.036 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/1.128, allocations: 31.62 kB / 1.036 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/1.128, allocations: 223.1 kB / 1.036 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.128, allocations: 0 / 1.036 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.128, allocations: 8 kB / 1.036 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.128, allocations: 3.984 kB / 1.036 GB, free: 1.801 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007166/1.129, allocations: 0.659 MB / 1.037 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.129, allocations: 0 / 1.037 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/1.129, allocations: 35.97 kB / 1.037 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/1.129, allocations: 0 / 1.037 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/1.129, allocations: 11.81 kB / 1.037 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.129, allocations: 0 / 1.037 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.129, allocations: 0 / 1.037 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000493/1.13, allocations: 416.8 kB / 1.037 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000736/1.13, allocations: 0.8844 MB / 1.038 GB, free: 112 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/1.131, allocations: 143.5 kB / 1.038 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/1.131, allocations: 7.5 kB / 1.038 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/1.131, allocations: 16.11 kB / 1.038 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/1.131, allocations: 15.41 kB / 1.038 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/1.131, allocations: 8 kB / 1.038 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002383/1.131, allocations: 254.3 kB / 1.039 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008849/1.132, allocations: 85.23 kB / 1.039 GB, free: 15.66 MB / 0.6667 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.0006052/1.133, allocations: 324.8 kB / 1.039 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002807/1.133, allocations: 163.4 kB / 1.039 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.133, allocations: 0 / 1.039 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/1.133, allocations: 92.17 kB / 1.039 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/1.134, allocations: 68.86 kB / 1.039 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009554/1.135, allocations: 458.5 kB / 1.04 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/1.135, allocations: 0.8405 MB / 1.041 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of SimCode: time 2.8e-07/1.135, allocations: 0 / 1.041 GB, free: 13.92 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)