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.AirsideEconomizer.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: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.359/1.359, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001025/0.001025, allocations: 185.2 kB / 361.1 MB, free: 7.117 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.051/1.051, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008796/0.0008796, allocations: 91.28 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.581e-06/5.601e-06, allocations: 0 / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4608/0.4609, allocations: 115.3 MB / 0.9637 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.009/3.47, allocations: 2.093 GB / 3.056 GB, free: 17.77 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/3.47, allocations: 102 kB / 3.056 GB, free: 17.67 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.792/5.262, allocations: 0.6767 GB / 3.733 GB, free: 77.92 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001437/5.263, allocations: 43.92 kB / 3.733 GB, free: 77.88 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.003284/5.266, allocations: 1.632 MB / 3.735 GB, free: 76.19 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/5.266, allocations: 12.53 kB / 3.735 GB, free: 76.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/5.269, allocations: 481.6 kB / 3.735 GB, free: 75.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/5.272, allocations: 1.326 MB / 3.736 GB, free: 74.33 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/5.272, allocations: 24 kB / 3.736 GB, free: 74.31 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/5.272, allocations: 52 kB / 3.736 GB, free: 74.26 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001067/5.273, allocations: 0.7107 MB / 3.737 GB, free: 73.55 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/5.274, allocations: 0.7854 MB / 3.738 GB, free: 72.74 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/5.274, allocations: 3.938 kB / 3.738 GB, free: 72.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/5.274, allocations: 3.984 kB / 3.738 GB, free: 72.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/5.274, allocations: 19.91 kB / 3.738 GB, free: 72.71 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004343/5.279, allocations: 3.283 MB / 3.741 GB, free: 69.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007922/5.279, allocations: 0.4988 MB / 3.742 GB, free: 68.83 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/5.28, allocations: 388.4 kB / 3.742 GB, free: 68.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005618/5.281, allocations: 490.1 kB / 3.743 GB, free: 67.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005214/5.281, allocations: 454.8 kB / 3.743 GB, free: 67.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 2.064e-06/5.281, allocations: 0 / 3.743 GB, free: 67.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.001932/5.283, allocations: 0.9551 MB / 3.744 GB, free: 66.46 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/5.283, allocations: 115.4 kB / 3.744 GB, free: 66.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/5.285, allocations: 1.287 MB / 3.745 GB, free: 65.02 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/5.285, allocations: 33.7 kB / 3.745 GB, free: 64.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/5.285, allocations: 375.2 kB / 3.746 GB, free: 64.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/5.285, allocations: 209 kB / 3.746 GB, free: 64.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/5.285, allocations: 0 / 3.746 GB, free: 64.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.883e-05/5.285, allocations: 330 kB / 3.746 GB, free: 64.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/5.285, allocations: 305.1 kB / 3.746 GB, free: 63.77 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/5.286, allocations: 0.5956 MB / 3.747 GB, free: 63.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/5.287, allocations: 401.3 kB / 3.747 GB, free: 62.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/5.287, allocations: 0 / 3.747 GB, free: 62.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001332/5.288, allocations: 0.9315 MB / 3.748 GB, free: 61.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/5.288, allocations: 0.8108 MB / 3.749 GB, free: 60.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/5.288, allocations: 7.984 kB / 3.749 GB, free: 60.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/5.288, allocations: 4 kB / 3.749 GB, free: 60.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/5.289, allocations: 151.8 kB / 3.749 GB, free: 60.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/5.289, allocations: 7.984 kB / 3.749 GB, free: 60.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/5.29, allocations: 151.4 kB / 3.749 GB, free: 60.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.51e-05/5.29, allocations: 35.97 kB / 3.749 GB, free: 60.53 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-06/5.29, allocations: 4 kB / 3.749 GB, free: 60.52 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/5.291, allocations: 0.7518 MB / 3.75 GB, free: 59.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/5.291, allocations: 4.25 kB / 3.75 GB, free: 59.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-06/5.292, allocations: 8 kB / 3.75 GB, free: 59.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/5.292, allocations: 155.8 kB / 3.75 GB, free: 59.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/5.292, allocations: 4 kB / 3.75 GB, free: 59.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/5.294, allocations: 143.4 kB / 3.75 GB, free: 59.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/5.294, allocations: 39.97 kB / 3.751 GB, free: 59.42 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.0001463/5.294, allocations: 132.8 kB / 3.751 GB, free: 59.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/5.294, allocations: 134.3 kB / 3.751 GB, free: 59.15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/5.296, allocations: 0.9971 MB / 3.752 GB, free: 58.14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/5.296, allocations: 8 kB / 3.752 GB, free: 58.14 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/5.296, allocations: 0 / 3.752 GB, free: 58.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/5.296, allocations: 3.984 kB / 3.752 GB, free: 58.13 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/5.298, allocations: 2.39 MB / 3.754 GB, free: 55.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/5.298, allocations: 0 / 3.754 GB, free: 55.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/5.299, allocations: 135.8 kB / 3.754 GB, free: 55.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/5.299, allocations: 4 kB / 3.754 GB, free: 55.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/5.299, allocations: 15.92 kB / 3.754 GB, free: 55.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/5.299, allocations: 11.94 kB / 3.754 GB, free: 55.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/5.299, allocations: 7.984 kB / 3.754 GB, free: 55.48 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001704/5.301, allocations: 1.664 MB / 3.756 GB, free: 53.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/5.301, allocations: 371.1 kB / 3.756 GB, free: 53.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/5.302, allocations: 11.89 kB / 3.756 GB, free: 53.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/5.303, allocations: 71.92 kB / 3.756 GB, free: 53.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/5.303, allocations: 56.48 kB / 3.756 GB, free: 53.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/5.303, allocations: 27.98 kB / 3.756 GB, free: 53.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001022/5.304, allocations: 0.9871 MB / 3.757 GB, free: 52.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001501/5.305, allocations: 0.6668 MB / 3.758 GB, free: 51.47 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.002133/5.308, allocations: 2.255 MB / 3.76 GB, free: 49.19 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001325/5.309, allocations: 1.169 MB / 3.761 GB, free: 48.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/5.309, allocations: 4 kB / 3.761 GB, free: 48.01 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000468/5.309, allocations: 426.2 kB / 3.762 GB, free: 47.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/5.311, allocations: 489.5 kB / 3.762 GB, free: 47.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/5.315, allocations: 1.979 MB / 3.764 GB, free: 45.07 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008799/5.316, allocations: 1.355 MB / 3.765 GB, free: 43.68 MB / 0.948 GB Notification: Performance of SimCode: time 2.8e-07/5.316, allocations: 8 kB / 3.765 GB, free: 43.68 MB / 0.948 GB Notification: Performance of Templates: time 0.04617/5.362, allocations: 40.08 MB / 3.805 GB, free: 3.801 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1)