Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.408/1.408, allocations: 285.5 MB / 292.8 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009753/0.0009753, allocations: 181.3 kB / 361.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.1 MB / 0.6195 GB, free: 10.28 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008268/0.000827, allocations: 96.53 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2124/0.2133, allocations: 121.4 MB / 0.8511 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.7192, allocations: 115.3 MB / 0.9638 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.8678, allocations: 138.1 MB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.868, allocations: 75.95 kB / 1.099 GB, free: 1.734 MB / 0.698 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.005828/0.8739, allocations: 1.812 MB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.8739, allocations: 8 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003962/0.8743, allocations: 33.23 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.8745, allocations: 163.5 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.8745, allocations: 0 / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.8745, allocations: 4.688 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.53e-05/0.8746, allocations: 15.92 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.393e-05/0.8747, allocations: 42.95 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.8747, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.8747, allocations: 0.6875 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.8747, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.8749, allocations: 138.7 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.875, allocations: 35.11 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.8751, allocations: 20.2 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.8751, allocations: 0 / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.8751, allocations: 34.39 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.434e-06/0.8751, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000176/0.8753, allocations: 50.47 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.8753, allocations: 55.44 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.8754, allocations: 96.98 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.8754, allocations: 25.7 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.8755, allocations: 80.14 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.8755, allocations: 7.844 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.8755, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.8756, allocations: 318.8 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.8757, allocations: 8 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.8757, allocations: 11.98 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/0.8757, allocations: 8 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.8757, allocations: 0 / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.609e-05/0.8758, allocations: 53.61 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.8759, allocations: 4 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.8759, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.8759, allocations: 2 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.876, allocations: 11.98 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.876, allocations: 0 / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.8761, allocations: 4.094 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.8761, allocations: 4.516 kB / 1.102 GB, free: 14.59 MB / 0.7136 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 7.167e-05/0.8762, allocations: 104.9 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.8762, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.741e-05/0.8763, allocations: 3.312 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.8763, allocations: 7.984 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8763, allocations: 4 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.8763, allocations: 2.016 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.8764, allocations: 138.1 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8764, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.8765, allocations: 7.984 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.8765, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.8765, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.8765, allocations: 6 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8765, allocations: 2.078 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001195/0.8767, allocations: 86.91 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00021/0.8769, allocations: 456 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.877, allocations: 81.09 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.877, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.8771, allocations: 8.062 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.8771, allocations: 5.812 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.8771, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.064e-05/0.8772, allocations: 79.28 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007486/0.8779, allocations: 19.91 kB / 1.103 GB, free: 13.51 MB / 0.7136 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.0001998/0.8781, allocations: 123 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.393e-05/0.8782, allocations: 27.92 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8782, allocations: 0 / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.103e-05/0.8782, allocations: 8 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.8784, allocations: 13.42 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.8786, allocations: 60.47 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.8789, allocations: 0.6962 MB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8789, allocations: 0 / 1.104 GB, free: 12.53 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)