Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [: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.7259/0.7259, allocations: 141.8 MB / 149.1 MB, free: 13.08 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 189.3 kB / 181.9 MB, free: 9.773 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.339/1.339, allocations: 221.4 MB / 436 MB, free: 2.273 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.001123/0.001123, allocations: 95.5 kB / 0.507 GB, free: 10.99 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001806/0.001806, allocations: 277.3 kB / 0.5884 GB, free: 7.82 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 9.177e-06/9.397e-06, allocations: 0 / 0.6759 GB, free: 14.18 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3898, allocations: 82.77 MB / 0.7567 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.5046, allocations: 108.8 MB / 0.863 GB, free: 30.09 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.5048, allocations: 79.77 kB / 0.8631 GB, free: 30.02 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.004948/0.5098, allocations: 1.514 MB / 0.8646 GB, free: 28.54 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.5098, allocations: 0 / 0.8646 GB, free: 28.54 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002293/0.51, allocations: 339.7 kB / 0.8649 GB, free: 28.16 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5101, allocations: 9.25 kB / 0.8649 GB, free: 28.16 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.5105, allocations: 27.95 kB / 0.8649 GB, free: 28.13 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/0.5106, allocations: 179.6 kB / 0.8651 GB, free: 27.91 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.5106, allocations: 0.8438 kB / 0.8651 GB, free: 27.91 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.5106, allocations: 0 / 0.8651 GB, free: 27.91 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.5e-05/0.5107, allocations: 12 kB / 0.8651 GB, free: 27.9 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.661e-05/0.5108, allocations: 38.42 kB / 0.8652 GB, free: 27.86 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.5108, allocations: 8.578 kB / 0.8652 GB, free: 27.85 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5108, allocations: 0 / 0.8652 GB, free: 27.85 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5108, allocations: 0.5625 kB / 0.8652 GB, free: 27.85 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.511, allocations: 138.9 kB / 0.8653 GB, free: 27.68 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.838e-05/0.511, allocations: 31.89 kB / 0.8653 GB, free: 27.64 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.5111, allocations: 12.92 kB / 0.8653 GB, free: 27.62 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.5111, allocations: 4.766 kB / 0.8653 GB, free: 27.62 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.5111, allocations: 31.34 kB / 0.8654 GB, free: 27.58 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.5111, allocations: 4 kB / 0.8654 GB, free: 27.58 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2): time 0.000159/0.5113, allocations: 45.69 kB / 0.8654 GB, free: 27.53 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.5113, allocations: 55.34 kB / 0.8655 GB, free: 27.46 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.143e-05/0.5114, allocations: 93 kB / 0.8656 GB, free: 27.36 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.5114, allocations: 25.7 kB / 0.8656 GB, free: 27.33 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.145e-05/0.5114, allocations: 80.14 kB / 0.8657 GB, free: 27.25 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.5115, allocations: 15.83 kB / 0.8657 GB, free: 27.23 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.5115, allocations: 0 / 0.8657 GB, free: 27.23 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.5115, allocations: 314.9 kB / 0.866 GB, free: 26.92 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.5115, allocations: 8 kB / 0.866 GB, free: 26.91 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.5116, allocations: 4 kB / 0.866 GB, free: 26.91 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.5116, allocations: 11.98 kB / 0.866 GB, free: 26.89 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.5116, allocations: 0 / 0.866 GB, free: 26.89 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.877e-05/0.5117, allocations: 49.59 kB / 0.866 GB, free: 26.84 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.5117, allocations: 4 kB / 0.8661 GB, free: 26.84 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5117, allocations: 0 / 0.8661 GB, free: 26.84 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.5117, allocations: 4 kB / 0.8661 GB, free: 26.83 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.5118, allocations: 20.02 kB / 0.8661 GB, free: 26.81 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.5119, allocations: 0 / 0.8661 GB, free: 26.81 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.5119, allocations: 0 / 0.8661 GB, free: 26.81 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.5119, allocations: 7.984 kB / 0.8661 GB, free: 26.8 MB / 0.5575 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 (2): * Single equations (assignments): 2 * 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 4.933e-05/0.512, allocations: 108.8 kB / 0.8662 GB, free: 26.69 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.512, allocations: 3.938 kB / 0.8662 GB, free: 26.69 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.5121, allocations: 17.83 kB / 0.8662 GB, free: 26.68 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.5121, allocations: 0 / 0.8662 GB, free: 26.68 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5121, allocations: 0 / 0.8662 GB, free: 26.68 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5121, allocations: 0 / 0.8662 GB, free: 26.68 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.741e-05/0.5122, allocations: 134.1 kB / 0.8663 GB, free: 26.51 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.5122, allocations: 0 / 0.8663 GB, free: 26.51 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-05/0.5123, allocations: 7.984 kB / 0.8663 GB, free: 26.5 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5123, allocations: 0 / 0.8663 GB, free: 26.5 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.5123, allocations: 7.984 kB / 0.8663 GB, free: 26.49 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5123, allocations: 4 kB / 0.8664 GB, free: 26.49 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5123, allocations: 0 / 0.8664 GB, free: 26.49 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.113e-05/0.5124, allocations: 73.03 kB / 0.8664 GB, free: 26.4 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.5125, allocations: 85.09 kB / 0.8665 GB, free: 26.3 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.5125, allocations: 0 / 0.8665 GB, free: 26.3 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.5126, allocations: 0 / 0.8665 GB, free: 26.3 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.5126, allocations: 4 kB / 0.8665 GB, free: 26.29 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.5126, allocations: 8.203 kB / 0.8665 GB, free: 26.29 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.802e-05/0.5126, allocations: 87.2 kB / 0.8666 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.00021/0.5128, allocations: 16 kB / 0.8666 GB, free: 26.18 MB / 0.5575 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 (2): * Single equations (assignments): 2 * 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.0001581/0.513, allocations: 119.1 kB / 0.8667 GB, free: 26.05 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 8.589e-05/0.5131, allocations: 19.98 kB / 0.8667 GB, free: 26.04 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5131, allocations: 0 / 0.8667 GB, free: 26.04 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.5131, allocations: 8.062 kB / 0.8668 GB, free: 26.03 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.5132, allocations: 11.98 kB / 0.8668 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.5135, allocations: 59.98 kB / 0.8668 GB, free: 25.93 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.5137, allocations: 0.6919 MB / 0.8675 GB, free: 25.21 MB / 0.5575 GB Notification: Performance of SimCode: time 2.61e-07/0.5137, allocations: 3.938 kB / 0.8675 GB, free: 25.21 MB / 0.5575 GB Notification: Performance of Templates: time 0.0027/0.5164, allocations: 0.877 MB / 0.8684 GB, free: 24.35 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)