Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") [: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.7394/0.7394, allocations: 141.8 MB / 149.1 MB, free: 1.625 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.001173/0.001173, allocations: 185.2 kB / 181.9 MB, free: 1.055 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.3/1.3, allocations: 221.3 MB / 436 MB, free: 5.844 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.0008473/0.0008473, allocations: 92.59 kB / 0.507 GB, free: 2.523 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001717/0.001716, allocations: 281.5 kB / 0.5884 GB, free: 47.49 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.296e-06, allocations: 2.781 kB / 0.6759 GB, free: 59.78 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1432, allocations: 82.78 MB / 0.7567 GB, free: 0.9336 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.2813, allocations: 109 MB / 0.8632 GB, free: 3.75 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.2816, allocations: 75.95 kB / 0.8633 GB, free: 3.676 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.006945/0.2885, allocations: 2.171 MB / 0.8654 GB, free: 1.504 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2886, allocations: 3.938 kB / 0.8654 GB, free: 1.5 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003047/0.2889, allocations: 358.3 kB / 0.8657 GB, free: 1.105 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2889, allocations: 8.031 kB / 0.8657 GB, free: 1.098 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.2891, allocations: 19.88 kB / 0.8658 GB, free: 1.078 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2893, allocations: 163 kB / 0.8659 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2893, allocations: 0 / 0.8659 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.2893, allocations: 4 kB / 0.8659 GB, free: 0.875 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.971e-05/0.2894, allocations: 23.98 kB / 0.8659 GB, free: 0.8516 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.827e-05/0.2895, allocations: 41.69 kB / 0.866 GB, free: 0.8047 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2895, allocations: 4 kB / 0.866 GB, free: 0.8008 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2895, allocations: 0 / 0.866 GB, free: 0.8008 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.2895, allocations: 7.891 kB / 0.866 GB, free: 0.793 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.2897, allocations: 138.2 kB / 0.8661 GB, free: 0.6211 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.608e-05/0.2898, allocations: 50.66 kB / 0.8662 GB, free: 0.5625 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.2898, allocations: 20.98 kB / 0.8662 GB, free: 0.5391 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.2899, allocations: 4.031 kB / 0.8662 GB, free: 0.5352 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2899, allocations: 42.56 kB / 0.8662 GB, free: 496 kB / 0.5419 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.2899, allocations: 0 / 0.8662 GB, free: 496 kB / 0.5419 GB Notification: Performance of matching and sorting (n=6): time 0.0001653/0.2901, allocations: 57.59 kB / 0.8663 GB, free: 432 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.2901, allocations: 59.34 kB / 0.8663 GB, free: 360 kB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.113e-05/0.2902, allocations: 85 kB / 0.8664 GB, free: 268 kB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2902, allocations: 25.7 kB / 0.8664 GB, free: 236 kB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.2902, allocations: 80.14 kB / 0.8665 GB, free: 152 kB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.2903, allocations: 23.88 kB / 0.8665 GB, free: 128 kB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.2903, allocations: 0 / 0.8665 GB, free: 128 kB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.2091/0.4994, allocations: 318.6 kB / 0.8669 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.964e-05/0.4995, allocations: 10.66 kB / 0.8669 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.152e-05/0.4996, allocations: 10.16 kB / 0.8669 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.63e-05/0.4996, allocations: 10.44 kB / 0.8669 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4996, allocations: 0 / 0.8669 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000117/0.4997, allocations: 59.84 kB / 0.8669 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4998, allocations: 6.625 kB / 0.8669 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4998, allocations: 0 / 0.8669 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.4998, allocations: 6.375 kB / 0.867 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.5, allocations: 19.27 kB / 0.867 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5, allocations: 2.812 kB / 0.867 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.5, allocations: 8.938 kB / 0.867 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.5001, allocations: 0 / 0.867 GB, free: 168.5 MB / 0.5419 GB 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 (6): * Single equations (assignments): 6 * 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 6.078e-05/0.5001, allocations: 101 kB / 0.8671 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.5001, allocations: 10.25 kB / 0.8671 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.5004, allocations: 86.11 kB / 0.8672 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5004, allocations: 3.375 kB / 0.8672 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5004, allocations: 0.8125 kB / 0.8672 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.5004, allocations: 0 / 0.8672 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.692e-05/0.5005, allocations: 143.7 kB / 0.8673 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5005, allocations: 0 / 0.8673 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.905e-05/0.5006, allocations: 15.58 kB / 0.8673 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5006, allocations: 0 / 0.8673 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.5006, allocations: 2.188 kB / 0.8673 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5007, allocations: 0 / 0.8673 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5007, allocations: 0 / 0.8673 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001132/0.5008, allocations: 99.98 kB / 0.8674 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.5009, allocations: 84.95 kB / 0.8675 GB, free: 168 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.5009, allocations: 3.562 kB / 0.8675 GB, free: 168 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.501, allocations: 3.75 kB / 0.8675 GB, free: 168 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.501, allocations: 3.625 kB / 0.8675 GB, free: 168 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-06/0.501, allocations: 3.938 kB / 0.8675 GB, free: 168 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.753e-05/0.501, allocations: 82.5 kB / 0.8676 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001961/0.5012, allocations: 10.84 kB / 0.8676 GB, free: 167.9 MB / 0.5419 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 (7): * Single equations (assignments): 7 * 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.0001181/0.5014, allocations: 98.33 kB / 0.8677 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 9.888e-05/0.5015, allocations: 34.19 kB / 0.8677 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5015, allocations: 0 / 0.8677 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.5015, allocations: 22.09 kB / 0.8678 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.5017, allocations: 10.17 kB / 0.8678 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.502, allocations: 72.3 kB / 0.8678 GB, free: 167.8 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.5022, allocations: 0.6949 MB / 0.8685 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of SimCode: time 2.3e-07/0.5022, allocations: 0 / 0.8685 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of Templates: time 0.002314/0.5045, allocations: 0.598 MB / 0.8691 GB, free: 167.1 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)