Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [: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.516/1.516, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001058/0.001058, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.213/1.213, allocations: 205.2 MB / 0.6256 GB, free: 5.82 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.0008881/0.0008883, allocations: 77.61 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.135e-06, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/0.5781, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.85/4.428, allocations: 2.057 GB / 3.03 GB, free: 17.64 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/4.428, allocations: 79.95 kB / 3.03 GB, free: 17.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.5148/4.943, allocations: 57.94 MB / 3.086 GB, free: 334.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.108e-05/4.943, allocations: 2.969 kB / 3.086 GB, free: 334.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006656/4.944, allocations: 474.1 kB / 3.087 GB, free: 334.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/4.944, allocations: 10.28 kB / 3.087 GB, free: 334.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005808/4.944, allocations: 59.47 kB / 3.087 GB, free: 334.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/4.945, allocations: 197.4 kB / 3.087 GB, free: 333.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/4.945, allocations: 7.094 kB / 3.087 GB, free: 333.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/4.945, allocations: 5.344 kB / 3.087 GB, free: 333.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001868/4.945, allocations: 78.56 kB / 3.087 GB, free: 333.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/4.945, allocations: 145.7 kB / 3.087 GB, free: 333.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/4.945, allocations: 6.344 kB / 3.087 GB, free: 333.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/4.945, allocations: 3.906 kB / 3.087 GB, free: 333.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/4.945, allocations: 3.281 kB / 3.087 GB, free: 333.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/4.946, allocations: 0.7925 MB / 3.088 GB, free: 333 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/4.946, allocations: 92.67 kB / 3.088 GB, free: 333 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/4.946, allocations: 53.03 kB / 3.088 GB, free: 332.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/4.946, allocations: 2.719 kB / 3.088 GB, free: 332.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/4.946, allocations: 34.56 kB / 3.088 GB, free: 332.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/4.946, allocations: 0 / 3.088 GB, free: 332.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0008111/4.947, allocations: 192.5 kB / 3.088 GB, free: 332.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.65e-05/4.947, allocations: 57.59 kB / 3.089 GB, free: 332.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/4.947, allocations: 115.1 kB / 3.089 GB, free: 332.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/4.947, allocations: 25.7 kB / 3.089 GB, free: 332.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/4.947, allocations: 109.6 kB / 3.089 GB, free: 332.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/4.947, allocations: 28.36 kB / 3.089 GB, free: 332.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/4.947, allocations: 0 / 3.089 GB, free: 332.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.363e-05/4.947, allocations: 324.8 kB / 3.089 GB, free: 332.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/4.947, allocations: 41.22 kB / 3.089 GB, free: 332.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.149e-05/4.948, allocations: 83.98 kB / 3.089 GB, free: 332.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.436e-05/4.948, allocations: 49.53 kB / 3.089 GB, free: 332.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/4.948, allocations: 0 / 3.089 GB, free: 332.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007136/4.948, allocations: 209.2 kB / 3.089 GB, free: 332 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/4.948, allocations: 5.75 kB / 3.089 GB, free: 332 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/4.948, allocations: 4.125 kB / 3.089 GB, free: 332 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/4.949, allocations: 93.48 kB / 3.09 GB, free: 332 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/4.949, allocations: 38.89 kB / 3.09 GB, free: 332 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/4.951, allocations: 1.488 MB / 3.091 GB, free: 330.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/4.951, allocations: 30.67 kB / 3.091 GB, free: 330.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/4.951, allocations: 9.422 kB / 3.091 GB, free: 330.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 prepare postOptimizeDAE: time 7.793e-05/4.951, allocations: 112.9 kB / 3.091 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/4.951, allocations: 13.34 kB / 3.091 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007647/4.952, allocations: 250.3 kB / 3.091 GB, free: 330.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/4.952, allocations: 0 / 3.091 GB, free: 330.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/4.952, allocations: 0 / 3.091 GB, free: 330.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/4.952, allocations: 6.328 kB / 3.091 GB, free: 330.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/4.952, allocations: 202.8 kB / 3.092 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/4.952, allocations: 0 / 3.092 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/4.953, allocations: 42.47 kB / 3.092 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005198/4.953, allocations: 95.7 kB / 3.092 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/4.953, allocations: 3.969 kB / 3.092 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/4.955, allocations: 1.499 MB / 3.093 GB, free: 328.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/4.955, allocations: 160 / 3.093 GB, free: 328.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006755/4.955, allocations: 322.9 kB / 3.094 GB, free: 328.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/4.955, allocations: 87.86 kB / 3.094 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/4.955, allocations: 4 kB / 3.094 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/4.956, allocations: 19.47 kB / 3.094 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/4.956, allocations: 13.78 kB / 3.094 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/4.956, allocations: 8.047 kB / 3.094 GB, free: 328.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.245e-05/4.956, allocations: 106.2 kB / 3.094 GB, free: 328.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000462/4.956, allocations: 74.59 kB / 3.094 GB, free: 328.4 MB / 0.948 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 (10): * Single equations (assignments): 9 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008233/4.957, allocations: 0.6971 MB / 3.095 GB, free: 328.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005287/4.958, allocations: 238.6 kB / 3.095 GB, free: 328 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/4.958, allocations: 0 / 3.095 GB, free: 328 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003141/4.958, allocations: 177.5 kB / 3.095 GB, free: 327.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/4.958, allocations: 26.89 kB / 3.095 GB, free: 327.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/4.959, allocations: 226.4 kB / 3.095 GB, free: 327.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/4.959, allocations: 0.7339 MB / 3.096 GB, free: 327.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/4.959, allocations: 0 / 3.096 GB, free: 327.1 MB / 0.948 GB Notification: Performance of Templates: time 0.01065/4.97, allocations: 6.62 MB / 3.102 GB, free: 324.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)