Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4699/0.4699, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009754/0.0009754, allocations: 184.1 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.147/1.147, allocations: 170.5 MB / 319 MB, free: 9.414 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001648/0.001649, allocations: 107.4 kB / 381 MB, free: 18.19 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.384e-06, allocations: 0 / 448.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1338, allocations: 61.52 MB / 0.4981 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3225/0.4564, allocations: 94.64 MB / 0.5905 GB, free: 7.738 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.4566, allocations: 75.94 kB / 0.5906 GB, free: 7.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.007211/0.4639, allocations: 2.102 MB / 0.5927 GB, free: 5.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4639, allocations: 0 / 0.5927 GB, free: 5.629 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003034/0.4642, allocations: 366.2 kB / 0.593 GB, free: 5.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4643, allocations: 12.03 kB / 0.593 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.4643, allocations: 0 / 0.593 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.4644, allocations: 166.4 kB / 0.5932 GB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.4644, allocations: 0 / 0.5932 GB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.4645, allocations: 6.656 kB / 0.5932 GB, free: 5.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.388e-05/0.4645, allocations: 3.984 kB / 0.5932 GB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.461e-05/0.4646, allocations: 29.7 kB / 0.5932 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.4646, allocations: 0 / 0.5932 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.4646, allocations: 0 / 0.5932 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4646, allocations: 4 kB / 0.5932 GB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.4648, allocations: 137.5 kB / 0.5934 GB, free: 4.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.342e-05/0.4648, allocations: 30.11 kB / 0.5934 GB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.4648, allocations: 16.69 kB / 0.5934 GB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.4649, allocations: 0 / 0.5934 GB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.4649, allocations: 30.56 kB / 0.5934 GB, free: 4.715 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.4649, allocations: 4 kB / 0.5934 GB, free: 4.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000122/0.465, allocations: 37.7 kB / 0.5935 GB, free: 4.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.4651, allocations: 51.41 kB / 0.5935 GB, free: 4.605 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.019e-05/0.4651, allocations: 92.98 kB / 0.5936 GB, free: 4.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.4651, allocations: 25.7 kB / 0.5936 GB, free: 4.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.4652, allocations: 80.14 kB / 0.5937 GB, free: 4.395 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.4652, allocations: 3.906 kB / 0.5937 GB, free: 4.391 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.4652, allocations: 0 / 0.5937 GB, free: 4.391 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4653, allocations: 322.9 kB / 0.594 GB, free: 4.066 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-06/0.4653, allocations: 0 / 0.594 GB, free: 4.066 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-06/0.4654, allocations: 3.938 kB / 0.594 GB, free: 4.062 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.53e-05/0.4654, allocations: 4 kB / 0.594 GB, free: 4.059 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4654, allocations: 0 / 0.594 GB, free: 4.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.562e-05/0.4654, allocations: 41.59 kB / 0.5941 GB, free: 4.012 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.4655, allocations: 4 kB / 0.5941 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.4655, allocations: 0 / 0.5941 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.4655, allocations: 0 / 0.5941 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.781e-05/0.4655, allocations: 8.094 kB / 0.5941 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4656, allocations: 0 / 0.5941 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.4656, allocations: 2.469 kB / 0.5941 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4656, allocations: 8 kB / 0.5941 GB, free: 3.992 MB / 410.7 MB 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 6.14e-05/0.4657, allocations: 104.9 kB / 0.5942 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-06/0.4657, allocations: 0 / 0.5942 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.31e-05/0.4658, allocations: 48.89 kB / 0.5942 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4658, allocations: 1.406 kB / 0.5942 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4658, allocations: 0 / 0.5942 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4658, allocations: 4.031 kB / 0.5942 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.451e-05/0.4659, allocations: 138.1 kB / 0.5944 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.4659, allocations: 0 / 0.5944 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.4659, allocations: 4 kB / 0.5944 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.4659, allocations: 0 / 0.5944 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.4659, allocations: 0 / 0.5944 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.4659, allocations: 2.953 kB / 0.5944 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.466, allocations: 0 / 0.5944 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.021e-05/0.466, allocations: 69.03 kB / 0.5945 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.4661, allocations: 81.11 kB / 0.5945 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.4661, allocations: 0 / 0.5945 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.809e-05/0.4661, allocations: 0 / 0.5945 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.4662, allocations: 7.922 kB / 0.5945 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.4662, allocations: 1.688 kB / 0.5945 GB, free: 3.457 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.447e-05/0.4662, allocations: 79.28 kB / 0.5946 GB, free: 3.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.4664, allocations: 31.94 kB / 0.5946 GB, free: 3.348 MB / 410.7 MB 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.0001942/0.4666, allocations: 135.2 kB / 0.5948 GB, free: 3.207 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.127e-05/0.4667, allocations: 11.98 kB / 0.5948 GB, free: 3.195 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4667, allocations: 0 / 0.5948 GB, free: 3.195 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.887e-06/0.4667, allocations: 4 kB / 0.5948 GB, free: 3.191 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.4669, allocations: 10.83 kB / 0.5948 GB, free: 3.184 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001595/0.467, allocations: 56 kB / 0.5949 GB, free: 3.105 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.4673, allocations: 0.6869 MB / 0.5955 GB, free: 2.395 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4673, allocations: 0 / 0.5955 GB, free: 2.395 MB / 410.7 MB Notification: Performance of Templates: time 0.002639/0.4699, allocations: 0.7738 MB / 0.5963 GB, free: 1.668 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)