Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.7099/0.7099, allocations: 141.8 MB / 149.1 MB, free: 13.01 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.001064/0.001064, allocations: 182.9 kB / 181.9 MB, free: 9.695 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.362/1.362, allocations: 221.4 MB / 436 MB, free: 2.152 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.0009287/0.0009287, allocations: 99.41 kB / 0.507 GB, free: 17.81 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001845, allocations: 285.6 kB / 0.5884 GB, free: 3.738 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.122e-05/1.126e-05, allocations: 2.438 kB / 0.6759 GB, free: 136.5 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1853, allocations: 82.78 MB / 0.7567 GB, free: 83.07 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.3439, allocations: 109.3 MB / 0.8634 GB, free: 5.664 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.3443, allocations: 79.94 kB / 0.8635 GB, free: 5.586 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.009831/0.3542, allocations: 1.668 MB / 0.8651 GB, free: 3.914 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.3542, allocations: 0 / 0.8651 GB, free: 3.914 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005553/0.3548, allocations: 366.3 kB / 0.8655 GB, free: 3.512 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.3549, allocations: 12.03 kB / 0.8655 GB, free: 3.496 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/0.3555, allocations: 23.95 kB / 0.8655 GB, free: 3.473 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.3557, allocations: 167 kB / 0.8657 GB, free: 3.27 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3557, allocations: 0 / 0.8657 GB, free: 3.27 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.3557, allocations: 0 / 0.8657 GB, free: 3.27 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001433/0.3559, allocations: 31.86 kB / 0.8657 GB, free: 3.238 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.356, allocations: 49.67 kB / 0.8657 GB, free: 3.184 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.356, allocations: 0 / 0.8657 GB, free: 3.184 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.3561, allocations: 0 / 0.8657 GB, free: 3.184 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3561, allocations: 0 / 0.8657 GB, free: 3.184 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.3567, allocations: 261.4 kB / 0.866 GB, free: 2.891 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.3569, allocations: 46.5 kB / 0.866 GB, free: 2.836 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.357, allocations: 12.92 kB / 0.8661 GB, free: 2.82 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.357, allocations: 0 / 0.8661 GB, free: 2.82 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.3571, allocations: 34.5 kB / 0.8661 GB, free: 2.777 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.3571, allocations: 4 kB / 0.8661 GB, free: 2.773 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0002883/0.3574, allocations: 53.59 kB / 0.8661 GB, free: 2.715 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3574, allocations: 51.41 kB / 0.8662 GB, free: 2.652 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.464e-05/0.3575, allocations: 97.02 kB / 0.8663 GB, free: 2.551 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3576, allocations: 25.7 kB / 0.8663 GB, free: 2.52 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.3576, allocations: 84.14 kB / 0.8664 GB, free: 2.434 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.3577, allocations: 11.84 kB / 0.8664 GB, free: 2.422 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.3577, allocations: 0 / 0.8664 GB, free: 2.422 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3578, allocations: 310.8 kB / 0.8667 GB, free: 2.109 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.3579, allocations: 11.98 kB / 0.8667 GB, free: 2.098 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.358, allocations: 12 kB / 0.8667 GB, free: 2.086 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.368e-05/0.358, allocations: 8 kB / 0.8667 GB, free: 2.078 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.358, allocations: 4.062 kB / 0.8667 GB, free: 2.074 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001736/0.3582, allocations: 65.52 kB / 0.8668 GB, free: 2.004 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3582, allocations: 4 kB / 0.8668 GB, free: 2 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3582, allocations: 0 / 0.8668 GB, free: 2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3583, allocations: 0 / 0.8668 GB, free: 2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.3585, allocations: 19.98 kB / 0.8668 GB, free: 1.98 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3585, allocations: 0 / 0.8668 GB, free: 1.98 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.3587, allocations: 16.02 kB / 0.8668 GB, free: 1.965 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3587, allocations: 0 / 0.8668 GB, free: 1.965 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 (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 0.0001071/0.3588, allocations: 109 kB / 0.8669 GB, free: 1.852 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.3589, allocations: 3.906 kB / 0.8669 GB, free: 1.848 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.419e-05/0.359, allocations: 7.312 kB / 0.8669 GB, free: 1.844 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.359, allocations: 7.938 kB / 0.867 GB, free: 1.836 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.359, allocations: 0 / 0.867 GB, free: 1.836 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.359, allocations: 0 / 0.867 GB, free: 1.836 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.3593, allocations: 150.1 kB / 0.8671 GB, free: 1.652 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3593, allocations: 0 / 0.8671 GB, free: 1.652 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.3595, allocations: 19.98 kB / 0.8671 GB, free: 1.633 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3595, allocations: 0 / 0.8671 GB, free: 1.633 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.3595, allocations: 3.984 kB / 0.8671 GB, free: 1.629 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3595, allocations: 3.938 kB / 0.8671 GB, free: 1.625 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3596, allocations: 4 kB / 0.8671 GB, free: 1.621 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002702/0.3598, allocations: 151.4 kB / 0.8673 GB, free: 1.457 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.3599, allocations: 81.09 kB / 0.8673 GB, free: 1.359 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.36, allocations: 4.031 kB / 0.8674 GB, free: 1.355 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.3602, allocations: 11.98 kB / 0.8674 GB, free: 1.344 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.3602, allocations: 0 / 0.8674 GB, free: 1.344 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.3603, allocations: 4 kB / 0.8674 GB, free: 1.34 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.595e-05/0.3603, allocations: 79.28 kB / 0.8674 GB, free: 1.262 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0004515/0.3608, allocations: 19.91 kB / 0.8675 GB, free: 1.242 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 (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.00028/0.3611, allocations: 119.2 kB / 0.8676 GB, free: 1.117 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.3612, allocations: 23.98 kB / 0.8676 GB, free: 1.094 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3613, allocations: 0 / 0.8676 GB, free: 1.094 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.3613, allocations: 19.92 kB / 0.8676 GB, free: 1.074 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.3616, allocations: 0 / 0.8676 GB, free: 1.074 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.3621, allocations: 84.02 kB / 0.8677 GB, free: 0.9688 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.3625, allocations: 0.6919 MB / 0.8684 GB, free: 256 kB / 0.5419 GB Notification: Performance of SimCode: time 3.6e-07/0.3625, allocations: 0 / 0.8684 GB, free: 256 kB / 0.5419 GB Notification: Performance of Templates: time 0.004476/0.367, allocations: 0.9237 MB / 0.8693 GB, free: 15.33 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)