Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [: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.4639/0.4639, allocations: 94.74 MB / 102 MB, free: 10.38 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.001183/0.001183, allocations: 180.5 kB / 125.3 MB, free: 12 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.166/1.166, allocations: 170.5 MB / 319 MB, free: 9.359 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.00167/0.00167, allocations: 101.8 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.073e-05/1.077e-05, allocations: 4 kB / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 61.51 MB / 0.4981 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.358/0.4995, allocations: 95.35 MB / 0.5912 GB, free: 7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4998, allocations: 75.95 kB / 0.5913 GB, free: 6.926 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01021/0.51, allocations: 3.102 MB / 0.5943 GB, free: 3.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.51, allocations: 4 kB / 0.5943 GB, free: 3.91 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000564/0.5106, allocations: 394.5 kB / 0.5947 GB, free: 3.484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.5107, allocations: 13.06 kB / 0.5947 GB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.511, allocations: 27.88 kB / 0.5947 GB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.5112, allocations: 190.9 kB / 0.5949 GB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.5113, allocations: 33.7 kB / 0.595 GB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.5114, allocations: 7.906 kB / 0.595 GB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00018/0.5115, allocations: 55.92 kB / 0.595 GB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.5117, allocations: 73.67 kB / 0.5951 GB, free: 3.039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.5117, allocations: 0 / 0.5951 GB, free: 3.039 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.5118, allocations: 0 / 0.5951 GB, free: 3.039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5118, allocations: 0 / 0.5951 GB, free: 3.039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.5124, allocations: 350.2 kB / 0.5954 GB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.5129, allocations: 118.1 kB / 0.5955 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.522e-05/0.513, allocations: 24.86 kB / 0.5956 GB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.513, allocations: 4 kB / 0.5956 GB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.513, allocations: 32.56 kB / 0.5956 GB, free: 2.469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.513, allocations: 0 / 0.5956 GB, free: 2.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002089/0.5132, allocations: 73.69 kB / 0.5957 GB, free: 2.391 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.5133, allocations: 59.56 kB / 0.5957 GB, free: 2.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.5134, allocations: 115.2 kB / 0.5958 GB, free: 2.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.5134, allocations: 25.7 kB / 0.5959 GB, free: 2.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.5135, allocations: 95.89 kB / 0.596 GB, free: 2.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.5135, allocations: 27.64 kB / 0.596 GB, free: 2.043 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.5135, allocations: 0 / 0.596 GB, free: 2.043 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5137, allocations: 318.8 kB / 0.5963 GB, free: 1.723 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.5137, allocations: 19.98 kB / 0.5963 GB, free: 1.703 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/0.5138, allocations: 33.72 kB / 0.5963 GB, free: 1.664 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.617e-05/0.5138, allocations: 17.17 kB / 0.5964 GB, free: 1.648 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5138, allocations: 3.938 kB / 0.5964 GB, free: 1.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001548/0.514, allocations: 77.53 kB / 0.5964 GB, free: 1.562 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.514, allocations: 8 kB / 0.5964 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.514, allocations: 0 / 0.5964 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.514, allocations: 0 / 0.5964 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.5142, allocations: 28.02 kB / 0.5965 GB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5142, allocations: 4 kB / 0.5965 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.626e-05/0.5143, allocations: 12.55 kB / 0.5965 GB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.5143, allocations: 4 kB / 0.5965 GB, free: 1.508 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.436e-05/0.5144, allocations: 104.9 kB / 0.5966 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.5144, allocations: 7.906 kB / 0.5966 GB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.5145, allocations: 20.36 kB / 0.5966 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.5145, allocations: 0 / 0.5966 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.5145, allocations: 0 / 0.5966 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5145, allocations: 2.391 kB / 0.5966 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.5148, allocations: 178 kB / 0.5968 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5148, allocations: 0 / 0.5968 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.5149, allocations: 19.98 kB / 0.5968 GB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5149, allocations: 7.188 kB / 0.5968 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.5149, allocations: 0 / 0.5968 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5149, allocations: 0 / 0.5968 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5149, allocations: 3.688 kB / 0.5968 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001788/0.5151, allocations: 179.3 kB / 0.597 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.5152, allocations: 77.11 kB / 0.5971 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.5152, allocations: 3.906 kB / 0.5971 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.5154, allocations: 23.92 kB / 0.5971 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.5155, allocations: 7.984 kB / 0.5971 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.5155, allocations: 4 kB / 0.5971 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.627e-05/0.5155, allocations: 92.89 kB / 0.5972 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.5158, allocations: 16 kB / 0.5972 GB, free: 0.7109 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 (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 Backend phase and start with SimCode phase: time 0.0001389/0.5159, allocations: 99.25 kB / 0.5973 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.5161, allocations: 44 kB / 0.5973 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5161, allocations: 2.062 kB / 0.5973 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.738e-05/0.5162, allocations: 27.94 kB / 0.5974 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.5165, allocations: 22.81 kB / 0.5974 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.5169, allocations: 132.9 kB / 0.5975 GB, free: 372 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.5172, allocations: 0.7192 MB / 0.5982 GB, free: 15.62 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5172, allocations: 0 / 0.5982 GB, free: 15.62 MB / 426.7 MB Notification: Performance of Templates: time 0.00385/0.5211, allocations: 1.306 MB / 0.5995 GB, free: 14.37 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)