Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.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.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus") [: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.175/2.175, allocations: 253.1 MB / 260.4 MB, free: 7.641 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.002487/0.002487, allocations: 169.3 kB / 319.6 MB, free: 3.297 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.119/2.119, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.001319, allocations: 83.27 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.887e-06/9.057e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2413, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.487/1.728, allocations: 409 MB / 1.287 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/1.729, allocations: 86.48 kB / 1.288 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.236/4.964, allocations: 0.7274 GB / 2.015 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001934/4.964, allocations: 41 kB / 2.015 GB, free: 181.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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.00713/4.972, allocations: 1.679 MB / 2.017 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/4.972, allocations: 7.062 kB / 2.017 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/4.984, allocations: 0.8822 MB / 2.017 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005043/4.99, allocations: 1.5 MB / 2.019 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001384/4.991, allocations: 238 kB / 2.019 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/4.991, allocations: 55.09 kB / 2.019 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003597/4.995, allocations: 1.296 MB / 2.02 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/4.998, allocations: 1.143 MB / 2.022 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/4.998, allocations: 3.906 kB / 2.022 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/4.998, allocations: 3.906 kB / 2.022 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/4.998, allocations: 20.88 kB / 2.022 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01529/5.013, allocations: 5.656 MB / 2.027 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/5.016, allocations: 1.017 MB / 2.028 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/5.017, allocations: 0.5551 MB / 2.029 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008529/5.018, allocations: 1.081 MB / 2.03 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/5.019, allocations: 0.6722 MB / 2.03 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=64): time 3.176e-06/5.019, allocations: 0 / 2.03 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=64): time 0.004423/5.024, allocations: 1.361 MB / 2.032 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/5.024, allocations: 85.61 kB / 2.032 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/5.026, allocations: 1.095 MB / 2.033 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001987/5.026, allocations: 33.45 kB / 2.033 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/5.027, allocations: 421.7 kB / 2.033 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/5.027, allocations: 211.4 kB / 2.033 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/5.027, allocations: 0 / 2.033 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/5.027, allocations: 335 kB / 2.034 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/5.029, allocations: 0.502 MB / 2.034 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/5.03, allocations: 0.7029 MB / 2.035 GB, free: 176 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/5.032, allocations: 0.5326 MB / 2.036 GB, free: 176 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/5.032, allocations: 0 / 2.036 GB, free: 176 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004453/5.037, allocations: 1.441 MB / 2.037 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/5.037, allocations: 6.438 kB / 2.037 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/5.037, allocations: 3.062 kB / 2.037 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/5.038, allocations: 0.6154 MB / 2.038 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/5.04, allocations: 255.4 kB / 2.038 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/5.044, allocations: 1.206 MB / 2.039 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/5.047, allocations: 215.9 kB / 2.039 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/5.048, allocations: 61.83 kB / 2.039 GB, free: 175.3 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absChi.Q2_flow:VARIABLE(unit = "W" ) "Heat flow rate into medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.datRea.nextTimeEvent,absChi.on,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004181/5.048, allocations: 128.2 kB / 2.039 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004168/5.049, allocations: 134.7 kB / 2.039 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008009/5.057, allocations: 1.787 MB / 2.041 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/5.057, allocations: 7.375 kB / 2.041 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/5.057, allocations: 3.562 kB / 2.041 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/5.057, allocations: 6.281 kB / 2.041 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009708/5.066, allocations: 3.257 MB / 2.044 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/5.066, allocations: 0 / 2.044 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/5.069, allocations: 228.9 kB / 2.045 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/5.07, allocations: 0.604 MB / 2.045 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/5.071, allocations: 28.84 kB / 2.045 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003519/5.074, allocations: 1.215 MB / 2.046 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/5.074, allocations: 0 / 2.046 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005068/5.079, allocations: 1.7 MB / 2.048 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/5.081, allocations: 423.8 kB / 2.048 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006022/5.081, allocations: 9.844 kB / 2.048 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003393/5.085, allocations: 197 kB / 2.049 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/5.085, allocations: 53 kB / 2.049 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002503/5.085, allocations: 57.16 kB / 2.049 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001958/5.087, allocations: 0.828 MB / 2.05 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00264/5.09, allocations: 491.7 kB / 2.05 GB, free: 173.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absChi.on,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002324/5.092, allocations: 0.8811 MB / 2.051 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004534/5.097, allocations: 1.258 MB / 2.052 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/5.097, allocations: 0 / 2.052 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003009/5.1, allocations: 0.7462 MB / 2.053 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004908/5.105, allocations: 487.6 kB / 2.053 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007739/5.113, allocations: 2.099 MB / 2.055 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/5.115, allocations: 1.41 MB / 2.057 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.343e-06/5.115, allocations: 0 / 2.057 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.08021/5.195, allocations: 27.48 MB / 2.084 GB, free: 169.2 MB / 0.8698 GB