Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7373/0.7373, allocations: 141.8 MB / 149.1 MB, free: 1.262 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 193.2 kB / 182 MB, free: 0.5625 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.4 MB / 436 MB, free: 5.289 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009909/0.000991, allocations: 104 kB / 0.507 GB, free: 1.961 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 276.5 kB / 0.5884 GB, free: 47.07 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.117e-06, allocations: 2.469 kB / 0.6759 GB, free: 59.43 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1682, allocations: 82.78 MB / 0.7567 GB, free: 0.5117 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.776/3.944, allocations: 1.691 GB / 2.447 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/3.944, allocations: 83.02 kB / 2.447 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.1702/4.114, allocations: 85.84 MB / 2.531 GB, free: 155.7 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 1.589e-05/4.114, allocations: 11.94 kB / 2.531 GB, free: 155.7 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008409/4.115, allocations: 495.2 kB / 2.532 GB, free: 155.1 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/4.115, allocations: 12.03 kB / 2.532 GB, free: 155.1 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008397/4.116, allocations: 91.17 kB / 2.532 GB, free: 155 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/4.117, allocations: 225.3 kB / 2.532 GB, free: 154.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/4.117, allocations: 30.03 kB / 2.532 GB, free: 154.8 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/4.117, allocations: 12 kB / 2.532 GB, free: 154.7 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002473/4.117, allocations: 117.1 kB / 2.532 GB, free: 154.7 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/4.117, allocations: 225.7 kB / 2.532 GB, free: 154.5 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/4.117, allocations: 0 / 2.532 GB, free: 154.5 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/4.117, allocations: 3.906 kB / 2.532 GB, free: 154.5 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/4.117, allocations: 4 kB / 2.532 GB, free: 154.4 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/4.119, allocations: 1.144 MB / 2.534 GB, free: 153.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/4.119, allocations: 189.5 kB / 2.534 GB, free: 153.2 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.9e-05/4.12, allocations: 49.86 kB / 2.534 GB, free: 153.1 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/4.12, allocations: 3.938 kB / 2.534 GB, free: 153.1 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/4.12, allocations: 42.55 kB / 2.534 GB, free: 153.1 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/4.12, allocations: 4 kB / 2.534 GB, free: 153.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=12): time 0.001267/4.121, allocations: 263.4 kB / 2.534 GB, free: 152.9 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/4.121, allocations: 55.39 kB / 2.534 GB, free: 152.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/4.121, allocations: 137.7 kB / 2.534 GB, free: 152.7 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/4.121, allocations: 25.7 kB / 2.534 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/4.121, allocations: 142.9 kB / 2.534 GB, free: 152.5 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/4.121, allocations: 46.23 kB / 2.534 GB, free: 152.5 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/4.121, allocations: 0 / 2.534 GB, free: 152.5 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/4.121, allocations: 321.9 kB / 2.535 GB, free: 152.1 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.876e-05/4.121, allocations: 48.11 kB / 2.535 GB, free: 152.1 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/4.121, allocations: 121.6 kB / 2.535 GB, free: 152 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/4.122, allocations: 60.91 kB / 2.535 GB, free: 151.9 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/4.122, allocations: 0 / 2.535 GB, free: 151.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001227/4.123, allocations: 314.1 kB / 2.535 GB, free: 151.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/4.123, allocations: 4 kB / 2.535 GB, free: 151.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/4.123, allocations: 4 kB / 2.535 GB, free: 151.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/4.124, allocations: 172.2 kB / 2.535 GB, free: 151.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/4.124, allocations: 39.97 kB / 2.536 GB, free: 151.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003103/4.127, allocations: 2.906 MB / 2.538 GB, free: 148.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/4.128, allocations: 39.83 kB / 2.538 GB, free: 148.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/4.128, allocations: 10.88 kB / 2.538 GB, free: 148.4 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 9.777e-05/4.128, allocations: 108.9 kB / 2.539 GB, free: 148.3 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/4.128, allocations: 23.73 kB / 2.539 GB, free: 148.3 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/4.129, allocations: 323.1 kB / 2.539 GB, free: 148 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/4.129, allocations: 3.906 kB / 2.539 GB, free: 148 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/4.129, allocations: 0 / 2.539 GB, free: 148 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/4.129, allocations: 0 / 2.539 GB, free: 148 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/4.129, allocations: 237 kB / 2.539 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/4.129, allocations: 0 / 2.539 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/4.13, allocations: 27.98 kB / 2.539 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009545/4.131, allocations: 171.1 kB / 2.539 GB, free: 147.6 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/4.131, allocations: 3.438 kB / 2.539 GB, free: 147.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/4.133, allocations: 2.941 MB / 2.542 GB, free: 144.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/4.133, allocations: 0 / 2.542 GB, free: 144.5 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00105/4.135, allocations: 397.6 kB / 2.543 GB, free: 144.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 9.875e-05/4.135, allocations: 108.9 kB / 2.543 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/4.135, allocations: 0 / 2.543 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/4.135, allocations: 15.98 kB / 2.543 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/4.135, allocations: 15.97 kB / 2.543 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/4.135, allocations: 8.188 kB / 2.543 GB, free: 144 MB / 0.6982 GB Notification: Performance of sort global known variables: time 6.666e-05/4.135, allocations: 115.9 kB / 2.543 GB, free: 143.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0005457/4.136, allocations: 107.8 kB / 2.543 GB, free: 143.7 MB / 0.6982 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009766/4.137, allocations: 0.8337 MB / 2.544 GB, free: 143 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0007649/4.137, allocations: 379.8 kB / 2.544 GB, free: 142.6 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/4.137, allocations: 0 / 2.544 GB, free: 142.6 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004931/4.138, allocations: 300.7 kB / 2.544 GB, free: 142.3 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/4.138, allocations: 43.8 kB / 2.544 GB, free: 142.3 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008659/4.139, allocations: 305.2 kB / 2.545 GB, free: 141.9 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/4.139, allocations: 0.7727 MB / 2.545 GB, free: 141.1 MB / 0.6982 GB Notification: Performance of SimCode: time 4.1e-07/4.139, allocations: 0 / 2.545 GB, free: 141.1 MB / 0.6982 GB Notification: Performance of Templates: time 0.01317/4.153, allocations: 8.923 MB / 2.554 GB, free: 132.3 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)