Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.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.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") [: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.1/2.1, allocations: 253.1 MB / 260.4 MB, free: 7.52 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.001603/0.001603, allocations: 177.3 kB / 319.6 MB, free: 3.328 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.089/2.089, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001319/0.001318, allocations: 89.59 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.058e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2313, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.16/6.392, allocations: 2.249 GB / 3.137 GB, free: 126 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003946/6.392, allocations: 106.5 kB / 3.137 GB, free: 126 MB / 0.8698 GB Notification: Performance of FrontEnd: time 10.29/16.68, allocations: 2.105 GB / 5.242 GB, free: 31.34 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003837/16.68, allocations: 59.98 kB / 5.242 GB, free: 31.28 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 358 * Number of variables: 358 Notification: Performance of Generate backend data structure: time 0.01112/16.69, allocations: 2.577 MB / 5.244 GB, free: 28.64 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/16.69, allocations: 8.031 kB / 5.244 GB, free: 28.64 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009548/16.7, allocations: 0.8397 MB / 5.245 GB, free: 27.79 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/16.71, allocations: 2.38 MB / 5.247 GB, free: 25.36 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/16.71, allocations: 48 kB / 5.247 GB, free: 25.32 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007051/16.71, allocations: 88 kB / 5.247 GB, free: 25.23 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004334/16.72, allocations: 1.228 MB / 5.249 GB, free: 24 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/16.72, allocations: 1.464 MB / 5.25 GB, free: 22.45 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.206e-05/16.72, allocations: 7.906 kB / 5.25 GB, free: 22.45 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000223/16.72, allocations: 0.7969 kB / 5.25 GB, free: 22.45 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.078e-05/16.72, allocations: 50.72 kB / 5.25 GB, free: 22.39 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0191/16.74, allocations: 7.99 MB / 5.258 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/16.74, allocations: 0.8033 MB / 5.259 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/16.74, allocations: 491.6 kB / 5.259 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001981/16.75, allocations: 0.9293 MB / 5.26 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001398/16.75, allocations: 0.5043 MB / 5.261 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=88): time 4.739e-06/16.75, allocations: 0 / 5.261 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=88): time 0.006/16.75, allocations: 1.15 MB / 5.262 GB, free: 9.742 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.728e-05/16.75, allocations: 167 kB / 5.262 GB, free: 9.543 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/16.76, allocations: 1.295 MB / 5.263 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004232/16.76, allocations: 25.7 kB / 5.263 GB, free: 8.176 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007642/16.76, allocations: 0.6353 MB / 5.264 GB, free: 7.527 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005475/16.76, allocations: 299.5 kB / 5.264 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.968e-05/16.76, allocations: 4 kB / 5.264 GB, free: 7.227 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001206/16.76, allocations: 345.9 kB / 5.264 GB, free: 6.883 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/16.76, allocations: 366.5 kB / 5.265 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/16.76, allocations: 0.7397 MB / 5.265 GB, free: 5.617 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/16.76, allocations: 0.5711 MB / 5.266 GB, free: 5.051 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/16.76, allocations: 0 / 5.266 GB, free: 5.051 MB / 0.9011 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004476/16.77, allocations: 1.321 MB / 5.267 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009856/16.77, allocations: 3.465 MB / 5.271 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.827e-05/16.77, allocations: 11.94 kB / 5.271 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.797e-05/16.77, allocations: 16 kB / 5.271 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/16.77, allocations: 263.6 kB / 5.271 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.784e-05/16.77, allocations: 23.92 kB / 5.271 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/16.78, allocations: 186.8 kB / 5.271 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003684/16.78, allocations: 63.97 kB / 5.271 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/16.78, allocations: 4 kB / 5.271 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004502/16.78, allocations: 1.072 MB / 5.272 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-05/16.78, allocations: 19.91 kB / 5.272 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/16.78, allocations: 15.94 kB / 5.272 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/16.78, allocations: 263.6 kB / 5.273 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-05/16.78, allocations: 23.94 kB / 5.273 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003318/16.79, allocations: 171.1 kB / 5.273 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/16.79, allocations: 55.98 kB / 5.273 GB, free: 13.83 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,eleHea.on,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 134 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0005003/16.79, allocations: 136.7 kB / 5.273 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005498/16.79, allocations: 185.7 kB / 5.273 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004987/16.79, allocations: 1.112 MB / 5.274 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/16.79, allocations: 11.98 kB / 5.274 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/16.79, allocations: 4 kB / 5.274 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003363/16.8, allocations: 1.162 MB / 5.275 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00976/16.81, allocations: 2.523 MB / 5.278 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/16.81, allocations: 4 kB / 5.278 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/16.81, allocations: 191.9 kB / 5.278 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003678/16.81, allocations: 44.83 kB / 5.278 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/16.81, allocations: 19.98 kB / 5.278 GB, free: 8.262 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/16.81, allocations: 1.377 MB / 5.279 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/16.81, allocations: 11.83 kB / 5.279 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005568/16.82, allocations: 1.727 MB / 5.281 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/16.82, allocations: 366.4 kB / 5.281 GB, free: 4.578 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005017/16.82, allocations: 11.91 kB / 5.281 GB, free: 4.566 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002416/16.82, allocations: 123.7 kB / 5.282 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/16.82, allocations: 60.62 kB / 5.282 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/16.82, allocations: 31.98 kB / 5.282 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.002777/16.83, allocations: 0.9658 MB / 5.283 GB, free: 3.367 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008116/16.83, allocations: 1.251 MB / 5.284 GB, free: 2.113 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,eleHea.hea.outCon.T) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,eleHea.on) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009893/16.84, allocations: 4.061 MB / 5.288 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005678/16.85, allocations: 1.636 MB / 5.289 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/16.85, allocations: 4 kB / 5.289 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/16.85, allocations: 0.5278 MB / 5.29 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007655/16.86, allocations: 0.7384 MB / 5.291 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/16.88, allocations: 3.135 MB / 5.294 GB, free: 7.703 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003133/16.88, allocations: 1.732 MB / 5.295 GB, free: 5.934 MB / 0.9323 GB Notification: Performance of SimCode: time 1.512e-06/16.88, allocations: 0 / 5.295 GB, free: 5.934 MB / 0.9323 GB Notification: Performance of Templates: time 0.6684/17.55, allocations: 54.69 MB / 5.349 GB, free: 190.1 MB / 0.9323 GB