Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [: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.286/2.286, allocations: 253.1 MB / 260.4 MB, free: 7.5 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.00157/0.00157, allocations: 185.2 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 1.816/1.816, 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.001265/0.001264, allocations: 94.75 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.957e-06/9.077e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6417/0.8528, allocations: 133.4 MB / 1.018 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.8532, allocations: 86.53 kB / 1.018 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01347/0.8667, allocations: 2.333 MB / 1.021 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.8667, allocations: 0 / 1.021 GB, free: 2.953 MB / 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.0004581/0.8672, allocations: 357.2 kB / 1.021 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.8673, allocations: 12.02 kB / 1.021 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.8673, allocations: 4 kB / 1.021 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.8675, allocations: 159.1 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.443e-05/0.8676, allocations: 33.61 kB / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.8676, allocations: 0 / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.175e-05/0.8677, allocations: 14.88 kB / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.606e-05/0.8678, allocations: 37.81 kB / 1.021 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.8678, allocations: 3.984 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.8678, allocations: 4 kB / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.8679, allocations: 4 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.8681, allocations: 132.9 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.8683, allocations: 45.34 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.8684, allocations: 18.95 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003908/0.8688, allocations: 182.3 kB / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.8688, allocations: 34.56 kB / 1.022 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.8688, allocations: 0 / 1.022 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000799/0.8696, allocations: 104.2 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.8697, allocations: 52.25 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.8698, allocations: 89 kB / 1.022 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.8699, allocations: 25.7 kB / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.8699, allocations: 84.14 kB / 1.022 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.8699, allocations: 19.5 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.87, allocations: 0 / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.8701, allocations: 314.8 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.8701, allocations: 7.312 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.8702, allocations: 4 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/0.8708, allocations: 62.72 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.8708, allocations: 0 / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006949/0.8715, allocations: 115.6 kB / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.8716, allocations: 10.44 kB / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.8716, allocations: 0 / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.8716, allocations: 8 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.8717, allocations: 7.984 kB / 1.023 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.8717, allocations: 0.5469 kB / 1.023 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.8718, allocations: 4 kB / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.8718, allocations: 0 / 1.023 GB, free: 0.8633 MB / 0.6355 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.985e-05/0.8719, allocations: 105 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.872, allocations: 7.906 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007517/0.8727, allocations: 115.1 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.8728, allocations: 0 / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8728, allocations: 0 / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.8728, allocations: 0 / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.8729, allocations: 137.5 kB / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.8729, allocations: 0 / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.873, allocations: 11.94 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.8731, allocations: 432 / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.8731, allocations: 4 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.8731, allocations: 4 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.8731, allocations: 0 / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007025/0.8738, allocations: 138.5 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.8739, allocations: 77.11 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.8739, allocations: 0 / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.874, allocations: 7.984 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.8741, allocations: 7.906 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.8741, allocations: 4 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.245e-05/0.8742, allocations: 78.59 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003419/0.8745, allocations: 39.92 kB / 1.023 GB, free: 84 kB / 0.6355 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 (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 Backend phase and start with SimCode phase: time 0.0003463/0.8749, allocations: 147.1 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.875, allocations: 15.56 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.875, allocations: 4 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.8751, allocations: 11.19 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.8753, allocations: 4 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.8755, allocations: 75.14 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/0.8759, allocations: 0.6876 MB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of SimCode: time 6.21e-07/0.8759, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of Templates: time 0.004878/0.8808, allocations: 1.041 MB / 1.025 GB, free: 14.06 MB / 0.6511 GB