Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [: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.261/2.261, allocations: 253.1 MB / 260.4 MB, free: 7.543 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.002244/0.002243, allocations: 177.3 kB / 319.6 MB, free: 3.32 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 1.814/1.814, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001225/0.001225, allocations: 89.77 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.908e-06/1.004e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6336/0.8326, allocations: 133.1 MB / 1.018 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.833, allocations: 85.11 kB / 1.018 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03248/0.8655, allocations: 5.791 MB / 1.024 GB, free: 376 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.8655, allocations: 4 kB / 1.024 GB, free: 372 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005666/0.8661, allocations: 367.4 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.8662, allocations: 12.03 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.8664, allocations: 11.89 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.8665, allocations: 163 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.8666, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.8666, allocations: 4 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001057/0.8667, allocations: 15.73 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.779e-05/0.8668, allocations: 41.09 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.8668, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.8669, allocations: 4 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.8669, allocations: 4 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.8671, allocations: 137.6 kB / 1.025 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.8687, allocations: 125 kB / 1.025 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.8688, allocations: 23.67 kB / 1.025 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.869, allocations: 85.19 kB / 1.025 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.869, allocations: 30.56 kB / 1.025 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.869, allocations: 0 / 1.025 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0002711/0.8693, allocations: 56.47 kB / 1.025 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.8694, allocations: 55.41 kB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.8694, allocations: 85 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.8695, allocations: 29.83 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.8695, allocations: 80.14 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.8696, allocations: 19.17 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.8696, allocations: 4 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8697, allocations: 314.8 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/0.8698, allocations: 7.375 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.8698, allocations: 4 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.112e-05/0.8699, allocations: 15.25 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8699, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001637/0.8701, allocations: 60.67 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.8701, allocations: 6.188 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8701, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.8702, allocations: 3.984 kB / 1.026 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.8703, allocations: 8 kB / 1.026 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.8703, allocations: 3.906 kB / 1.026 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/0.8704, allocations: 0 / 1.026 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.8704, allocations: 0 / 1.026 GB, free: 14.46 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.964e-05/0.8705, allocations: 108.9 kB / 1.026 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.8705, allocations: 0 / 1.026 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/0.8709, allocations: 86.77 kB / 1.026 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.8709, allocations: 0 / 1.026 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.871, allocations: 0 / 1.026 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.871, allocations: 4 kB / 1.026 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.8711, allocations: 145 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.8711, allocations: 0 / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.8712, allocations: 8 kB / 1.026 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.8713, allocations: 3.906 kB / 1.026 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.8713, allocations: 0 / 1.026 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.8713, allocations: 3.984 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.8713, allocations: 4 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001917/0.8715, allocations: 84.06 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.8716, allocations: 83.89 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.8716, allocations: 3.984 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.8717, allocations: 4.125 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.8717, allocations: 4 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.8718, allocations: 0 / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.73e-05/0.8718, allocations: 83.28 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004755/0.8723, allocations: 51.92 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0005443/0.8729, allocations: 173.6 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.873, allocations: 31 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.873, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.043e-05/0.8731, allocations: 11.69 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.8733, allocations: 12 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.8736, allocations: 63.48 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.8739, allocations: 0.6954 MB / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/0.874, allocations: 0 / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of Templates: time 0.005092/0.8791, allocations: 1.075 MB / 1.028 GB, free: 11.66 MB / 0.6511 GB