Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [: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.258/2.258, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.00158/0.00158, allocations: 188.8 kB / 319.6 MB, free: 3.289 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.904/1.904, 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.00126/0.00126, allocations: 94.62 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.085e-05/1.09e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2033, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6365/0.8399, allocations: 133.1 MB / 1.018 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.8402, allocations: 72.09 kB / 1.018 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0102/0.8504, allocations: 1.649 MB / 1.02 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.8505, allocations: 0 / 1.02 GB, free: 3.703 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006173/0.8511, allocations: 361.6 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.8512, allocations: 8.031 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006194/0.8518, allocations: 27.95 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.852, allocations: 175 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.852, allocations: 3.906 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.8521, allocations: 0 / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001292/0.8522, allocations: 23.25 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.8523, allocations: 52.78 kB / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8524, allocations: 0 / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.8524, allocations: 0 / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.8524, allocations: 0 / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.853, allocations: 250.3 kB / 1.021 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.8532, allocations: 41 kB / 1.021 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.8533, allocations: 16.11 kB / 1.021 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.8533, allocations: 0 / 1.021 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.8533, allocations: 37.64 kB / 1.021 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.8533, allocations: 0 / 1.021 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002608/0.8536, allocations: 55.92 kB / 1.021 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.8537, allocations: 55.31 kB / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.8538, allocations: 95.91 kB / 1.021 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.8538, allocations: 25.7 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.8539, allocations: 80.14 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.8539, allocations: 11.89 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.8539, allocations: 0 / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.8541, allocations: 314.8 kB / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.22e-05/0.8541, allocations: 11.81 kB / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.8542, allocations: 7.406 kB / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.8542, allocations: 15.73 kB / 1.021 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8542, allocations: 4 kB / 1.021 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001655/0.8544, allocations: 52.94 kB / 1.021 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.8544, allocations: 4 kB / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8545, allocations: 0 / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.8545, allocations: 2.312 kB / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.8547, allocations: 19.97 kB / 1.021 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8548, allocations: 3.938 kB / 1.021 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.855, allocations: 19.92 kB / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.855, allocations: 0 / 1.021 GB, free: 1.844 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 (2): * Single equations (assignments): 2 * 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 9.376e-05/0.8551, allocations: 105 kB / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.8551, allocations: 0 / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.769e-05/0.8552, allocations: 19.11 kB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.8553, allocations: 0 / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.8553, allocations: 4 kB / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.8553, allocations: 0 / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.8555, allocations: 145.3 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8555, allocations: 0 / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.8557, allocations: 23.97 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8558, allocations: 0 / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.8558, allocations: 0 / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.8558, allocations: 3.906 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.8558, allocations: 2.625 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002171/0.856, allocations: 150.9 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.8561, allocations: 85.89 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.8561, allocations: 8.016 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.8564, allocations: 11.98 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.8564, allocations: 0 / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.8564, allocations: 3.984 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.377e-05/0.8565, allocations: 81.72 kB / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003613/0.8569, allocations: 16 kB / 1.022 GB, free: 1.145 MB / 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 (2): * Single equations (assignments): 2 * 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.0002673/0.8572, allocations: 121.4 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.8573, allocations: 30.17 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8573, allocations: 0 / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.769e-05/0.8574, allocations: 11.88 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.8576, allocations: 0 / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.8581, allocations: 87.34 kB / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.8585, allocations: 0.6919 MB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.8586, allocations: 0 / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of Templates: time 0.004369/0.8629, allocations: 0.9281 MB / 1.024 GB, free: 15.26 MB / 0.6511 GB