Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.126/2.126, allocations: 253.1 MB / 260.4 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001803/0.001802, allocations: 165.3 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001381/0.00138, allocations: 91.39 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.486e-06/8.737e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2258, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8271/1.053, allocations: 141.5 MB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006542/1.054, allocations: 94.3 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.05138/1.105, allocations: 8.537 MB / 1.035 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.788e-05/1.105, allocations: 15.88 kB / 1.035 GB, free: 5.875 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.001488/1.107, allocations: 0.622 MB / 1.035 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/1.107, allocations: 8.031 kB / 1.035 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/1.107, allocations: 43.44 kB / 1.035 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/1.108, allocations: 396.5 kB / 1.036 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/1.108, allocations: 8 kB / 1.036 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/1.108, allocations: 23.94 kB / 1.036 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005943/1.109, allocations: 160.7 kB / 1.036 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/1.11, allocations: 237.5 kB / 1.036 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/1.11, allocations: 0 / 1.036 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/1.11, allocations: 0 / 1.036 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/1.11, allocations: 8 kB / 1.036 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/1.112, allocations: 0.7825 MB / 1.037 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/1.113, allocations: 222 kB / 1.037 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/1.114, allocations: 85.8 kB / 1.037 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/1.114, allocations: 0 / 1.037 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003644/1.114, allocations: 126.9 kB / 1.037 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 4.408e-06/1.114, allocations: 4 kB / 1.037 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.0007624/1.115, allocations: 212.2 kB / 1.037 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.115, allocations: 114.8 kB / 1.038 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007138/1.116, allocations: 331.6 kB / 1.038 GB, free: 2.961 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/1.116, allocations: 25.7 kB / 1.038 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/1.116, allocations: 158.5 kB / 1.038 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.612e-05/1.116, allocations: 53.86 kB / 1.038 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/1.116, allocations: 4 kB / 1.038 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002118/1.116, allocations: 346.5 kB / 1.038 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/1.116, allocations: 59.31 kB / 1.039 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/1.117, allocations: 106.6 kB / 1.039 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/1.117, allocations: 67.42 kB / 1.039 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.117, allocations: 0 / 1.039 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006321/1.118, allocations: 218 kB / 1.039 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.118, allocations: 4 kB / 1.039 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.118, allocations: 7.984 kB / 1.039 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/1.118, allocations: 4.094 kB / 1.039 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/1.118, allocations: 50.67 kB / 1.039 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.118, allocations: 0 / 1.039 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/1.119, allocations: 19.83 kB / 1.039 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/1.119, allocations: 8 kB / 1.039 GB, free: 1.988 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 0.0001638/1.119, allocations: 123.9 kB / 1.039 GB, free: 1.863 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/1.119, allocations: 31.62 kB / 1.039 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000699/1.12, allocations: 219.1 kB / 1.039 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.12, allocations: 0 / 1.039 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.12, allocations: 7.922 kB / 1.039 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/1.12, allocations: 3.938 kB / 1.039 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/1.121, allocations: 0.6633 MB / 1.04 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.121, allocations: 4 kB / 1.04 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/1.121, allocations: 35.89 kB / 1.04 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/1.121, allocations: 0 / 1.04 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/1.121, allocations: 3.75 kB / 1.04 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/1.121, allocations: 7.984 kB / 1.04 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.121, allocations: 0 / 1.04 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009355/1.122, allocations: 410.2 kB / 1.04 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/1.123, allocations: 148.8 kB / 1.041 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/1.123, allocations: 0 / 1.041 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/1.123, allocations: 11.98 kB / 1.041 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/1.123, allocations: 17.98 kB / 1.041 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/1.123, allocations: 7.984 kB / 1.041 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004586/1.124, allocations: 255.7 kB / 1.041 GB, free: 368 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005567/1.124, allocations: 79.77 kB / 1.041 GB, free: 292 kB / 0.6511 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.0009737/1.125, allocations: 312.9 kB / 1.041 GB, free: 64 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000616/1.126, allocations: 168.8 kB / 1.041 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.126, allocations: 4 kB / 1.041 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/1.126, allocations: 94.41 kB / 1.042 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000788/1.127, allocations: 74.5 kB / 1.042 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/1.129, allocations: 445.7 kB / 1.042 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007611/1.129, allocations: 0.8407 MB / 1.043 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of SimCode: time 1.011e-06/1.129, allocations: 3.938 kB / 1.043 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of Templates: time 0.01559/1.145, allocations: 3.975 MB / 1.047 GB, free: 10.63 MB / 0.6667 GB