Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.335/1.335, allocations: 285.5 MB / 292.8 MB, free: 9.801 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.0009531/0.0009532, allocations: 181.3 kB / 361.1 MB, free: 400 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.038/1.038, allocations: 205.1 MB / 0.6195 GB, free: 2.938 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007642/0.0007642, allocations: 93.44 kB / 0.7326 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3519/0.3527, allocations: 121.4 MB / 0.8512 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.4989, allocations: 115.3 MB / 0.9638 GB, free: 56.31 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.941/3.44, allocations: 2.093 GB / 3.056 GB, free: 188 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/3.44, allocations: 95.94 kB / 3.056 GB, free: 187.9 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 1.779/5.219, allocations: 0.6784 GB / 3.735 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/5.219, allocations: 7.688 kB / 3.735 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/5.223, allocations: 481.9 kB / 3.735 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/5.226, allocations: 1.323 MB / 3.736 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/5.226, allocations: 20.53 kB / 3.737 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/5.226, allocations: 65.73 kB / 3.737 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001168/5.228, allocations: 0.7104 MB / 3.737 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/5.229, allocations: 0.7881 MB / 3.738 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/5.229, allocations: 3.906 kB / 3.738 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/5.229, allocations: 0 / 3.738 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/5.229, allocations: 21.47 kB / 3.738 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005052/5.234, allocations: 3.294 MB / 3.741 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007852/5.235, allocations: 0.5019 MB / 3.742 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/5.235, allocations: 388.5 kB / 3.742 GB, free: 179.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005718/5.236, allocations: 496.4 kB / 3.743 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005367/5.236, allocations: 449 kB / 3.743 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=65): time 2.595e-06/5.236, allocations: 2.875 kB / 3.743 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65): time 0.002053/5.238, allocations: 0.9581 MB / 3.744 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/5.239, allocations: 113.8 kB / 3.744 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/5.24, allocations: 1.291 MB / 3.745 GB, free: 178 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.123e-05/5.24, allocations: 29.64 kB / 3.745 GB, free: 178 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/5.241, allocations: 355.8 kB / 3.746 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/5.241, allocations: 206 kB / 3.746 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/5.241, allocations: 0 / 3.746 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.258e-05/5.241, allocations: 332.7 kB / 3.746 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/5.241, allocations: 305.1 kB / 3.747 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/5.242, allocations: 0.5909 MB / 3.747 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006388/5.243, allocations: 391.8 kB / 3.747 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/5.243, allocations: 1.594 kB / 3.747 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001697/5.244, allocations: 0.9336 MB / 3.748 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/5.244, allocations: 0.8179 MB / 3.749 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/5.244, allocations: 0 / 3.749 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/5.244, allocations: 7.094 kB / 3.749 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007847/5.245, allocations: 154.7 kB / 3.749 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/5.245, allocations: 4.391 kB / 3.749 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/5.247, allocations: 143.1 kB / 3.749 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/5.247, allocations: 45.78 kB / 3.75 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/5.247, allocations: 2.688 kB / 3.75 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001252/5.248, allocations: 0.7541 MB / 3.75 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/5.248, allocations: 1.438 kB / 3.75 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/5.248, allocations: 13.05 kB / 3.75 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/5.249, allocations: 152.5 kB / 3.75 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/5.249, allocations: 11.44 kB / 3.75 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/5.251, allocations: 142.8 kB / 3.751 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/5.251, allocations: 44.19 kB / 3.751 GB, free: 175.1 MB / 0.9323 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.0001941/5.251, allocations: 131 kB / 3.751 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/5.251, allocations: 131.8 kB / 3.751 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/5.253, allocations: 0.9942 MB / 3.752 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/5.253, allocations: 7.281 kB / 3.752 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/5.253, allocations: 0 / 3.752 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/5.253, allocations: 8.688 kB / 3.752 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/5.257, allocations: 2.391 MB / 3.754 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/5.257, allocations: 2.781 kB / 3.754 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007042/5.258, allocations: 135.2 kB / 3.754 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/5.258, allocations: 5.844 kB / 3.754 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/5.258, allocations: 20.14 kB / 3.754 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/5.258, allocations: 9.891 kB / 3.754 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/5.258, allocations: 3 kB / 3.754 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002283/5.26, allocations: 1.658 MB / 3.756 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003275/5.263, allocations: 2.626 MB / 3.759 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006525/5.264, allocations: 380.7 kB / 3.759 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/5.264, allocations: 8.672 kB / 3.759 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/5.266, allocations: 65.91 kB / 3.759 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/5.266, allocations: 56.02 kB / 3.759 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/5.266, allocations: 30.83 kB / 3.759 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001555/5.267, allocations: 0.9879 MB / 3.76 GB, free: 170 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004433/5.272, allocations: 1.143 MB / 3.761 GB, free: 169.2 MB / 0.9323 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.003052/5.275, allocations: 2.243 MB / 3.763 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001713/5.277, allocations: 1.172 MB / 3.764 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/5.277, allocations: 0 / 3.764 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005753/5.277, allocations: 426.9 kB / 3.765 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/5.28, allocations: 478 kB / 3.765 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/5.284, allocations: 1.986 MB / 3.767 GB, free: 164 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/5.286, allocations: 1.361 MB / 3.769 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of SimCode: time 6.91e-07/5.286, allocations: 0 / 3.769 GB, free: 162.9 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1)