Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.399/1.399, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001097/0.001097, allocations: 173.3 kB / 361.1 MB, free: 7.113 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.211/1.211, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009027/0.0009026, allocations: 95.7 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2061/0.207, allocations: 121.5 MB / 0.8512 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5146/0.7216, allocations: 115.3 MB / 0.9638 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.285/4.007, allocations: 2.054 GB / 3.018 GB, free: 63.34 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/4.007, allocations: 87.7 kB / 3.018 GB, free: 63.29 MB / 0.948 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.04964/4.057, allocations: 26.79 MB / 3.044 GB, free: 40.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/4.057, allocations: 8 kB / 3.044 GB, free: 40.58 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004714/4.057, allocations: 39.86 kB / 3.045 GB, free: 40.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.509e-05/4.057, allocations: 163.1 kB / 3.045 GB, free: 40.34 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/4.057, allocations: 4 kB / 3.045 GB, free: 40.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/4.057, allocations: 4 kB / 3.045 GB, free: 40.33 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.564e-05/4.057, allocations: 4 kB / 3.045 GB, free: 40.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.715e-05/4.058, allocations: 45.56 kB / 3.045 GB, free: 40.28 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/4.058, allocations: 0 / 3.045 GB, free: 40.28 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/4.058, allocations: 7.938 kB / 3.045 GB, free: 40.27 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/4.058, allocations: 0 / 3.045 GB, free: 40.27 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/4.058, allocations: 221.5 kB / 3.045 GB, free: 40.02 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.531e-05/4.058, allocations: 30.5 kB / 3.045 GB, free: 39.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/4.058, allocations: 12.83 kB / 3.045 GB, free: 39.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/4.058, allocations: 0 / 3.045 GB, free: 39.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.122e-05/4.058, allocations: 34.56 kB / 3.045 GB, free: 39.92 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/4.058, allocations: 0 / 3.045 GB, free: 39.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001157/4.058, allocations: 38.58 kB / 3.045 GB, free: 39.88 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.4e-05/4.058, allocations: 55.44 kB / 3.045 GB, free: 39.81 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.729e-05/4.058, allocations: 105 kB / 3.045 GB, free: 39.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.421e-06/4.058, allocations: 25.7 kB / 3.045 GB, free: 39.67 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.136e-05/4.058, allocations: 84.05 kB / 3.045 GB, free: 39.58 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/4.058, allocations: 11.94 kB / 3.045 GB, free: 39.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/4.058, allocations: 0 / 3.045 GB, free: 39.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 3.889e-05/4.058, allocations: 314.8 kB / 3.046 GB, free: 39.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/4.058, allocations: 7.984 kB / 3.046 GB, free: 39.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/4.058, allocations: 8 kB / 3.046 GB, free: 39.24 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.647e-05/4.058, allocations: 11.75 kB / 3.046 GB, free: 39.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/4.058, allocations: 0 / 3.046 GB, free: 39.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.078e-05/4.058, allocations: 45.67 kB / 3.046 GB, free: 39.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/4.058, allocations: 4 kB / 3.046 GB, free: 39.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/4.058, allocations: 0 / 3.046 GB, free: 39.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/4.059, allocations: 0 / 3.046 GB, free: 39.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/4.059, allocations: 11.98 kB / 3.046 GB, free: 39.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/4.059, allocations: 3.938 kB / 3.046 GB, free: 39.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/4.059, allocations: 15.89 kB / 3.046 GB, free: 39.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/4.059, allocations: 5.688 kB / 3.046 GB, free: 39.14 MB / 0.948 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 (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 prepare postOptimizeDAE: time 3.833e-05/4.059, allocations: 101 kB / 3.046 GB, free: 39.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/4.059, allocations: 0 / 3.046 GB, free: 39.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/4.059, allocations: 11.22 kB / 3.046 GB, free: 39.03 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/4.059, allocations: 4 kB / 3.046 GB, free: 39.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/4.059, allocations: 0 / 3.046 GB, free: 39.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/4.059, allocations: 0 / 3.046 GB, free: 39.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.649e-05/4.059, allocations: 130.2 kB / 3.046 GB, free: 38.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/4.059, allocations: 4 kB / 3.046 GB, free: 38.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/4.059, allocations: 3.984 kB / 3.046 GB, free: 38.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/4.059, allocations: 0 / 3.046 GB, free: 38.85 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/4.059, allocations: 4 kB / 3.046 GB, free: 38.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/4.059, allocations: 3.938 kB / 3.046 GB, free: 38.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/4.059, allocations: 3.906 kB / 3.046 GB, free: 38.84 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.293e-05/4.059, allocations: 129 kB / 3.046 GB, free: 38.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001391/4.059, allocations: 0.5246 MB / 3.047 GB, free: 38.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/4.059, allocations: 85.09 kB / 3.047 GB, free: 38.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/4.059, allocations: 0 / 3.047 GB, free: 38.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/4.059, allocations: 7.906 kB / 3.047 GB, free: 38.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/4.059, allocations: 4 kB / 3.047 GB, free: 38.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-06/4.059, allocations: 0 / 3.047 GB, free: 38.04 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.506e-05/4.06, allocations: 87.3 kB / 3.047 GB, free: 37.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008852/4.06, allocations: 87.98 kB / 3.047 GB, free: 37.87 MB / 0.948 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.0005871/4.061, allocations: 0.6658 MB / 3.048 GB, free: 37.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.287e-05/4.061, allocations: 11.98 kB / 3.048 GB, free: 37.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/4.061, allocations: 3.938 kB / 3.048 GB, free: 37.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/4.061, allocations: 12 kB / 3.048 GB, free: 37.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/4.061, allocations: 6 kB / 3.048 GB, free: 37.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001803/4.061, allocations: 60.72 kB / 3.048 GB, free: 37.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/4.062, allocations: 0.6966 MB / 3.048 GB, free: 36.38 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/4.062, allocations: 0 / 3.048 GB, free: 36.38 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)