Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.257/1.257, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 185.2 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.1 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008844/0.0008845, allocations: 76.66 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3713/0.3722, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.562, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.373/4.935, allocations: 2.212 GB / 3.096 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/4.935, allocations: 100.9 kB / 3.097 GB, free: 186 MB / 0.8698 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 2.172/7.107, allocations: 0.6569 GB / 3.753 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/7.108, allocations: 9.594 kB / 3.753 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004376/7.112, allocations: 478.8 kB / 3.754 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004365/7.116, allocations: 1.328 MB / 3.755 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.276e-05/7.116, allocations: 23.98 kB / 3.755 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003347/7.117, allocations: 51.61 kB / 3.755 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00176/7.118, allocations: 0.7063 MB / 3.756 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/7.12, allocations: 0.7914 MB / 3.757 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/7.121, allocations: 0 / 3.757 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/7.121, allocations: 1.031 kB / 3.757 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/7.121, allocations: 17.69 kB / 3.757 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007762/7.128, allocations: 3.287 MB / 3.76 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/7.13, allocations: 0.499 MB / 3.76 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/7.13, allocations: 385.6 kB / 3.761 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/7.131, allocations: 494.7 kB / 3.761 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008097/7.132, allocations: 447.4 kB / 3.762 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=65): time 3.686e-06/7.132, allocations: 1.031 kB / 3.762 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65): time 0.002843/7.135, allocations: 0.9536 MB / 3.763 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/7.135, allocations: 115 kB / 3.763 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/7.138, allocations: 1.29 MB / 3.764 GB, free: 156 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/7.138, allocations: 29.7 kB / 3.764 GB, free: 156 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/7.138, allocations: 366.4 kB / 3.764 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/7.138, allocations: 211.2 kB / 3.765 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/7.139, allocations: 0 / 3.765 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.793e-05/7.139, allocations: 327.7 kB / 3.765 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/7.139, allocations: 303.7 kB / 3.765 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/7.14, allocations: 0.5877 MB / 3.766 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008304/7.141, allocations: 401.3 kB / 3.766 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/7.141, allocations: 0 / 3.766 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002014/7.143, allocations: 0.9289 MB / 3.767 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/7.143, allocations: 0.8111 MB / 3.768 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/7.143, allocations: 2.188 kB / 3.768 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/7.143, allocations: 5.156 kB / 3.768 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000891/7.144, allocations: 156.7 kB / 3.768 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/7.144, allocations: 6.219 kB / 3.768 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/7.146, allocations: 145.6 kB / 3.768 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/7.146, allocations: 45.34 kB / 3.768 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/7.146, allocations: 7.812 kB / 3.768 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001519/7.148, allocations: 0.7488 MB / 3.769 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/7.148, allocations: 5.703 kB / 3.769 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/7.148, allocations: 5.5 kB / 3.769 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/7.148, allocations: 152.1 kB / 3.769 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/7.148, allocations: 6.062 kB / 3.769 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/7.15, allocations: 135.4 kB / 3.769 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/7.15, allocations: 42.7 kB / 3.769 GB, free: 153 MB / 0.8698 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.000266/7.151, allocations: 124.8 kB / 3.769 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/7.151, allocations: 136.2 kB / 3.769 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/7.153, allocations: 1.008 MB / 3.77 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/7.153, allocations: 10.56 kB / 3.77 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/7.153, allocations: 1.875 kB / 3.77 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/7.153, allocations: 3.422 kB / 3.77 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004278/7.158, allocations: 2.395 MB / 3.773 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/7.158, allocations: 3.219 kB / 3.773 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007504/7.158, allocations: 132.4 kB / 3.773 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/7.158, allocations: 6.891 kB / 3.773 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-05/7.158, allocations: 11.28 kB / 3.773 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/7.158, allocations: 10.3 kB / 3.773 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/7.158, allocations: 8.656 kB / 3.773 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002319/7.161, allocations: 1.662 MB / 3.775 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003273/7.164, allocations: 2.622 MB / 3.777 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006913/7.165, allocations: 369.5 kB / 3.778 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/7.165, allocations: 10.88 kB / 3.778 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/7.166, allocations: 69.36 kB / 3.778 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/7.166, allocations: 53.89 kB / 3.778 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-05/7.166, allocations: 30.8 kB / 3.778 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001511/7.168, allocations: 0.9888 MB / 3.779 GB, free: 148 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004155/7.172, allocations: 1.148 MB / 3.78 GB, free: 147.3 MB / 0.8698 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.003359/7.175, allocations: 2.236 MB / 3.782 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002207/7.178, allocations: 1.167 MB / 3.783 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/7.178, allocations: 0 / 3.783 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006665/7.178, allocations: 433.8 kB / 3.783 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/7.181, allocations: 484.8 kB / 3.784 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004967/7.186, allocations: 1.986 MB / 3.786 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/7.187, allocations: 1.356 MB / 3.787 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/7.187, allocations: 4 kB / 3.787 GB, free: 143.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1)