Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [: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.4677/0.4677, allocations: 94.74 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.001182/0.001183, allocations: 177 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.122/1.122, allocations: 170.5 MB / 319 MB, free: 9.355 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.001631/0.001631, allocations: 116.9 kB / 381 MB, free: 18.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/9.799e-06, allocations: 8 kB / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1418, allocations: 61.51 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.325/0.4668, allocations: 95.5 MB / 0.5914 GB, free: 6.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.4671, allocations: 79.95 kB / 0.5915 GB, free: 6.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.0212/0.4883, allocations: 6.973 MB / 0.5983 GB, free: 15.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4883, allocations: 7.562 kB / 0.5983 GB, free: 15.92 MB / 426.7 MB 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.0004957/0.4888, allocations: 366.4 kB / 0.5986 GB, free: 15.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.4889, allocations: 9.031 kB / 0.5986 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.4891, allocations: 9.297 kB / 0.5987 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.4893, allocations: 164.6 kB / 0.5988 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.4893, allocations: 0 / 0.5988 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.4893, allocations: 7.938 kB / 0.5988 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001274/0.4895, allocations: 22.58 kB / 0.5988 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4896, allocations: 41.69 kB / 0.5989 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4896, allocations: 0 / 0.5989 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4897, allocations: 0 / 0.5989 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.4897, allocations: 4 kB / 0.5989 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.4899, allocations: 134.2 kB / 0.599 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/0.4909, allocations: 118.5 kB / 0.5991 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.4909, allocations: 20.92 kB / 0.5991 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.4911, allocations: 89.19 kB / 0.5992 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.4912, allocations: 34.5 kB / 0.5993 GB, free: 14.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.4912, allocations: 0 / 0.5993 GB, free: 14.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002348/0.4914, allocations: 49.69 kB / 0.5993 GB, free: 14.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.4915, allocations: 55.41 kB / 0.5994 GB, free: 14.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.4916, allocations: 85 kB / 0.5994 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.4916, allocations: 25.7 kB / 0.5995 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.4916, allocations: 84.14 kB / 0.5995 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.4917, allocations: 11.81 kB / 0.5996 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.4917, allocations: 0 / 0.5996 GB, free: 14.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.492, allocations: 314.8 kB / 0.5999 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.492, allocations: 8.125 kB / 0.5999 GB, free: 14.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.492, allocations: 8 kB / 0.5999 GB, free: 14.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.4921, allocations: 12.12 kB / 0.5999 GB, free: 14.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4921, allocations: 0 / 0.5999 GB, free: 14.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001494/0.4923, allocations: 61.52 kB / 0.5999 GB, free: 14.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.4923, allocations: 4 kB / 0.5999 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4923, allocations: 2 kB / 0.5999 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4923, allocations: 0 / 0.5999 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.4924, allocations: 8 kB / 0.6 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4924, allocations: 0 / 0.6 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.4925, allocations: 0 / 0.6 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4925, allocations: 4 kB / 0.6 GB, free: 14 MB / 426.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 (4): * Single equations (assignments): 4 * 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.928e-05/0.4926, allocations: 107 kB / 0.6001 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.4926, allocations: 7.844 kB / 0.6001 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.4929, allocations: 77.14 kB / 0.6001 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4929, allocations: 0 / 0.6001 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.4929, allocations: 3.984 kB / 0.6001 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.4929, allocations: 0 / 0.6001 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.4931, allocations: 138.1 kB / 0.6003 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4931, allocations: 0 / 0.6003 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.335e-05/0.4932, allocations: 14.11 kB / 0.6003 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4932, allocations: 0 / 0.6003 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4932, allocations: 0 / 0.6003 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4932, allocations: 0 / 0.6003 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4932, allocations: 8 kB / 0.6003 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000186/0.4934, allocations: 77.03 kB / 0.6004 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/0.4935, allocations: 93.03 kB / 0.6005 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.4936, allocations: 0 / 0.6005 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-05/0.4936, allocations: 0 / 0.6005 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.4936, allocations: 11.84 kB / 0.6005 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.4937, allocations: 0 / 0.6005 GB, free: 13.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.386e-05/0.4937, allocations: 79.28 kB / 0.6005 GB, free: 13.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.4941, allocations: 63.92 kB / 0.6006 GB, free: 13.25 MB / 426.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 (5): * Single equations (assignments): 5 * 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.0006732/0.4948, allocations: 203.1 kB / 0.6008 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.708e-05/0.4949, allocations: 20 kB / 0.6008 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4949, allocations: 0 / 0.6008 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.963e-05/0.4949, allocations: 23.92 kB / 0.6008 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.4951, allocations: 6.188 kB / 0.6009 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.4954, allocations: 57.48 kB / 0.6009 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/0.4957, allocations: 0.6954 MB / 0.6016 GB, free: 12.21 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4957, allocations: 0 / 0.6016 GB, free: 12.21 MB / 426.7 MB Notification: Performance of Templates: time 0.004045/0.4997, allocations: 1.235 MB / 0.6028 GB, free: 11.01 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)