Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4778/0.4778, allocations: 94.73 MB / 102 MB, free: 10.37 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.001148/0.001148, allocations: 171.9 kB / 125.3 MB, free: 11.99 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.205/1.205, allocations: 170.5 MB / 319 MB, free: 9.418 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.001672/0.001672, allocations: 103.1 kB / 381 MB, free: 18.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.797e-06/8.947e-06, allocations: 4 kB / 448.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1334, allocations: 61.52 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3237/0.4571, allocations: 94.96 MB / 0.5909 GB, free: 7.469 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.4575, allocations: 87.94 kB / 0.591 GB, free: 7.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.009948/0.4674, allocations: 2.729 MB / 0.5936 GB, free: 4.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.4675, allocations: 2.953 kB / 0.5936 GB, free: 4.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003975/0.4679, allocations: 366.2 kB / 0.594 GB, free: 4.328 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4679, allocations: 8.031 kB / 0.594 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.468, allocations: 0 / 0.594 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.4681, allocations: 168.6 kB / 0.5942 GB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.4682, allocations: 6.656 kB / 0.5942 GB, free: 4.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.4682, allocations: 0 / 0.5942 GB, free: 4.113 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.913e-05/0.4682, allocations: 6.531 kB / 0.5942 GB, free: 4.109 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.936e-05/0.4683, allocations: 37.62 kB / 0.5942 GB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.4683, allocations: 0 / 0.5942 GB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.4684, allocations: 0 / 0.5942 GB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4684, allocations: 4 kB / 0.5942 GB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.4685, allocations: 134.2 kB / 0.5943 GB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.4687, allocations: 25.72 kB / 0.5944 GB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.4687, allocations: 12.86 kB / 0.5944 GB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.4688, allocations: 0 / 0.5944 GB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.4688, allocations: 34.64 kB / 0.5944 GB, free: 3.805 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4688, allocations: 4 kB / 0.5944 GB, free: 3.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.001293/0.4701, allocations: 398.6 kB / 0.5948 GB, free: 3.348 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.4702, allocations: 51.41 kB / 0.5948 GB, free: 3.285 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.312e-05/0.4703, allocations: 101.7 kB / 0.5949 GB, free: 3.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4703, allocations: 25.7 kB / 0.595 GB, free: 3.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.4703, allocations: 80.14 kB / 0.595 GB, free: 3.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.4704, allocations: 15.72 kB / 0.595 GB, free: 3.055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.4704, allocations: 0 / 0.595 GB, free: 3.055 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4705, allocations: 314.8 kB / 0.5953 GB, free: 2.738 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.4706, allocations: 8 kB / 0.5954 GB, free: 2.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.4706, allocations: 15.05 kB / 0.5954 GB, free: 2.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.481e-05/0.4706, allocations: 8 kB / 0.5954 GB, free: 2.711 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4706, allocations: 0 / 0.5954 GB, free: 2.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001151/0.4707, allocations: 61.53 kB / 0.5954 GB, free: 2.645 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4708, allocations: 8 kB / 0.5954 GB, free: 2.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4708, allocations: 0 / 0.5954 GB, free: 2.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4708, allocations: 0 / 0.5954 GB, free: 2.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.4709, allocations: 8 kB / 0.5955 GB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.4709, allocations: 0 / 0.5955 GB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.4709, allocations: 4 kB / 0.5955 GB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4709, allocations: 0 / 0.5955 GB, free: 2.625 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 (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 prepare postOptimizeDAE: time 8.545e-05/0.471, allocations: 109 kB / 0.5956 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.471, allocations: 3.906 kB / 0.5956 GB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.4712, allocations: 65.38 kB / 0.5956 GB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.4712, allocations: 0 / 0.5956 GB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4712, allocations: 3.938 kB / 0.5956 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4713, allocations: 0 / 0.5956 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.4716, allocations: 289.9 kB / 0.5959 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.4716, allocations: 0 / 0.5959 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.4717, allocations: 11.94 kB / 0.5959 GB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.4717, allocations: 5.406 kB / 0.5959 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4717, allocations: 0 / 0.5959 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4717, allocations: 0 / 0.5959 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4718, allocations: 0 / 0.5959 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002224/0.472, allocations: 190.6 kB / 0.5961 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.4721, allocations: 85.02 kB / 0.5962 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.4721, allocations: 0 / 0.5962 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.4722, allocations: 6.375 kB / 0.5962 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.4722, allocations: 3.984 kB / 0.5962 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.4723, allocations: 4 kB / 0.5962 GB, free: 1.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.283e-05/0.4723, allocations: 86.61 kB / 0.5963 GB, free: 1.688 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004066/0.4727, allocations: 71.92 kB / 0.5964 GB, free: 1.617 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (pSatDer) * 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.0004331/0.4732, allocations: 182.8 kB / 0.5965 GB, free: 1.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.4733, allocations: 24 kB / 0.5965 GB, free: 1.406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4733, allocations: 0 / 0.5965 GB, free: 1.406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.59e-05/0.4733, allocations: 18 kB / 0.5966 GB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.4736, allocations: 18.08 kB / 0.5966 GB, free: 1.375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.474, allocations: 127.5 kB / 0.5967 GB, free: 1.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/0.4745, allocations: 0.6957 MB / 0.5974 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4745, allocations: 0 / 0.5974 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of Templates: time 0.005196/0.4797, allocations: 1.591 MB / 0.5989 GB, free: 15 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)