Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.501/1.501, allocations: 289.8 MB / 297.1 MB, free: 6.719 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 177.3 kB / 366.3 MB, free: 1.969 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.2 MB / 0.6256 GB, free: 5.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009003/0.0009004, allocations: 92.72 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.588e-06/9.608e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5143/0.5143, allocations: 116.3 MB / 0.9725 GB, free: 68.91 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.6672, allocations: 138.9 MB / 1.108 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001681/0.6674, allocations: 72.61 kB / 1.108 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.006398/0.6738, allocations: 2.053 MB / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.6738, allocations: 0 / 1.11 GB, free: 7.465 MB / 0.7136 GB 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.0003699/0.6742, allocations: 366.3 kB / 1.111 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.6742, allocations: 12.02 kB / 1.111 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.6743, allocations: 4 kB / 1.111 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.6744, allocations: 166.9 kB / 1.111 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/0.6745, allocations: 35.48 kB / 1.111 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.6745, allocations: 0 / 1.111 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.114e-05/0.6746, allocations: 23.94 kB / 1.111 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.6747, allocations: 64.48 kB / 1.111 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.6747, allocations: 3.938 kB / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.6747, allocations: 0 / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6747, allocations: 3.906 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.6752, allocations: 281.3 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.255e-05/0.6753, allocations: 38.52 kB / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.6753, allocations: 16.86 kB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.6753, allocations: 0 / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.6753, allocations: 30.56 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.6753, allocations: 0 / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001507/0.6755, allocations: 53.69 kB / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.6755, allocations: 55.41 kB / 1.111 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.6756, allocations: 101 kB / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.6756, allocations: 29.7 kB / 1.111 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.6757, allocations: 84.14 kB / 1.112 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.6757, allocations: 11.75 kB / 1.112 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.6757, allocations: 0.9375 kB / 1.112 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.6758, allocations: 322.8 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.6758, allocations: 11.94 kB / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.684e-05/0.6759, allocations: 25.72 kB / 1.112 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.6759, allocations: 16.03 kB / 1.112 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6759, allocations: 0 / 1.112 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.947e-05/0.676, allocations: 57.59 kB / 1.112 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.676, allocations: 6.656 kB / 1.112 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.676, allocations: 0 / 1.112 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.676, allocations: 0 / 1.112 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.6762, allocations: 28.8 kB / 1.112 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.6762, allocations: 4 kB / 1.112 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.6762, allocations: 11.89 kB / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.6763, allocations: 4 kB / 1.112 GB, free: 5.43 MB / 0.7136 GB 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 8.279e-05/0.6764, allocations: 101.7 kB / 1.112 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.6764, allocations: 11.91 kB / 1.112 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.6764, allocations: 4 kB / 1.112 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.6764, allocations: 0 / 1.112 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.6764, allocations: 0 / 1.112 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.6764, allocations: 1.125 kB / 1.112 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.6766, allocations: 154.2 kB / 1.112 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6766, allocations: 7.844 kB / 1.112 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.903e-05/0.6767, allocations: 15.98 kB / 1.112 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.6767, allocations: 4 kB / 1.112 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.6767, allocations: 0 / 1.112 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6767, allocations: 0 / 1.112 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6767, allocations: 0 / 1.112 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000111/0.6768, allocations: 151.4 kB / 1.112 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.6769, allocations: 81.11 kB / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.6769, allocations: 3.906 kB / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.677, allocations: 19.98 kB / 1.113 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.6771, allocations: 8.641 kB / 1.113 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.6771, allocations: 0 / 1.113 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.107e-05/0.6771, allocations: 83.28 kB / 1.113 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002149/0.6774, allocations: 11.94 kB / 1.113 GB, free: 4.699 MB / 0.7136 GB 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 9.47e-05/0.6775, allocations: 107.2 kB / 1.113 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.942e-05/0.6775, allocations: 23.94 kB / 1.113 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.6775, allocations: 0 / 1.113 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.544e-05/0.6776, allocations: 12.94 kB / 1.113 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.6777, allocations: 10.19 kB / 1.113 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.678, allocations: 78.11 kB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.6782, allocations: 0.7033 MB / 1.114 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.6782, allocations: 0 / 1.114 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of Templates: time 0.002274/0.6805, allocations: 0.7584 MB / 1.114 GB, free: 2.992 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)