Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.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.WetBul_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX") [: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.4605/0.4605, 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.001074/0.001074, allocations: 169.2 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.153/1.153, allocations: 170.5 MB / 319 MB, free: 9.402 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.001743/0.001743, allocations: 113.7 kB / 381 MB, free: 18.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.773e-06/7.013e-06, allocations: 224 / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1391, allocations: 61.52 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/0.4849, allocations: 94.04 MB / 0.59 GB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4852, allocations: 75.95 kB / 0.59 GB, free: 8.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.004484/0.4897, allocations: 1.203 MB / 0.5912 GB, free: 7.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.4897, allocations: 4.562 kB / 0.5912 GB, free: 7.023 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004629/0.4902, allocations: 371.9 kB / 0.5916 GB, free: 6.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4902, allocations: 8.781 kB / 0.5916 GB, free: 6.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.4904, allocations: 16.2 kB / 0.5916 GB, free: 6.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.4906, allocations: 178.9 kB / 0.5918 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4906, allocations: 0 / 0.5918 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.4907, allocations: 9.594 kB / 0.5918 GB, free: 6.375 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001041/0.4908, allocations: 24 kB / 0.5918 GB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.4909, allocations: 45.69 kB / 0.5918 GB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4909, allocations: 0 / 0.5918 GB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4909, allocations: 0 / 0.5918 GB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.4909, allocations: 4 kB / 0.5918 GB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.4915, allocations: 296.2 kB / 0.5921 GB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.479e-05/0.4916, allocations: 34.58 kB / 0.5922 GB, free: 5.934 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/0.4916, allocations: 18.17 kB / 0.5922 GB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.4916, allocations: 0 / 0.5922 GB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.4917, allocations: 30.56 kB / 0.5922 GB, free: 5.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4917, allocations: 4 kB / 0.5922 GB, free: 5.871 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006544/0.4923, allocations: 102.5 kB / 0.5923 GB, free: 5.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.4924, allocations: 63.34 kB / 0.5924 GB, free: 5.688 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/0.4925, allocations: 107.5 kB / 0.5925 GB, free: 5.578 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4925, allocations: 25.7 kB / 0.5925 GB, free: 5.547 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.4926, allocations: 84.05 kB / 0.5926 GB, free: 5.461 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.4926, allocations: 7.906 kB / 0.5926 GB, free: 5.453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.4926, allocations: 0 / 0.5926 GB, free: 5.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4927, allocations: 318.8 kB / 0.5929 GB, free: 5.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.562e-05/0.4928, allocations: 8 kB / 0.5929 GB, free: 5.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.4928, allocations: 8 kB / 0.5929 GB, free: 5.117 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.4928, allocations: 12 kB / 0.5929 GB, free: 5.105 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4928, allocations: 0 / 0.5929 GB, free: 5.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005444/0.4934, allocations: 110.4 kB / 0.593 GB, free: 4.988 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4934, allocations: 8 kB / 0.593 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4934, allocations: 0 / 0.593 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.494, allocations: 68.8 kB / 0.5931 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.4941, allocations: 15.92 kB / 0.5931 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.4958, allocations: 1.349 MB / 0.5944 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.4959, allocations: 8.031 kB / 0.5944 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.496, allocations: 0 / 0.5944 GB, free: 3.414 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): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/0.496, allocations: 109.8 kB / 0.5945 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.4961, allocations: 3.797 kB / 0.5945 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.4966, allocations: 134.4 kB / 0.5947 GB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4966, allocations: 7.984 kB / 0.5947 GB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.4966, allocations: 0 / 0.5947 GB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4966, allocations: 0 / 0.5947 GB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.4968, allocations: 154.9 kB / 0.5948 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4968, allocations: 2.719 kB / 0.5948 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.4969, allocations: 11.98 kB / 0.5948 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/0.4973, allocations: 76.8 kB / 0.5949 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4974, allocations: 3.906 kB / 0.5949 GB, free: 2.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.4989, allocations: 1.361 MB / 0.5962 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.499, allocations: 0 / 0.5962 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005107/0.4995, allocations: 217.2 kB / 0.5964 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.4996, allocations: 85 kB / 0.5965 GB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.4996, allocations: 4 kB / 0.5965 GB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4997, allocations: 11.92 kB / 0.5965 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.4997, allocations: 4 kB / 0.5965 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.4998, allocations: 0 / 0.5965 GB, free: 1.047 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.774e-05/0.4998, allocations: 87.28 kB / 0.5966 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.5001, allocations: 16 kB / 0.5966 GB, free: 0.9453 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): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000117/0.5002, allocations: 99.23 kB / 0.5967 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.5005, allocations: 133.8 kB / 0.5969 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.5005, allocations: 0 / 0.5969 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.5007, allocations: 126.1 kB / 0.597 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.5009, allocations: 15.17 kB / 0.597 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.5013, allocations: 91.97 kB / 0.5971 GB, free: 448 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.5017, allocations: 0.6976 MB / 0.5978 GB, free: 15.72 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5017, allocations: 0 / 0.5978 GB, free: 15.72 MB / 426.7 MB Notification: Performance of Templates: time 0.003927/0.5056, allocations: 1.419 MB / 0.5992 GB, free: 14.36 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.pipe 2>&1)