Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.834/1.834, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0009303/0.0009303, allocations: 176.3 kB / 487 MB, free: 5.391 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.179/1.179, allocations: 221.3 MB / 0.7819 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000828/0.0008281, allocations: 94 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4214/0.4223, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.6141, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.216/3.83, allocations: 1.925 GB / 3.13 GB, free: 397.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/3.831, allocations: 103.9 kB / 3.13 GB, free: 397.4 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.635/5.466, allocations: 0.6886 GB / 3.819 GB, free: 131.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/5.466, allocations: 8 kB / 3.819 GB, free: 131.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/5.469, allocations: 485.5 kB / 3.819 GB, free: 130.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/5.472, allocations: 1.326 MB / 3.821 GB, free: 129.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/5.472, allocations: 27.98 kB / 3.821 GB, free: 129.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/5.472, allocations: 55.91 kB / 3.821 GB, free: 129.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001046/5.473, allocations: 0.7029 MB / 3.822 GB, free: 128.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/5.474, allocations: 0.7893 MB / 3.822 GB, free: 127.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/5.474, allocations: 3.938 kB / 3.822 GB, free: 127.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/5.474, allocations: 0 / 3.822 GB, free: 127.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/5.474, allocations: 20 kB / 3.822 GB, free: 127.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/5.479, allocations: 3.307 MB / 3.826 GB, free: 124.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/5.479, allocations: 0.5144 MB / 3.826 GB, free: 123.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/5.48, allocations: 382.7 kB / 3.826 GB, free: 123.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/5.481, allocations: 486.1 kB / 3.827 GB, free: 122.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/5.481, allocations: 454.9 kB / 3.827 GB, free: 122.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 2.655e-06/5.481, allocations: 0 / 3.827 GB, free: 122.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.001896/5.483, allocations: 0.9588 MB / 3.828 GB, free: 121.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/5.483, allocations: 115.5 kB / 3.828 GB, free: 121.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/5.484, allocations: 1.299 MB / 3.83 GB, free: 120 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.01e-05/5.485, allocations: 25.7 kB / 3.83 GB, free: 120 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/5.485, allocations: 358 kB / 3.83 GB, free: 119.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/5.485, allocations: 220.8 kB / 3.83 GB, free: 119.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/5.485, allocations: 0 / 3.83 GB, free: 119.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.624e-05/5.485, allocations: 330 kB / 3.831 GB, free: 119.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/5.485, allocations: 301.2 kB / 3.831 GB, free: 118.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/5.486, allocations: 0.5882 MB / 3.831 GB, free: 118.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005891/5.486, allocations: 401.8 kB / 3.832 GB, free: 117.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/5.486, allocations: 0 / 3.832 GB, free: 117.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001328/5.488, allocations: 0.9316 MB / 3.833 GB, free: 116.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/5.488, allocations: 0.8113 MB / 3.833 GB, free: 115.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/5.488, allocations: 7.984 kB / 3.833 GB, free: 115.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/5.488, allocations: 4 kB / 3.833 GB, free: 115.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/5.489, allocations: 155.8 kB / 3.834 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/5.489, allocations: 4 kB / 3.834 GB, free: 115.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/5.49, allocations: 151.4 kB / 3.834 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-05/5.49, allocations: 39.97 kB / 3.834 GB, free: 115.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/5.49, allocations: 4 kB / 3.834 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00112/5.491, allocations: 0.7518 MB / 3.835 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/5.491, allocations: 3.906 kB / 3.835 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/5.491, allocations: 7.938 kB / 3.835 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/5.492, allocations: 160 kB / 3.835 GB, free: 114.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/5.492, allocations: 4 kB / 3.835 GB, free: 114.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/5.493, allocations: 135.5 kB / 3.835 GB, free: 114.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/5.494, allocations: 43.97 kB / 3.835 GB, free: 114.5 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.0001447/5.494, allocations: 136.3 kB / 3.835 GB, free: 114.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/5.494, allocations: 138.3 kB / 3.835 GB, free: 114.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/5.495, allocations: 0.9933 MB / 3.836 GB, free: 113.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/5.496, allocations: 12 kB / 3.836 GB, free: 113.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/5.496, allocations: 0 / 3.836 GB, free: 113.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/5.496, allocations: 3.984 kB / 3.836 GB, free: 113.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/5.498, allocations: 2.386 MB / 3.838 GB, free: 110.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/5.498, allocations: 4 kB / 3.838 GB, free: 110.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006583/5.499, allocations: 140.2 kB / 3.839 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/5.499, allocations: 8 kB / 3.839 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/5.499, allocations: 11.98 kB / 3.839 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/5.499, allocations: 11.94 kB / 3.839 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/5.499, allocations: 0 / 3.839 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001699/5.501, allocations: 1.669 MB / 3.84 GB, free: 108.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002454/5.503, allocations: 2.627 MB / 3.843 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/5.504, allocations: 382.9 kB / 3.843 GB, free: 105.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/5.504, allocations: 7.984 kB / 3.843 GB, free: 105.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/5.505, allocations: 63.98 kB / 3.843 GB, free: 105.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/5.505, allocations: 56.48 kB / 3.843 GB, free: 105.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/5.505, allocations: 31.98 kB / 3.843 GB, free: 105.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001021/5.506, allocations: 0.9953 MB / 3.844 GB, free: 104.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003446/5.51, allocations: 1.143 MB / 3.845 GB, free: 103.2 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.0023/5.512, allocations: 2.244 MB / 3.848 GB, free: 101 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001401/5.513, allocations: 1.172 MB / 3.849 GB, free: 99.81 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/5.513, allocations: 256 / 3.849 GB, free: 99.81 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004688/5.514, allocations: 434.2 kB / 3.849 GB, free: 99.39 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/5.516, allocations: 472.5 kB / 3.85 GB, free: 98.94 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/5.52, allocations: 1.993 MB / 3.852 GB, free: 96.87 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009046/5.521, allocations: 1.368 MB / 3.853 GB, free: 95.47 MB / 1.151 GB Notification: Performance of SimCode: time 8.91e-07/5.521, allocations: 0 / 3.853 GB, free: 95.47 MB / 1.151 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer.fmu > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1)