Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.354/1.354, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.0009517/0.0009517, allocations: 177.3 kB / 366.3 MB, free: 1.938 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.136/1.136, allocations: 205.2 MB / 0.6256 GB, free: 5.789 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.0008517/0.0008517, allocations: 100.2 kB / 0.7396 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 5.41e-06/5.42e-06, allocations: 0 / 0.859 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4644, allocations: 116.3 MB / 0.9726 GB, free: 143.2 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.006/3.471, allocations: 2.093 GB / 3.066 GB, free: 64.52 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/3.471, allocations: 101.7 kB / 3.066 GB, free: 64.42 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.884/5.355, allocations: 0.6767 GB / 3.743 GB, free: 116.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001153/5.355, allocations: 35.12 kB / 3.743 GB, free: 116.6 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.002852/5.358, allocations: 1.63 MB / 3.744 GB, free: 115 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/5.358, allocations: 12.03 kB / 3.744 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003071/5.361, allocations: 477.6 kB / 3.745 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/5.364, allocations: 1.327 MB / 3.746 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/5.364, allocations: 27.94 kB / 3.746 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/5.364, allocations: 52 kB / 3.746 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00102/5.365, allocations: 0.7146 MB / 3.747 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/5.366, allocations: 0.7893 MB / 3.748 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/5.366, allocations: 0 / 3.748 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/5.366, allocations: 0 / 3.748 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/5.366, allocations: 20 kB / 3.748 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004089/5.37, allocations: 3.31 MB / 3.751 GB, free: 108.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007254/5.371, allocations: 0.5066 MB / 3.752 GB, free: 107.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/5.371, allocations: 378.7 kB / 3.752 GB, free: 107.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005788/5.372, allocations: 490.8 kB / 3.752 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005209/5.372, allocations: 450.9 kB / 3.753 GB, free: 106.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 2.304e-06/5.372, allocations: 0 / 3.753 GB, free: 106.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.001882/5.374, allocations: 0.9588 MB / 3.754 GB, free: 105.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/5.374, allocations: 111.5 kB / 3.754 GB, free: 105.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/5.376, allocations: 1.291 MB / 3.755 GB, free: 103.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/5.376, allocations: 25.7 kB / 3.755 GB, free: 103.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/5.376, allocations: 363 kB / 3.755 GB, free: 103.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/5.376, allocations: 216.9 kB / 3.756 GB, free: 103.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/5.376, allocations: 0 / 3.756 GB, free: 103.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.376e-05/5.376, allocations: 330 kB / 3.756 GB, free: 102.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/5.377, allocations: 301.2 kB / 3.756 GB, free: 102.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/5.377, allocations: 0.5943 MB / 3.757 GB, free: 101.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/5.378, allocations: 397.5 kB / 3.757 GB, free: 101.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/5.378, allocations: 0 / 3.757 GB, free: 101.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001314/5.379, allocations: 0.9316 MB / 3.758 GB, free: 100.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/5.379, allocations: 0.8138 MB / 3.759 GB, free: 99.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/5.379, allocations: 4 kB / 3.759 GB, free: 99.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/5.379, allocations: 4 kB / 3.759 GB, free: 99.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/5.38, allocations: 155.8 kB / 3.759 GB, free: 99.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/5.38, allocations: 7.906 kB / 3.759 GB, free: 99.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/5.381, allocations: 147.5 kB / 3.759 GB, free: 99.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.721e-05/5.381, allocations: 35.97 kB / 3.759 GB, free: 99.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/5.381, allocations: 4 kB / 3.759 GB, free: 99.37 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/5.383, allocations: 0.7518 MB / 3.76 GB, free: 98.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/5.383, allocations: 4 kB / 3.76 GB, free: 98.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/5.383, allocations: 4 kB / 3.76 GB, free: 98.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/5.383, allocations: 160 kB / 3.76 GB, free: 98.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/5.383, allocations: 4 kB / 3.76 GB, free: 98.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/5.385, allocations: 143.4 kB / 3.76 GB, free: 98.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/5.385, allocations: 51.89 kB / 3.76 GB, free: 98.26 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.0001685/5.385, allocations: 116.9 kB / 3.76 GB, free: 98.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/5.385, allocations: 138.3 kB / 3.761 GB, free: 98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/5.387, allocations: 0.9893 MB / 3.762 GB, free: 97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/5.387, allocations: 12 kB / 3.762 GB, free: 96.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/5.387, allocations: 0 / 3.762 GB, free: 96.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/5.387, allocations: 11.86 kB / 3.762 GB, free: 96.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/5.39, allocations: 2.395 MB / 3.764 GB, free: 94.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/5.39, allocations: 0 / 3.764 GB, free: 94.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/5.39, allocations: 140.2 kB / 3.764 GB, free: 94.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/5.39, allocations: 4 kB / 3.764 GB, free: 94.37 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/5.39, allocations: 15.98 kB / 3.764 GB, free: 94.35 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/5.39, allocations: 4 kB / 3.764 GB, free: 94.35 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/5.39, allocations: 7.938 kB / 3.764 GB, free: 94.34 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001684/5.392, allocations: 1.664 MB / 3.766 GB, free: 92.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004708/5.393, allocations: 371.1 kB / 3.766 GB, free: 92.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/5.393, allocations: 8 kB / 3.766 GB, free: 92.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/5.394, allocations: 67.89 kB / 3.766 GB, free: 92.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/5.394, allocations: 60.48 kB / 3.766 GB, free: 92.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/5.394, allocations: 27.98 kB / 3.766 GB, free: 91.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001061/5.395, allocations: 0.9871 MB / 3.767 GB, free: 91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001713/5.397, allocations: 0.6723 MB / 3.768 GB, free: 90.32 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.00241/5.399, allocations: 2.243 MB / 3.77 GB, free: 88.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001449/5.401, allocations: 1.166 MB / 3.771 GB, free: 87.01 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/5.401, allocations: 8.062 kB / 3.771 GB, free: 87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004701/5.401, allocations: 426.2 kB / 3.772 GB, free: 86.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/5.403, allocations: 491.6 kB / 3.772 GB, free: 86.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/5.408, allocations: 1.971 MB / 3.774 GB, free: 84.07 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009063/5.409, allocations: 1.355 MB / 3.775 GB, free: 82.69 MB / 0.948 GB Notification: Performance of SimCode: time 3.8e-07/5.409, allocations: 4 kB / 3.775 GB, free: 82.68 MB / 0.948 GB Notification: Performance of Templates: time 0.05104/5.46, allocations: 40.1 MB / 3.814 GB, free: 42.86 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & ./Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1)