Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.828/1.828, allocations: 390.4 MB / 397.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000913/0.0009131, allocations: 177.3 kB / 490.8 MB, free: 1.953 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 221.3 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008549/0.0008549, allocations: 98.44 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4482/0.4491, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.649, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.232/3.882, allocations: 1.926 GB / 3.137 GB, free: 411.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/3.882, allocations: 103.3 kB / 3.138 GB, free: 411.1 MB / 1.151 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.561/5.443, allocations: 0.6886 GB / 3.826 GB, free: 141.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/5.443, allocations: 8 kB / 3.826 GB, free: 141.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/5.446, allocations: 485.5 kB / 3.827 GB, free: 140.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/5.448, allocations: 1.322 MB / 3.828 GB, free: 139.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/5.448, allocations: 24 kB / 3.828 GB, free: 139.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/5.448, allocations: 52 kB / 3.828 GB, free: 139.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/5.449, allocations: 0.7184 MB / 3.829 GB, free: 138.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/5.45, allocations: 0.7892 MB / 3.829 GB, free: 137.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/5.45, allocations: 0 / 3.829 GB, free: 137.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/5.451, allocations: 0 / 3.829 GB, free: 137.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/5.451, allocations: 16 kB / 3.829 GB, free: 137.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/5.455, allocations: 3.311 MB / 3.833 GB, free: 134.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/5.455, allocations: 0.5027 MB / 3.833 GB, free: 134 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/5.456, allocations: 386.6 kB / 3.834 GB, free: 133.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/5.456, allocations: 490.1 kB / 3.834 GB, free: 133 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005078/5.457, allocations: 446.9 kB / 3.834 GB, free: 132.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 2.545e-06/5.457, allocations: 3.984 kB / 3.834 GB, free: 132.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.001865/5.459, allocations: 0.9628 MB / 3.835 GB, free: 131.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/5.459, allocations: 111.5 kB / 3.835 GB, free: 131.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/5.46, allocations: 1.307 MB / 3.837 GB, free: 130.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.936e-05/5.46, allocations: 29.7 kB / 3.837 GB, free: 130.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/5.46, allocations: 355.7 kB / 3.837 GB, free: 129.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/5.461, allocations: 205 kB / 3.837 GB, free: 129.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/5.461, allocations: 0 / 3.837 GB, free: 129.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.917e-05/5.461, allocations: 333.9 kB / 3.838 GB, free: 129.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/5.461, allocations: 305.2 kB / 3.838 GB, free: 128.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/5.462, allocations: 0.5918 MB / 3.839 GB, free: 128.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005683/5.462, allocations: 401.3 kB / 3.839 GB, free: 127.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/5.462, allocations: 4 kB / 3.839 GB, free: 127.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001309/5.463, allocations: 0.9276 MB / 3.84 GB, free: 126.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/5.464, allocations: 0.8097 MB / 3.841 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/5.464, allocations: 4 kB / 3.841 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/5.464, allocations: 4 kB / 3.841 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/5.464, allocations: 155.8 kB / 3.841 GB, free: 125.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/5.464, allocations: 11.94 kB / 3.841 GB, free: 125.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/5.466, allocations: 147.4 kB / 3.841 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.103e-05/5.466, allocations: 39.95 kB / 3.841 GB, free: 125.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-06/5.466, allocations: 4 kB / 3.841 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001106/5.467, allocations: 0.752 MB / 3.842 GB, free: 124.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/5.467, allocations: 4 kB / 3.842 GB, free: 124.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/5.467, allocations: 4 kB / 3.842 GB, free: 124.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/5.468, allocations: 155.7 kB / 3.842 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/5.468, allocations: 11.92 kB / 3.842 GB, free: 124.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/5.469, allocations: 135.5 kB / 3.842 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.797e-05/5.469, allocations: 47.88 kB / 3.842 GB, free: 124.6 MB / 1.151 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.0001568/5.469, allocations: 121.8 kB / 3.842 GB, free: 124.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/5.47, allocations: 134.3 kB / 3.842 GB, free: 124.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/5.471, allocations: 1.001 MB / 3.843 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/5.471, allocations: 12 kB / 3.843 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/5.471, allocations: 0 / 3.843 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/5.471, allocations: 3.984 kB / 3.843 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/5.474, allocations: 2.401 MB / 3.846 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/5.474, allocations: 4 kB / 3.846 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/5.475, allocations: 131.8 kB / 3.846 GB, free: 120.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/5.475, allocations: 8 kB / 3.846 GB, free: 120.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/5.475, allocations: 15.98 kB / 3.846 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/5.475, allocations: 7.938 kB / 3.846 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/5.475, allocations: 7.938 kB / 3.846 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001694/5.476, allocations: 1.665 MB / 3.847 GB, free: 118.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002453/5.479, allocations: 2.627 MB / 3.85 GB, free: 116 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004773/5.479, allocations: 375.1 kB / 3.85 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/5.48, allocations: 11.91 kB / 3.85 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/5.481, allocations: 75.91 kB / 3.85 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/5.481, allocations: 48.5 kB / 3.85 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/5.481, allocations: 31.98 kB / 3.85 GB, free: 115.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001057/5.482, allocations: 0.9953 MB / 3.851 GB, free: 114.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003419/5.485, allocations: 1.139 MB / 3.853 GB, free: 113.3 MB / 1.151 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.002223/5.488, allocations: 2.249 MB / 3.855 GB, free: 111.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001486/5.489, allocations: 1.166 MB / 3.856 GB, free: 109.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/5.489, allocations: 4 kB / 3.856 GB, free: 109.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004688/5.49, allocations: 430.2 kB / 3.856 GB, free: 109.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/5.492, allocations: 472.1 kB / 3.857 GB, free: 109.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/5.496, allocations: 1.997 MB / 3.859 GB, free: 107 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000899/5.497, allocations: 1.367 MB / 3.86 GB, free: 105.6 MB / 1.151 GB Notification: Performance of SimCode: time 4.31e-07/5.497, allocations: 4 kB / 3.86 GB, free: 105.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1)