Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_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.7564/0.7564, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001163/0.001163, allocations: 189.2 kB / 164.4 MB, free: 6.875 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.637/1.637, 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.0008961/0.0008962, allocations: 82.11 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3164/0.3174, allocations: 82.88 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.4999, allocations: 76.75 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4934/0.9934, allocations: 103.3 MB / 0.7218 GB, free: 9.059 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.9938, allocations: 75.95 kB / 0.7219 GB, free: 8.984 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.007132/1.001, allocations: 2.037 MB / 0.7239 GB, free: 6.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/1.001, allocations: 12 kB / 0.7239 GB, free: 6.898 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004255/1.001, allocations: 31.95 kB / 0.7239 GB, free: 6.867 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/1.002, allocations: 171 kB / 0.7241 GB, free: 6.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.002, allocations: 0 / 0.7241 GB, free: 6.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/1.002, allocations: 11.86 kB / 0.7241 GB, free: 6.648 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000114/1.002, allocations: 16 kB / 0.7241 GB, free: 6.633 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/1.002, allocations: 53.66 kB / 0.7242 GB, free: 6.574 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.002, allocations: 0 / 0.7242 GB, free: 6.574 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.002, allocations: 4 kB / 0.7242 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/1.002, allocations: 0 / 0.7242 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/1.002, allocations: 249.4 kB / 0.7244 GB, free: 6.289 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.313e-05/1.003, allocations: 34.52 kB / 0.7245 GB, free: 6.246 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/1.003, allocations: 16.92 kB / 0.7245 GB, free: 6.227 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/1.003, allocations: 7.984 kB / 0.7245 GB, free: 6.219 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/1.003, allocations: 34.55 kB / 0.7245 GB, free: 6.176 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.003, allocations: 0 / 0.7245 GB, free: 6.176 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002087/1.003, allocations: 57.59 kB / 0.7246 GB, free: 6.113 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/1.003, allocations: 52.06 kB / 0.7246 GB, free: 6.051 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/1.003, allocations: 93 kB / 0.7247 GB, free: 5.953 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/1.003, allocations: 25.7 kB / 0.7247 GB, free: 5.922 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/1.003, allocations: 80.14 kB / 0.7248 GB, free: 5.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/1.003, allocations: 11.92 kB / 0.7248 GB, free: 5.828 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/1.003, allocations: 4 kB / 0.7248 GB, free: 5.824 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/1.003, allocations: 312.9 kB / 0.7251 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/1.003, allocations: 8 kB / 0.7251 GB, free: 5.504 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.39e-05/1.003, allocations: 8 kB / 0.7251 GB, free: 5.492 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/1.003, allocations: 19.92 kB / 0.7252 GB, free: 5.473 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.003, allocations: 0 / 0.7252 GB, free: 5.473 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000102/1.003, allocations: 53.59 kB / 0.7252 GB, free: 5.414 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.004, allocations: 14.75 kB / 0.7252 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/1.004, allocations: 0 / 0.7252 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.004, allocations: 0 / 0.7252 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/1.004, allocations: 21.66 kB / 0.7252 GB, free: 5.383 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/1.004, allocations: 0 / 0.7252 GB, free: 5.383 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/1.004, allocations: 18.55 kB / 0.7253 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/1.004, allocations: 0 / 0.7253 GB, free: 5.367 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.85e-05/1.004, allocations: 105 kB / 0.7254 GB, free: 5.258 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/1.004, allocations: 3.906 kB / 0.7254 GB, free: 5.254 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/1.004, allocations: 7.312 kB / 0.7254 GB, free: 5.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/1.004, allocations: 4 kB / 0.7254 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.004, allocations: 3.938 kB / 0.7254 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/1.004, allocations: 4 kB / 0.7254 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/1.004, allocations: 150.1 kB / 0.7255 GB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.004, allocations: 3.906 kB / 0.7255 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/1.004, allocations: 15.98 kB / 0.7255 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.004, allocations: 3.938 kB / 0.7255 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/1.004, allocations: 4 kB / 0.7256 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.004, allocations: 0.875 kB / 0.7256 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.004, allocations: 0 / 0.7256 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001709/1.005, allocations: 151.4 kB / 0.7257 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003315/1.005, allocations: 0.5234 MB / 0.7262 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/1.005, allocations: 81.02 kB / 0.7263 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/1.005, allocations: 0 / 0.7263 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/1.005, allocations: 12.98 kB / 0.7263 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/1.005, allocations: 0 / 0.7263 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/1.005, allocations: 7.938 kB / 0.7263 GB, free: 4.203 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.682e-05/1.005, allocations: 91.44 kB / 0.7264 GB, free: 4.113 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008429/1.006, allocations: 16 kB / 0.7264 GB, free: 4.098 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.0001941/1.006, allocations: 115.2 kB / 0.7265 GB, free: 3.973 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/1.006, allocations: 23.98 kB / 0.7265 GB, free: 3.949 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.006, allocations: 0 / 0.7265 GB, free: 3.949 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/1.007, allocations: 12 kB / 0.7266 GB, free: 3.938 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/1.007, allocations: 4.031 kB / 0.7266 GB, free: 3.934 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/1.007, allocations: 87.83 kB / 0.7266 GB, free: 3.824 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/1.007, allocations: 0.6958 MB / 0.7273 GB, free: 3.102 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/1.007, allocations: 0 / 0.7273 GB, free: 3.102 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)