Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [: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 8.0.0/package.mo): time 2.295/2.295, allocations: 284.9 MB / 292.2 MB, free: 9.844 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002262/0.002262, allocations: 179.2 kB / 360.4 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.1 MB / 0.6188 GB, free: 3.277 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.00119, allocations: 83.17 kB / 0.7318 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.027e-05/1.02e-05, allocations: 2.625 kB / 0.8503 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2117, allocations: 115.2 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6242/0.8359, allocations: 138.3 MB / 1.098 GB, free: 44.99 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.8363, allocations: 83.19 kB / 1.098 GB, free: 44.99 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01316/0.8495, allocations: 2.518 MB / 1.1 GB, free: 44.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.8495, allocations: 0 / 1.1 GB, free: 44.86 MB / 0.7136 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.0003907/0.85, allocations: 350.5 kB / 1.101 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.85, allocations: 11.36 kB / 1.101 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006081/0.8506, allocations: 25.02 kB / 1.101 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/0.8507, allocations: 164.5 kB / 1.101 GB, free: 44.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.8508, allocations: 7.875 kB / 1.101 GB, free: 44.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.8508, allocations: 3.531 kB / 1.101 GB, free: 44.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001067/0.8509, allocations: 20.02 kB / 1.101 GB, free: 44.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.851, allocations: 53.27 kB / 1.101 GB, free: 44.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8511, allocations: 0 / 1.101 GB, free: 44.26 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.8511, allocations: 0 / 1.101 GB, free: 44.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.8511, allocations: 0 / 1.101 GB, free: 44.26 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.8513, allocations: 155.6 kB / 1.101 GB, free: 44.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.8515, allocations: 40.41 kB / 1.101 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.8516, allocations: 25.27 kB / 1.101 GB, free: 44.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.8516, allocations: 0 / 1.101 GB, free: 44.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.8517, allocations: 30.56 kB / 1.101 GB, free: 44.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.8517, allocations: 3.938 kB / 1.101 GB, free: 44.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.002856/0.8545, allocations: 422 kB / 1.102 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.8546, allocations: 55.31 kB / 1.102 GB, free: 43.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.11e-05/0.8547, allocations: 93.59 kB / 1.102 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.8547, allocations: 25.7 kB / 1.102 GB, free: 43.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.681e-05/0.8547, allocations: 80.14 kB / 1.102 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.8548, allocations: 18.91 kB / 1.102 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.8548, allocations: 4.125 kB / 1.102 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.8549, allocations: 318.5 kB / 1.102 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.09e-05/0.855, allocations: 25.22 kB / 1.102 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.896e-05/0.8551, allocations: 28.12 kB / 1.102 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.8552, allocations: 36.73 kB / 1.102 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.8552, allocations: 0 / 1.102 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003123/0.8555, allocations: 100.1 kB / 1.102 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.8555, allocations: 3.875 kB / 1.102 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8556, allocations: 0 / 1.102 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.8556, allocations: 4 kB / 1.102 GB, free: 43.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.856, allocations: 22.77 kB / 1.102 GB, free: 43.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.856, allocations: 3.75 kB / 1.102 GB, free: 43.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.8563, allocations: 7.875 kB / 1.102 GB, free: 43.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.8564, allocations: 9.812 kB / 1.102 GB, free: 43.12 MB / 0.7136 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 (7): * Single equations (assignments): 7 * 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 7.97e-05/0.8565, allocations: 101 kB / 1.103 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.8565, allocations: 3.875 kB / 1.103 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.8567, allocations: 18.69 kB / 1.103 GB, free: 43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.8567, allocations: 7.781 kB / 1.103 GB, free: 43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8567, allocations: 0 / 1.103 GB, free: 43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8567, allocations: 0 / 1.103 GB, free: 43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.8569, allocations: 159.7 kB / 1.103 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8569, allocations: 3.875 kB / 1.103 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.8573, allocations: 26.77 kB / 1.103 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.8573, allocations: 0 / 1.103 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.8574, allocations: 7.625 kB / 1.103 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8574, allocations: 3.938 kB / 1.103 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8574, allocations: 7.984 kB / 1.103 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004764/0.8579, allocations: 163.1 kB / 1.103 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.8579, allocations: 81.02 kB / 1.103 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.858, allocations: 0 / 1.103 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.8584, allocations: 11.12 kB / 1.103 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.8584, allocations: 4 kB / 1.103 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.8584, allocations: 11.91 kB / 1.103 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.494e-05/0.8585, allocations: 84.41 kB / 1.103 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003612/0.8588, allocations: 35.05 kB / 1.103 GB, free: 42.56 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002746/0.8591, allocations: 130.3 kB / 1.103 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.8594, allocations: 64.33 kB / 1.103 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.8594, allocations: 4.094 kB / 1.103 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.8595, allocations: 43.22 kB / 1.103 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.8597, allocations: 3.906 kB / 1.103 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000896/0.8606, allocations: 125.6 kB / 1.103 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.8609, allocations: 0.7095 MB / 1.104 GB, free: 41.69 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/0.861, allocations: 0 / 1.104 GB, free: 41.69 MB / 0.7136 GB Notification: Performance of Templates: time 0.006239/0.8672, allocations: 2.108 MB / 1.106 GB, free: 41.55 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)