Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") [: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.4899/0.4899, allocations: 94.75 MB / 102 MB, free: 14.79 MB / 94.08 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001079/0.001079, allocations: 178.8 kB / 125.3 MB, free: 15.97 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.092/1.092, allocations: 170.5 MB / 319 MB, free: 13.56 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001686/0.001686, allocations: 102.9 kB / 381 MB, free: 19.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.494e-06, allocations: 0 / 448.6 MB, free: 6.109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1441, allocations: 61.52 MB / 0.4981 GB, free: 8.48 MB / 398.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3412/0.4854, allocations: 94.22 MB / 0.5901 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4857, allocations: 79.94 kB / 0.5902 GB, free: 14.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.007292/0.493, allocations: 2.199 MB / 0.5924 GB, free: 12.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.493, allocations: 0 / 0.5924 GB, free: 12.1 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003245/0.4933, allocations: 354.4 kB / 0.5927 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.4934, allocations: 8.031 kB / 0.5927 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.4936, allocations: 17.38 kB / 0.5927 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.4938, allocations: 169.7 kB / 0.5929 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4938, allocations: 0 / 0.5929 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.4938, allocations: 8 kB / 0.5929 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.808e-05/0.4939, allocations: 16 kB / 0.5929 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.233e-05/0.494, allocations: 49.67 kB / 0.593 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.494, allocations: 0 / 0.593 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.494, allocations: 4 kB / 0.593 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.494, allocations: 3.906 kB / 0.593 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.4942, allocations: 134.2 kB / 0.5931 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.4943, allocations: 62.64 kB / 0.5932 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.4944, allocations: 18.42 kB / 0.5932 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.4944, allocations: 4 kB / 0.5932 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.4944, allocations: 31.59 kB / 0.5932 GB, free: 11.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.4944, allocations: 0 / 0.5932 GB, free: 11.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001702/0.4946, allocations: 61.59 kB / 0.5933 GB, free: 11.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.4947, allocations: 55.41 kB / 0.5933 GB, free: 10.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.4947, allocations: 89 kB / 0.5934 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.4948, allocations: 25.7 kB / 0.5934 GB, free: 10.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.4948, allocations: 80.14 kB / 0.5935 GB, free: 10.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.4949, allocations: 19.73 kB / 0.5935 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.4949, allocations: 0 / 0.5935 GB, free: 10.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.495, allocations: 321.2 kB / 0.5938 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.4951, allocations: 12 kB / 0.5938 GB, free: 10.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.4951, allocations: 9.781 kB / 0.5939 GB, free: 10.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.02e-05/0.4951, allocations: 15.92 kB / 0.5939 GB, free: 10.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4951, allocations: 4.125 kB / 0.5939 GB, free: 10.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001221/0.4953, allocations: 64.75 kB / 0.5939 GB, free: 10.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4953, allocations: 4 kB / 0.5939 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4953, allocations: 0 / 0.5939 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.4953, allocations: 0 / 0.5939 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.4955, allocations: 15.98 kB / 0.594 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.4955, allocations: 4 kB / 0.594 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.4955, allocations: 3.906 kB / 0.594 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.4955, allocations: 2.953 kB / 0.594 GB, free: 10.29 MB / 414.1 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.741e-05/0.4956, allocations: 105 kB / 0.5941 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.4956, allocations: 7.906 kB / 0.5941 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.4959, allocations: 83.84 kB / 0.5941 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4959, allocations: 4 kB / 0.5942 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4959, allocations: 0 / 0.5942 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4959, allocations: 0 / 0.5942 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.496, allocations: 146.1 kB / 0.5943 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4961, allocations: 0 / 0.5943 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.4962, allocations: 19.83 kB / 0.5943 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.4962, allocations: 6.859 kB / 0.5943 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.4962, allocations: 0 / 0.5943 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4962, allocations: 0 / 0.5943 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4962, allocations: 0 / 0.5943 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001245/0.4963, allocations: 97.52 kB / 0.5944 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.4964, allocations: 89.03 kB / 0.5945 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.4964, allocations: 0 / 0.5945 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.4965, allocations: 2 kB / 0.5945 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.4965, allocations: 11.89 kB / 0.5945 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.4965, allocations: 0 / 0.5945 GB, free: 9.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.985e-05/0.4966, allocations: 79.28 kB / 0.5946 GB, free: 9.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0001791/0.4968, allocations: 8 kB / 0.5946 GB, free: 9.566 MB / 414.1 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.0001248/0.4969, allocations: 103.3 kB / 0.5947 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.497, allocations: 33.66 kB / 0.5947 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.4971, allocations: 0 / 0.5947 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.4971, allocations: 23.98 kB / 0.5947 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.4973, allocations: 3.719 kB / 0.5947 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.4976, allocations: 73.33 kB / 0.5948 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.4979, allocations: 0.7036 MB / 0.5955 GB, free: 8.578 MB / 414.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4979, allocations: 0 / 0.5955 GB, free: 8.578 MB / 414.1 MB Notification: Performance of Templates: time 0.002724/0.5007, allocations: 0.5918 MB / 0.5961 GB, free: 8.02 MB / 414.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)