Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [: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/BuildSysPro 3.5.0/package.mo): time 0.6851/0.6851, allocations: 127.4 MB / 134.6 MB, free: 4.105 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 189.2 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 399.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 81.34 kB / 476.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.497e-06/9.527e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2165, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5742/0.7908, allocations: 102.2 MB / 0.7207 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/0.7913, allocations: 75.95 kB / 0.7208 GB, free: 10.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.003302/0.7946, allocations: 0.6883 MB / 0.7215 GB, free: 9.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.7946, allocations: 0 / 0.7215 GB, free: 9.41 MB / 490.7 MB 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.0004531/0.7951, allocations: 342.4 kB / 0.7218 GB, free: 9.031 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.7951, allocations: 8.031 kB / 0.7218 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.7953, allocations: 7.938 kB / 0.7218 GB, free: 9.016 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.7955, allocations: 167 kB / 0.722 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.7955, allocations: 0 / 0.722 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.7955, allocations: 5.031 kB / 0.722 GB, free: 8.809 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.01e-05/0.7956, allocations: 8 kB / 0.722 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.478e-05/0.7957, allocations: 37.69 kB / 0.722 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7957, allocations: 0 / 0.722 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.7957, allocations: 4 kB / 0.722 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.7958, allocations: 0 / 0.722 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.7962, allocations: 225.5 kB / 0.7223 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.524e-05/0.7963, allocations: 26.52 kB / 0.7223 GB, free: 8.461 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.7963, allocations: 12.92 kB / 0.7223 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.7963, allocations: 0 / 0.7223 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.7964, allocations: 30.56 kB / 0.7223 GB, free: 8.406 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.7964, allocations: 8.594 kB / 0.7223 GB, free: 8.398 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001846/0.7966, allocations: 45.59 kB / 0.7224 GB, free: 8.348 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.7966, allocations: 55.41 kB / 0.7224 GB, free: 8.281 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.758e-05/0.7967, allocations: 89 kB / 0.7225 GB, free: 8.188 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.7967, allocations: 25.7 kB / 0.7225 GB, free: 8.156 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.7968, allocations: 88.08 kB / 0.7226 GB, free: 8.066 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.7968, allocations: 14.02 kB / 0.7226 GB, free: 8.055 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.7968, allocations: 0 / 0.7226 GB, free: 8.055 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7969, allocations: 318.9 kB / 0.7229 GB, free: 7.734 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.797, allocations: 0 / 0.7229 GB, free: 7.734 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.566e-05/0.797, allocations: 8 kB / 0.7229 GB, free: 7.727 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.911e-05/0.797, allocations: 4 kB / 0.723 GB, free: 7.723 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.797, allocations: 0 / 0.723 GB, free: 7.723 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.175e-05/0.7971, allocations: 41.69 kB / 0.723 GB, free: 7.676 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.7971, allocations: 7.906 kB / 0.723 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7971, allocations: 0.5625 kB / 0.723 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.7972, allocations: 4.094 kB / 0.723 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.7973, allocations: 12 kB / 0.723 GB, free: 7.652 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.7973, allocations: 3.984 kB / 0.723 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.7974, allocations: 8.5 kB / 0.723 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.7974, allocations: 0 / 0.723 GB, free: 7.641 MB / 490.7 MB 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 8.301e-05/0.7975, allocations: 105 kB / 0.7231 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.7975, allocations: 3.906 kB / 0.7231 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.7977, allocations: 60.92 kB / 0.7232 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.7977, allocations: 0 / 0.7232 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.7977, allocations: 2.109 kB / 0.7232 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7977, allocations: 3.938 kB / 0.7232 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.7978, allocations: 138.2 kB / 0.7233 GB, free: 7.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7978, allocations: 7.984 kB / 0.7233 GB, free: 7.281 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.061e-05/0.7979, allocations: 15.89 kB / 0.7234 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7979, allocations: 0 / 0.7234 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.798, allocations: 0 / 0.7234 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.798, allocations: 4 kB / 0.7234 GB, free: 7.262 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.798, allocations: 0 / 0.7234 GB, free: 7.262 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001298/0.7981, allocations: 147.4 kB / 0.7235 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.7982, allocations: 77.11 kB / 0.7236 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.7982, allocations: 0 / 0.7236 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.7983, allocations: 11.98 kB / 0.7236 GB, free: 6.996 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.7983, allocations: 0 / 0.7236 GB, free: 6.996 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.7983, allocations: 12 kB / 0.7236 GB, free: 6.984 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.161e-05/0.7984, allocations: 79.27 kB / 0.7237 GB, free: 6.906 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.7986, allocations: 8 kB / 0.7237 GB, free: 6.898 MB / 490.7 MB 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 (3): * Single equations (assignments): 3 * 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.0001333/0.7987, allocations: 103.2 kB / 0.7238 GB, free: 6.785 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.7988, allocations: 12 kB / 0.7238 GB, free: 6.773 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7988, allocations: 0 / 0.7238 GB, free: 6.773 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.132e-05/0.7989, allocations: 11.94 kB / 0.7238 GB, free: 6.762 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.7991, allocations: 8.609 kB / 0.7238 GB, free: 6.754 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.7994, allocations: 63.97 kB / 0.7239 GB, free: 6.668 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.7997, allocations: 0.6919 MB / 0.7245 GB, free: 5.949 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7997, allocations: 0 / 0.7245 GB, free: 5.949 MB / 490.7 MB Notification: Performance of Templates: time 0.002521/0.8022, allocations: 447.1 kB / 0.725 GB, free: 5.523 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)