Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer") [: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 8.0.0/package.mo): time 2.138/2.138, allocations: 284.9 MB / 292.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 181.2 kB / 360.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.00121, allocations: 100.2 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.065e-06, allocations: 0 / 0.8503 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5402/0.5403, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.153/4.694, allocations: 2.092 GB / 3.055 GB, free: 24.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/4.694, allocations: 100.2 kB / 3.055 GB, free: 24.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.865/7.559, allocations: 0.6767 GB / 3.732 GB, free: 85.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001725/7.559, allocations: 35.98 kB / 3.732 GB, free: 85.34 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004406/7.563, allocations: 1.627 MB / 3.734 GB, free: 83.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/7.563, allocations: 8.531 kB / 3.734 GB, free: 83.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006265/7.57, allocations: 481.6 kB / 3.734 GB, free: 83.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004173/7.574, allocations: 1.326 MB / 3.735 GB, free: 81.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/7.574, allocations: 24 kB / 3.735 GB, free: 81.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/7.574, allocations: 52 kB / 3.735 GB, free: 81.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001982/7.576, allocations: 0.7068 MB / 3.736 GB, free: 81.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/7.578, allocations: 0.7932 MB / 3.737 GB, free: 80.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/7.578, allocations: 0 / 3.737 GB, free: 80.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/7.578, allocations: 0 / 3.737 GB, free: 80.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/7.578, allocations: 19.91 kB / 3.737 GB, free: 80.18 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007509/7.586, allocations: 3.303 MB / 3.74 GB, free: 76.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/7.587, allocations: 0.5033 MB / 3.741 GB, free: 76.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008265/7.588, allocations: 383.5 kB / 3.741 GB, free: 75.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009303/7.589, allocations: 498.1 kB / 3.741 GB, free: 75.33 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000932/7.59, allocations: 458.8 kB / 3.742 GB, free: 74.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 3.256e-06/7.59, allocations: 0 / 3.742 GB, free: 74.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.003409/7.593, allocations: 0.955 MB / 3.743 GB, free: 73.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/7.594, allocations: 115.5 kB / 3.743 GB, free: 73.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/7.596, allocations: 1.291 MB / 3.744 GB, free: 72.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/7.596, allocations: 29.7 kB / 3.744 GB, free: 72.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/7.597, allocations: 367.4 kB / 3.745 GB, free: 72.06 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/7.597, allocations: 213 kB / 3.745 GB, free: 71.85 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/7.597, allocations: 0 / 3.745 GB, free: 71.85 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.999e-05/7.597, allocations: 322 kB / 3.745 GB, free: 71.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007363/7.598, allocations: 305.2 kB / 3.745 GB, free: 71.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/7.599, allocations: 0.5986 MB / 3.746 GB, free: 70.52 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/7.6, allocations: 393.3 kB / 3.746 GB, free: 70.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/7.6, allocations: 0 / 3.746 GB, free: 70.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002499/7.602, allocations: 0.9354 MB / 3.747 GB, free: 69.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/7.603, allocations: 0.8069 MB / 3.748 GB, free: 68.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/7.603, allocations: 0 / 3.748 GB, free: 68.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/7.603, allocations: 8 kB / 3.748 GB, free: 68.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/7.604, allocations: 159.8 kB / 3.748 GB, free: 68.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/7.604, allocations: 11.92 kB / 3.748 GB, free: 68.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/7.607, allocations: 139.5 kB / 3.748 GB, free: 68.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/7.607, allocations: 43.95 kB / 3.748 GB, free: 67.99 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/7.607, allocations: 4 kB / 3.748 GB, free: 67.98 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002098/7.609, allocations: 0.7479 MB / 3.749 GB, free: 67.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/7.609, allocations: 4 kB / 3.749 GB, free: 67.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/7.609, allocations: 4 kB / 3.749 GB, free: 67.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/7.611, allocations: 160 kB / 3.749 GB, free: 67.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/7.611, allocations: 11.88 kB / 3.749 GB, free: 67.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/7.613, allocations: 143.4 kB / 3.749 GB, free: 66.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/7.614, allocations: 39.97 kB / 3.749 GB, free: 66.88 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.outAir.nextTimeEvent,$whenCondition1,$PRE.cooMod.nextTimeEvent,con.cooMod,con.ecoOff.y,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled,outAir.nextTimeEvent,$PRE.outAir.nextTimeEventScaled,outAir.nextTimeEventScaled,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002543/7.614, allocations: 120.9 kB / 3.75 GB, free: 66.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/7.614, allocations: 138.3 kB / 3.75 GB, free: 66.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/7.617, allocations: 0.9932 MB / 3.751 GB, free: 65.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/7.617, allocations: 8 kB / 3.751 GB, free: 65.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/7.617, allocations: 0 / 3.751 GB, free: 65.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/7.617, allocations: 3.984 kB / 3.751 GB, free: 65.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005273/7.623, allocations: 2.397 MB / 3.753 GB, free: 63.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.934e-06/7.623, allocations: 4.375 kB / 3.753 GB, free: 63.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/7.624, allocations: 139.8 kB / 3.753 GB, free: 62.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/7.624, allocations: 11.94 kB / 3.753 GB, free: 62.97 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.659e-05/7.624, allocations: 8 kB / 3.753 GB, free: 62.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.118e-06/7.624, allocations: 11.98 kB / 3.753 GB, free: 62.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/7.624, allocations: 7.938 kB / 3.753 GB, free: 62.95 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00325/7.627, allocations: 1.66 MB / 3.755 GB, free: 61.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008236/7.628, allocations: 371.1 kB / 3.755 GB, free: 60.75 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003628/7.629, allocations: 15.89 kB / 3.755 GB, free: 60.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/7.631, allocations: 63.98 kB / 3.755 GB, free: 60.67 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/7.631, allocations: 60.42 kB / 3.755 GB, free: 60.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.104e-05/7.631, allocations: 31.98 kB / 3.755 GB, free: 60.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001969/7.633, allocations: 0.9832 MB / 3.756 GB, free: 59.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002622/7.636, allocations: 0.659 MB / 3.757 GB, free: 58.94 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (con.con.I.y,senTemMixAir.T) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,con.cooMod,con.ecoOff.y,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,outAir.nextTimeEvent,outAir.nextTimeEventScaled) * Number of discrete states: 4 (outAir.nextTimeEvent,cooMod.nextTimeEvent,outAir.nextTimeEventScaled,cooMod.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00349/7.639, allocations: 2.251 MB / 3.759 GB, free: 56.69 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00282/7.642, allocations: 1.174 MB / 3.76 GB, free: 55.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/7.642, allocations: 0 / 3.76 GB, free: 55.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009368/7.643, allocations: 438.1 kB / 3.761 GB, free: 55.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/7.648, allocations: 480.4 kB / 3.761 GB, free: 54.63 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007442/7.655, allocations: 1.972 MB / 3.763 GB, free: 52.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/7.657, allocations: 1.359 MB / 3.764 GB, free: 51.19 MB / 0.948 GB Notification: Performance of SimCode: time 1.322e-06/7.657, allocations: 0 / 3.764 GB, free: 51.19 MB / 0.948 GB Notification: Performance of Templates: time 0.09088/7.748, allocations: 40.1 MB / 3.804 GB, free: 11.29 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1)