Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.312/2.312, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001667/0.001667, allocations: 177.3 kB / 360.3 MB, free: 7.582 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.838/1.838, allocations: 205.1 MB / 0.6187 GB, free: 13.27 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.001219/0.001218, allocations: 102.9 kB / 0.7317 GB, free: 45.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.258/0.2592, allocations: 121.4 MB / 0.8502 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.8519, allocations: 115.2 MB / 0.9628 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.94/5.792, allocations: 2.092 GB / 3.055 GB, free: 264.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000476/5.793, allocations: 101.2 kB / 3.055 GB, free: 264.5 MB / 0.9323 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 3.053/8.845, allocations: 0.6784 GB / 3.734 GB, free: 180.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/8.846, allocations: 11.59 kB / 3.734 GB, free: 180.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006561/8.852, allocations: 482.1 kB / 3.734 GB, free: 180.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004866/8.857, allocations: 1.32 MB / 3.735 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/8.857, allocations: 26.88 kB / 3.735 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/8.857, allocations: 58.17 kB / 3.735 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002064/8.859, allocations: 0.703 MB / 3.736 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/8.861, allocations: 0.7907 MB / 3.737 GB, free: 180.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/8.861, allocations: 0 / 3.737 GB, free: 180.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/8.861, allocations: 3.812 kB / 3.737 GB, free: 180.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/8.862, allocations: 15.06 kB / 3.737 GB, free: 180.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/8.872, allocations: 3.301 MB / 3.74 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/8.874, allocations: 0.5155 MB / 3.741 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009507/8.875, allocations: 379.3 kB / 3.741 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009592/8.876, allocations: 492.2 kB / 3.741 GB, free: 179 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009881/8.877, allocations: 447.3 kB / 3.742 GB, free: 179 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 3.837e-06/8.877, allocations: 0 / 3.742 GB, free: 179 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.003705/8.881, allocations: 0.9592 MB / 3.743 GB, free: 178.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/8.881, allocations: 111 kB / 3.743 GB, free: 178.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/8.884, allocations: 1.288 MB / 3.744 GB, free: 178.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001741/8.884, allocations: 29.61 kB / 3.744 GB, free: 178.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/8.884, allocations: 370.9 kB / 3.745 GB, free: 178.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/8.885, allocations: 206.4 kB / 3.745 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/8.885, allocations: 0 / 3.745 GB, free: 178.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.801e-05/8.885, allocations: 337.7 kB / 3.745 GB, free: 178 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000754/8.886, allocations: 301.5 kB / 3.745 GB, free: 178 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/8.887, allocations: 0.5889 MB / 3.746 GB, free: 177.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/8.888, allocations: 397.3 kB / 3.746 GB, free: 177.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/8.888, allocations: 0 / 3.746 GB, free: 177.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00275/8.891, allocations: 0.9349 MB / 3.747 GB, free: 177.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/8.891, allocations: 0.8048 MB / 3.748 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/8.891, allocations: 0 / 3.748 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/8.891, allocations: 5.312 kB / 3.748 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/8.892, allocations: 169.8 kB / 3.748 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/8.892, allocations: 7.094 kB / 3.748 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/8.895, allocations: 144.3 kB / 3.748 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/8.896, allocations: 39.27 kB / 3.748 GB, free: 176.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/8.896, allocations: 6.75 kB / 3.748 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002157/8.898, allocations: 0.75 MB / 3.749 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/8.898, allocations: 3.688 kB / 3.749 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/8.898, allocations: 3.656 kB / 3.749 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/8.899, allocations: 166.2 kB / 3.749 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/8.899, allocations: 3.906 kB / 3.749 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/8.902, allocations: 136.3 kB / 3.749 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/8.903, allocations: 42.44 kB / 3.749 GB, free: 176.7 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.0003346/8.903, allocations: 125 kB / 3.75 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004739/8.903, allocations: 132.6 kB / 3.75 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/8.907, allocations: 0.9945 MB / 3.751 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/8.907, allocations: 6.5 kB / 3.751 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/8.907, allocations: 0 / 3.751 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/8.907, allocations: 3.844 kB / 3.751 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006348/8.913, allocations: 2.403 MB / 3.753 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/8.913, allocations: 6.375 kB / 3.753 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/8.915, allocations: 131.8 kB / 3.753 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/8.915, allocations: 7.5 kB / 3.753 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.209e-05/8.915, allocations: 11.69 kB / 3.753 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/8.915, allocations: 11.5 kB / 3.753 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/8.915, allocations: 7.281 kB / 3.753 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003695/8.919, allocations: 1.662 MB / 3.755 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005157/8.924, allocations: 2.622 MB / 3.757 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/8.925, allocations: 376.5 kB / 3.758 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004039/8.925, allocations: 6.812 kB / 3.758 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/8.928, allocations: 69.78 kB / 3.758 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/8.928, allocations: 54.92 kB / 3.758 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-05/8.928, allocations: 39.73 kB / 3.758 GB, free: 174.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002432/8.93, allocations: 0.9846 MB / 3.759 GB, free: 174.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006757/8.937, allocations: 1.135 MB / 3.76 GB, free: 174.2 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.004128/8.941, allocations: 2.24 MB / 3.762 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003149/8.945, allocations: 1.175 MB / 3.763 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/8.945, allocations: 0 / 3.763 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/8.946, allocations: 430.2 kB / 3.764 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005006/8.951, allocations: 482.5 kB / 3.764 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00854/8.959, allocations: 1.975 MB / 3.766 GB, free: 173.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001884/8.961, allocations: 1.366 MB / 3.767 GB, free: 172.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.603e-06/8.961, allocations: 0 / 3.767 GB, free: 172.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1)