Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.241/2.241, allocations: 253.1 MB / 260.4 MB, free: 7.508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001858/0.001858, allocations: 193 kB / 319.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 0.5704 GB, free: 15.02 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001447/0.001447, allocations: 94.36 kB / 0.6746 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.688e-06/9.919e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2339, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.798/6.032, allocations: 2.212 GB / 3.1 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/6.033, allocations: 99.62 kB / 3.1 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.066/9.099, allocations: 0.6552 GB / 3.755 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002132/9.099, allocations: 37.17 kB / 3.755 GB, free: 152.9 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 0.005417/9.104, allocations: 1.63 MB / 3.757 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/9.104, allocations: 12.03 kB / 3.757 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006919/9.111, allocations: 480.5 kB / 3.757 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005027/9.116, allocations: 1.321 MB / 3.758 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/9.116, allocations: 24 kB / 3.758 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/9.117, allocations: 59.91 kB / 3.758 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002158/9.119, allocations: 0.7068 MB / 3.759 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/9.121, allocations: 0.7858 MB / 3.76 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/9.121, allocations: 0 / 3.76 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/9.121, allocations: 3.938 kB / 3.76 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/9.121, allocations: 16 kB / 3.76 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009072/9.13, allocations: 3.293 MB / 3.763 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/9.132, allocations: 0.5064 MB / 3.764 GB, free: 144 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008708/9.133, allocations: 382.7 kB / 3.764 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009909/9.134, allocations: 497.8 kB / 3.764 GB, free: 143 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009913/9.135, allocations: 446.9 kB / 3.765 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=65): time 3.727e-06/9.135, allocations: 0 / 3.765 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65): time 0.00385/9.139, allocations: 0.955 MB / 3.766 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/9.139, allocations: 115.5 kB / 3.766 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/9.142, allocations: 1.291 MB / 3.767 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002656/9.142, allocations: 25.7 kB / 3.767 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/9.142, allocations: 359.7 kB / 3.768 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/9.143, allocations: 209 kB / 3.768 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/9.143, allocations: 0 / 3.768 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.187e-05/9.143, allocations: 333.9 kB / 3.768 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007831/9.144, allocations: 305.2 kB / 3.768 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/9.145, allocations: 0.5916 MB / 3.769 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/9.146, allocations: 392.7 kB / 3.769 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/9.146, allocations: 0 / 3.769 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002924/9.149, allocations: 0.9277 MB / 3.77 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002023/9.149, allocations: 0.8205 MB / 3.771 GB, free: 136 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/9.149, allocations: 0 / 3.771 GB, free: 136 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.509e-05/9.149, allocations: 8 kB / 3.771 GB, free: 136 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/9.151, allocations: 155.8 kB / 3.771 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/9.151, allocations: 4 kB / 3.771 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/9.154, allocations: 151.4 kB / 3.771 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/9.154, allocations: 43.97 kB / 3.771 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/9.154, allocations: 6.344 kB / 3.771 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002213/9.156, allocations: 0.744 MB / 3.772 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/9.156, allocations: 3.984 kB / 3.772 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/9.156, allocations: 8 kB / 3.772 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/9.158, allocations: 152 kB / 3.772 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/9.158, allocations: 15.84 kB / 3.772 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/9.161, allocations: 127.6 kB / 3.772 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/9.161, allocations: 47.95 kB / 3.772 GB, free: 134.6 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.000339/9.162, allocations: 120.8 kB / 3.773 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003993/9.162, allocations: 138.3 kB / 3.773 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/9.165, allocations: 0.9971 MB / 3.774 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/9.165, allocations: 8 kB / 3.774 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/9.165, allocations: 0 / 3.774 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/9.165, allocations: 3.984 kB / 3.774 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00622/9.172, allocations: 2.389 MB / 3.776 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/9.172, allocations: 4 kB / 3.776 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/9.173, allocations: 136.2 kB / 3.776 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/9.173, allocations: 11.91 kB / 3.776 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.856e-05/9.173, allocations: 15.98 kB / 3.776 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/9.173, allocations: 7.938 kB / 3.776 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/9.173, allocations: 4 kB / 3.776 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003747/9.177, allocations: 1.66 MB / 3.778 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/9.178, allocations: 379.1 kB / 3.778 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003783/9.179, allocations: 4 kB / 3.778 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/9.181, allocations: 67.89 kB / 3.778 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/9.181, allocations: 60.52 kB / 3.778 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-05/9.181, allocations: 31.98 kB / 3.778 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002229/9.183, allocations: 0.9832 MB / 3.779 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003354/9.187, allocations: 0.6706 MB / 3.78 GB, free: 126.7 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.004026/9.191, allocations: 2.255 MB / 3.782 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003224/9.194, allocations: 1.166 MB / 3.783 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/9.194, allocations: 4.125 kB / 3.783 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/9.195, allocations: 430.2 kB / 3.784 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005029/9.2, allocations: 478.5 kB / 3.784 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008529/9.209, allocations: 1.98 MB / 3.786 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/9.211, allocations: 1.355 MB / 3.787 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.272e-06/9.211, allocations: 3.938 kB / 3.787 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.1031/9.314, allocations: 40.07 MB / 3.826 GB, free: 79.54 MB / 0.8698 GB