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: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer",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 8.1.4-maint.8.1.x/package.mo): time 1.412/1.412, allocations: 289.8 MB / 297.1 MB, free: 6.52 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.001062/0.001062, allocations: 175.7 kB / 366.3 MB, free: 1.848 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.148/1.148, allocations: 205.1 MB / 0.6256 GB, free: 5.719 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.0007921/0.0007921, allocations: 83.67 kB / 0.7395 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1957/0.1965, allocations: 122.4 MB / 0.8591 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.6474, allocations: 116.3 MB / 0.9727 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.201/3.849, allocations: 2.093 GB / 3.066 GB, free: 349.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/3.849, allocations: 102.4 kB / 3.066 GB, free: 349.5 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 1.581/5.429, allocations: 0.6784 GB / 3.745 GB, free: 29.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/5.429, allocations: 8 kB / 3.745 GB, free: 29.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/5.433, allocations: 481.5 kB / 3.745 GB, free: 29.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/5.436, allocations: 1.329 MB / 3.746 GB, free: 27.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/5.436, allocations: 28 kB / 3.746 GB, free: 27.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/5.436, allocations: 48 kB / 3.746 GB, free: 27.61 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001107/5.437, allocations: 0.7068 MB / 3.747 GB, free: 26.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/5.438, allocations: 0.7931 MB / 3.748 GB, free: 26.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/5.438, allocations: 0 / 3.748 GB, free: 26.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/5.438, allocations: 4 kB / 3.748 GB, free: 26.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/5.438, allocations: 19.98 kB / 3.748 GB, free: 26.06 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/5.443, allocations: 3.286 MB / 3.751 GB, free: 22.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/5.444, allocations: 0.5067 MB / 3.752 GB, free: 22.17 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/5.444, allocations: 391.4 kB / 3.752 GB, free: 21.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006056/5.445, allocations: 486.1 kB / 3.752 GB, free: 21.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005539/5.445, allocations: 450.9 kB / 3.753 GB, free: 20.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 2.435e-06/5.445, allocations: 0 / 3.753 GB, free: 20.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.001987/5.447, allocations: 0.9628 MB / 3.754 GB, free: 19.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/5.447, allocations: 111.5 kB / 3.754 GB, free: 19.67 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/5.449, allocations: 1.287 MB / 3.755 GB, free: 18.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-05/5.449, allocations: 29.7 kB / 3.755 GB, free: 18.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/5.449, allocations: 371.6 kB / 3.756 GB, free: 17.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/5.449, allocations: 205 kB / 3.756 GB, free: 17.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/5.449, allocations: 0 / 3.756 GB, free: 17.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.029e-05/5.449, allocations: 334 kB / 3.756 GB, free: 17.42 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/5.45, allocations: 305.1 kB / 3.756 GB, free: 17.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/5.45, allocations: 0.5931 MB / 3.757 GB, free: 16.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/5.451, allocations: 393.4 kB / 3.757 GB, free: 16.03 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/5.451, allocations: 4 kB / 3.757 GB, free: 16.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001339/5.452, allocations: 0.9237 MB / 3.758 GB, free: 15.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/5.452, allocations: 0.8101 MB / 3.759 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/5.452, allocations: 7.984 kB / 3.759 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/5.452, allocations: 4 kB / 3.759 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007712/5.453, allocations: 155.8 kB / 3.759 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/5.453, allocations: 11.98 kB / 3.759 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/5.455, allocations: 143.5 kB / 3.759 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.791e-05/5.455, allocations: 43.97 kB / 3.759 GB, free: 13.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/5.455, allocations: 9.25 kB / 3.759 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001118/5.456, allocations: 0.7479 MB / 3.76 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/5.456, allocations: 0 / 3.76 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/5.456, allocations: 8 kB / 3.76 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/5.457, allocations: 160 kB / 3.76 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/5.457, allocations: 8 kB / 3.76 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/5.458, allocations: 135.4 kB / 3.76 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.623e-05/5.458, allocations: 39.97 kB / 3.76 GB, free: 12.78 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.0001641/5.458, allocations: 132.8 kB / 3.761 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/5.458, allocations: 134.2 kB / 3.761 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/5.46, allocations: 0.9933 MB / 3.762 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/5.46, allocations: 8 kB / 3.762 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/5.46, allocations: 0 / 3.762 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/5.46, allocations: 15.89 kB / 3.762 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/5.463, allocations: 2.382 MB / 3.764 GB, free: 9.012 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/5.463, allocations: 4 kB / 3.764 GB, free: 9.008 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/5.464, allocations: 140 kB / 3.764 GB, free: 8.871 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/5.464, allocations: 12 kB / 3.764 GB, free: 8.859 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/5.464, allocations: 15.98 kB / 3.764 GB, free: 8.844 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/5.464, allocations: 4 kB / 3.764 GB, free: 8.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/5.464, allocations: 4 kB / 3.764 GB, free: 8.836 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00174/5.466, allocations: 1.664 MB / 3.766 GB, free: 7.023 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002525/5.468, allocations: 2.622 MB / 3.768 GB, free: 4.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005031/5.469, allocations: 375.2 kB / 3.769 GB, free: 3.863 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/5.469, allocations: 11.89 kB / 3.769 GB, free: 3.852 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/5.47, allocations: 67.86 kB / 3.769 GB, free: 3.785 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/5.47, allocations: 60.42 kB / 3.769 GB, free: 3.727 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/5.47, allocations: 31.98 kB / 3.769 GB, free: 3.695 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001097/5.471, allocations: 0.9832 MB / 3.77 GB, free: 2.711 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003607/5.475, allocations: 1.143 MB / 3.771 GB, free: 1.566 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.2989/5.774, allocations: 2.238 MB / 3.773 GB, free: 256.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001883/5.776, allocations: 1.171 MB / 3.774 GB, free: 256.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/5.776, allocations: 0 / 3.774 GB, free: 256.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/5.776, allocations: 432 kB / 3.775 GB, free: 256.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/5.779, allocations: 491.9 kB / 3.775 GB, free: 256.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/5.784, allocations: 1.98 MB / 3.777 GB, free: 256.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009988/5.785, allocations: 1.357 MB / 3.778 GB, free: 255.4 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/5.785, allocations: 3.312 kB / 3.778 GB, free: 255.4 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer.fmu > Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1)