Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [: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.7085/0.7085, allocations: 127.4 MB / 134.6 MB, free: 4.047 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.001376/0.001376, allocations: 181.2 kB / 164.4 MB, free: 6.855 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.72/1.72, allocations: 205.1 MB / 399.1 MB, free: 6.137 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.0009274/0.0009271, allocations: 94.09 kB / 476.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3281/0.3291, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.5061, allocations: 76.74 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.491/0.9971, allocations: 102.8 MB / 0.7214 GB, free: 9.426 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/0.9976, allocations: 83.94 kB / 0.7215 GB, free: 9.344 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.006165/1.004, allocations: 1.85 MB / 0.7233 GB, free: 7.461 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1.004, allocations: 8 kB / 0.7233 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/1.004, allocations: 35.94 kB / 0.7234 GB, free: 7.418 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/1.004, allocations: 171 kB / 0.7235 GB, free: 7.211 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/1.004, allocations: 0 / 0.7235 GB, free: 7.211 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/1.004, allocations: 0 / 0.7235 GB, free: 7.211 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.302e-05/1.005, allocations: 12 kB / 0.7235 GB, free: 7.199 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.472e-05/1.005, allocations: 45.67 kB / 0.7236 GB, free: 7.148 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.005, allocations: 0 / 0.7236 GB, free: 7.148 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/1.005, allocations: 0 / 0.7236 GB, free: 7.148 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.005, allocations: 0 / 0.7236 GB, free: 7.148 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/1.005, allocations: 138.2 kB / 0.7237 GB, free: 6.977 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/1.005, allocations: 38.44 kB / 0.7237 GB, free: 6.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/1.005, allocations: 12.92 kB / 0.7238 GB, free: 6.914 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/1.005, allocations: 0 / 0.7238 GB, free: 6.914 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/1.005, allocations: 38.55 kB / 0.7238 GB, free: 6.867 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/1.005, allocations: 0 / 0.7238 GB, free: 6.867 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002102/1.005, allocations: 49.69 kB / 0.7238 GB, free: 6.812 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/1.005, allocations: 51.41 kB / 0.7239 GB, free: 6.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/1.005, allocations: 85.66 kB / 0.724 GB, free: 6.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/1.006, allocations: 29.7 kB / 0.724 GB, free: 6.625 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/1.006, allocations: 80.14 kB / 0.7241 GB, free: 6.543 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/1.006, allocations: 15.78 kB / 0.7241 GB, free: 6.527 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/1.006, allocations: 0 / 0.7241 GB, free: 6.527 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/1.006, allocations: 314.8 kB / 0.7244 GB, free: 6.211 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/1.006, allocations: 10.11 kB / 0.7244 GB, free: 6.203 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/1.006, allocations: 8 kB / 0.7244 GB, free: 6.195 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.995e-05/1.006, allocations: 7.984 kB / 0.7244 GB, free: 6.188 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.006, allocations: 0 / 0.7244 GB, free: 6.188 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001053/1.006, allocations: 53.59 kB / 0.7245 GB, free: 6.129 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.006, allocations: 8 kB / 0.7245 GB, free: 6.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/1.006, allocations: 0 / 0.7245 GB, free: 6.121 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.006, allocations: 0 / 0.7245 GB, free: 6.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/1.006, allocations: 8.078 kB / 0.7245 GB, free: 6.113 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/1.006, allocations: 4 kB / 0.7245 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/1.006, allocations: 4 kB / 0.7245 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/1.006, allocations: 7.922 kB / 0.7245 GB, free: 6.098 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 0.0001041/1.006, allocations: 101 kB / 0.7246 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/1.006, allocations: 7.906 kB / 0.7246 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/1.007, allocations: 7.312 kB / 0.7246 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/1.007, allocations: 3.938 kB / 0.7246 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/1.007, allocations: 0 / 0.7246 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/1.007, allocations: 0 / 0.7246 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/1.007, allocations: 142.1 kB / 0.7247 GB, free: 5.801 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/1.007, allocations: 0 / 0.7247 GB, free: 5.801 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-05/1.007, allocations: 11.98 kB / 0.7248 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.007, allocations: 0 / 0.7248 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.007, allocations: 0 / 0.7248 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.007, allocations: 0 / 0.7248 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.007, allocations: 4 kB / 0.7248 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001388/1.007, allocations: 79.2 kB / 0.7248 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003901/1.007, allocations: 456 kB / 0.7253 GB, free: 5.227 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/1.008, allocations: 97.06 kB / 0.7254 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/1.008, allocations: 0 / 0.7254 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/1.008, allocations: 0 / 0.7254 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/1.008, allocations: 4.188 kB / 0.7254 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/1.008, allocations: 0 / 0.7254 GB, free: 5.109 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.75e-05/1.008, allocations: 83.25 kB / 0.7255 GB, free: 5.027 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008693/1.009, allocations: 16 kB / 0.7255 GB, free: 5.012 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 (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.0002366/1.009, allocations: 119.2 kB / 0.7256 GB, free: 4.887 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/1.009, allocations: 16 kB / 0.7256 GB, free: 4.871 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.009, allocations: 0 / 0.7256 GB, free: 4.871 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/1.009, allocations: 11.98 kB / 0.7256 GB, free: 4.859 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/1.009, allocations: 7.906 kB / 0.7256 GB, free: 4.852 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/1.01, allocations: 72.95 kB / 0.7257 GB, free: 4.758 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/1.01, allocations: 0.6881 MB / 0.7264 GB, free: 4.043 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/1.01, allocations: 4 kB / 0.7264 GB, free: 4.039 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)