Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.45/1.45, allocations: 285.5 MB / 292.8 MB, free: 9.898 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.001021/0.001021, allocations: 185.3 kB / 361.1 MB, free: 400 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.1 MB / 0.6195 GB, free: 2.895 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008601/0.0008601, allocations: 90.97 kB / 0.7326 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4427/0.4436, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.6387, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5562/1.195, allocations: 138.6 MB / 1.099 GB, free: 24.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/1.195, allocations: 75.73 kB / 1.099 GB, free: 24.15 MB / 0.7136 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.006003/1.201, allocations: 2.004 MB / 1.101 GB, free: 23.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.201, allocations: 8.062 kB / 1.101 GB, free: 23.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000382/1.202, allocations: 33.62 kB / 1.101 GB, free: 23.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/1.202, allocations: 159.1 kB / 1.101 GB, free: 23.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/1.202, allocations: 3.75 kB / 1.101 GB, free: 23.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/1.202, allocations: 0 / 1.101 GB, free: 23.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001004/1.202, allocations: 26.44 kB / 1.101 GB, free: 23.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.208e-05/1.202, allocations: 49.52 kB / 1.101 GB, free: 23.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/1.202, allocations: 0.6562 kB / 1.101 GB, free: 23.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/1.202, allocations: 0 / 1.101 GB, free: 23.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/1.202, allocations: 3.906 kB / 1.101 GB, free: 23.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/1.202, allocations: 244.7 kB / 1.102 GB, free: 23.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.978e-05/1.203, allocations: 42.98 kB / 1.102 GB, free: 23.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/1.203, allocations: 13.61 kB / 1.102 GB, free: 23.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/1.203, allocations: 7.859 kB / 1.102 GB, free: 23.19 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/1.203, allocations: 35.12 kB / 1.102 GB, free: 23.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.203, allocations: 0 / 1.102 GB, free: 23.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001603/1.203, allocations: 55.84 kB / 1.102 GB, free: 23.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.493e-05/1.203, allocations: 55.03 kB / 1.102 GB, free: 23.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.924e-05/1.203, allocations: 94.34 kB / 1.102 GB, free: 22.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/1.203, allocations: 25.7 kB / 1.102 GB, free: 22.92 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.583e-05/1.203, allocations: 81.89 kB / 1.102 GB, free: 22.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/1.203, allocations: 11.69 kB / 1.102 GB, free: 22.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/1.203, allocations: 0 / 1.102 GB, free: 22.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.985e-05/1.203, allocations: 317.3 kB / 1.102 GB, free: 22.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/1.203, allocations: 7.844 kB / 1.102 GB, free: 22.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/1.203, allocations: 9.125 kB / 1.102 GB, free: 22.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.588e-05/1.203, allocations: 16.84 kB / 1.102 GB, free: 22.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/1.203, allocations: 0 / 1.102 GB, free: 22.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.749e-05/1.203, allocations: 55.17 kB / 1.102 GB, free: 22.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/1.203, allocations: 3.875 kB / 1.102 GB, free: 22.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/1.203, allocations: 0 / 1.102 GB, free: 22.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/1.203, allocations: 7.812 kB / 1.102 GB, free: 22.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/1.203, allocations: 25.98 kB / 1.102 GB, free: 22.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/1.203, allocations: 4.031 kB / 1.102 GB, free: 22.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.575e-05/1.203, allocations: 14.16 kB / 1.102 GB, free: 22.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/1.203, allocations: 0 / 1.102 GB, free: 22.47 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 5.452e-05/1.204, allocations: 107.5 kB / 1.103 GB, free: 22.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/1.204, allocations: 3.875 kB / 1.103 GB, free: 22.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/1.204, allocations: 11.25 kB / 1.103 GB, free: 22.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.204, allocations: 0 / 1.103 GB, free: 22.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.204, allocations: 0 / 1.103 GB, free: 22.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.204, allocations: 0 / 1.103 GB, free: 22.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/1.204, allocations: 154.7 kB / 1.103 GB, free: 38.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.204, allocations: 0 / 1.103 GB, free: 38.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/1.204, allocations: 19.23 kB / 1.103 GB, free: 38.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/1.204, allocations: 0 / 1.103 GB, free: 38.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/1.204, allocations: 3.797 kB / 1.103 GB, free: 38.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.204, allocations: 0 / 1.103 GB, free: 38.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.204, allocations: 3.875 kB / 1.103 GB, free: 38.18 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001551/1.204, allocations: 151.8 kB / 1.103 GB, free: 38.04 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003456/1.204, allocations: 0.522 MB / 1.103 GB, free: 37.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/1.205, allocations: 77.11 kB / 1.103 GB, free: 37.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/1.205, allocations: 3.797 kB / 1.103 GB, free: 37.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/1.205, allocations: 7.75 kB / 1.103 GB, free: 37.44 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/1.205, allocations: 13.7 kB / 1.104 GB, free: 37.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/1.205, allocations: 0 / 1.104 GB, free: 37.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.752e-05/1.205, allocations: 80.97 kB / 1.104 GB, free: 37.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008538/1.206, allocations: 19.44 kB / 1.104 GB, free: 37.36 MB / 0.7292 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.0001767/1.206, allocations: 114 kB / 1.104 GB, free: 37.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.611e-05/1.206, allocations: 31.05 kB / 1.104 GB, free: 37.26 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.206, allocations: 4.062 kB / 1.104 GB, free: 37.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/1.206, allocations: 17.05 kB / 1.104 GB, free: 37.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/1.206, allocations: 0 / 1.104 GB, free: 37.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/1.207, allocations: 78.45 kB / 1.104 GB, free: 37.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/1.207, allocations: 0.6975 MB / 1.105 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.207, allocations: 0 / 1.105 GB, free: 36.48 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)