Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [: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.4645/0.4645, allocations: 94.73 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.001205/0.001205, allocations: 180.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.189/1.189, allocations: 170.5 MB / 319 MB, free: 9.406 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.001676/0.001676, allocations: 105.1 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.137e-05/1.139e-05, allocations: 4.219 kB / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1412, allocations: 61.52 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3355/0.4767, allocations: 93.74 MB / 0.5897 GB, free: 8.621 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.477, allocations: 71.95 kB / 0.5897 GB, free: 8.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.007096/0.4841, allocations: 2.032 MB / 0.5917 GB, free: 6.594 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.4842, allocations: 0 / 0.5917 GB, free: 6.594 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.0005139/0.4847, allocations: 364.4 kB / 0.5921 GB, free: 6.195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4848, allocations: 9.875 kB / 0.5921 GB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.4848, allocations: 8.219 kB / 0.5921 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.485, allocations: 179.8 kB / 0.5923 GB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.459e-05/0.4851, allocations: 29.7 kB / 0.5923 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.4852, allocations: 1.812 kB / 0.5923 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001059/0.4853, allocations: 23.98 kB / 0.5923 GB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.4854, allocations: 53.69 kB / 0.5924 GB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.4854, allocations: 0 / 0.5924 GB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.4855, allocations: 0 / 0.5924 GB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4855, allocations: 1.812 kB / 0.5924 GB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.4861, allocations: 283.9 kB / 0.5926 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.507e-05/0.4862, allocations: 34.58 kB / 0.5927 GB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.4863, allocations: 17.61 kB / 0.5927 GB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.4863, allocations: 4 kB / 0.5927 GB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.4863, allocations: 38.64 kB / 0.5927 GB, free: 5.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.4863, allocations: 0.75 kB / 0.5927 GB, free: 5.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002236/0.4866, allocations: 45.61 kB / 0.5928 GB, free: 5.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.4866, allocations: 51.41 kB / 0.5928 GB, free: 5.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.4867, allocations: 109.7 kB / 0.5929 GB, free: 5.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.4868, allocations: 25.7 kB / 0.5929 GB, free: 5.172 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.4869, allocations: 88.14 kB / 0.593 GB, free: 5.082 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.4869, allocations: 15.75 kB / 0.593 GB, free: 5.066 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.4869, allocations: 0 / 0.593 GB, free: 5.066 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.4871, allocations: 323.9 kB / 0.5934 GB, free: 4.742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.24e-05/0.4872, allocations: 8 kB / 0.5934 GB, free: 4.734 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.565e-05/0.4872, allocations: 21.72 kB / 0.5934 GB, free: 4.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.4873, allocations: 8 kB / 0.5934 GB, free: 4.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4873, allocations: 0 / 0.5934 GB, free: 4.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001347/0.4874, allocations: 65.53 kB / 0.5935 GB, free: 4.629 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4875, allocations: 4 kB / 0.5935 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4875, allocations: 1.875 kB / 0.5935 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4875, allocations: 0 / 0.5935 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.4877, allocations: 19.98 kB / 0.5935 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.4877, allocations: 0 / 0.5935 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.4878, allocations: 27.48 kB / 0.5935 GB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.4878, allocations: 3.938 kB / 0.5935 GB, free: 4.578 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 (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 prepare postOptimizeDAE: time 0.0001067/0.4879, allocations: 101 kB / 0.5936 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.4879, allocations: 7.906 kB / 0.5936 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.488, allocations: 4 kB / 0.5936 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.488, allocations: 1.688 kB / 0.5936 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.488, allocations: 0 / 0.5936 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.488, allocations: 7.984 kB / 0.5936 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.4883, allocations: 150.2 kB / 0.5938 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4883, allocations: 0 / 0.5938 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-05/0.4884, allocations: 16.92 kB / 0.5938 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4884, allocations: 0 / 0.5938 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.4884, allocations: 3.906 kB / 0.5938 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4884, allocations: 3.938 kB / 0.5938 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4884, allocations: 0 / 0.5938 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002088/0.4886, allocations: 151.5 kB / 0.5939 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.4887, allocations: 81.11 kB / 0.594 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.4888, allocations: 1.688 kB / 0.594 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.4889, allocations: 15.98 kB / 0.594 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.489, allocations: 15.89 kB / 0.594 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.489, allocations: 4 kB / 0.5941 GB, free: 3.945 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.092e-05/0.4891, allocations: 79.28 kB / 0.5941 GB, free: 3.867 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.4893, allocations: 8 kB / 0.5941 GB, free: 3.859 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 (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 Backend phase and start with SimCode phase: time 0.0001931/0.4895, allocations: 103.2 kB / 0.5942 GB, free: 3.746 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.4897, allocations: 27.94 kB / 0.5943 GB, free: 3.719 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4897, allocations: 0 / 0.5943 GB, free: 3.719 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.157e-05/0.4897, allocations: 13.22 kB / 0.5943 GB, free: 3.707 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.49, allocations: 10.98 kB / 0.5943 GB, free: 3.699 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.4903, allocations: 77.38 kB / 0.5944 GB, free: 3.598 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/0.4907, allocations: 0.6993 MB / 0.595 GB, free: 2.875 MB / 410.7 MB Notification: Performance of SimCode: time 1.934e-06/0.4907, allocations: 3.938 kB / 0.595 GB, free: 2.871 MB / 410.7 MB Notification: Performance of Templates: time 0.002853/0.4936, allocations: 0.75 MB / 0.5958 GB, free: 2.16 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)