Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.391/2.391, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001581/0.00158, allocations: 175.8 kB / 360.3 MB, free: 7.559 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.94/1.94, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001387/0.001386, allocations: 89.48 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.307/0.3085, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6437/0.9522, allocations: 115.3 MB / 0.9628 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/1.182, allocations: 138 MB / 1.097 GB, free: 2.93 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/1.183, allocations: 79.19 kB / 1.098 GB, free: 2.855 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.009716/1.192, allocations: 1.807 MB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.192, allocations: 12 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006368/1.193, allocations: 34.31 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/1.193, allocations: 164.2 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/1.193, allocations: 0 / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/1.193, allocations: 6.094 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001033/1.193, allocations: 19.98 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/1.193, allocations: 45.67 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.193, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/1.193, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.193, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/1.194, allocations: 138.2 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.988e-05/1.194, allocations: 26.58 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/1.194, allocations: 17.56 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/1.194, allocations: 0 / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.194, allocations: 44.47 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/1.194, allocations: 0 / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002117/1.194, allocations: 45.69 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/1.194, allocations: 51.41 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/1.194, allocations: 85.8 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/1.194, allocations: 25.7 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/1.194, allocations: 92.16 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/1.194, allocations: 11.84 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-06/1.194, allocations: 0 / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.195, allocations: 314.8 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/1.195, allocations: 4 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/1.195, allocations: 8 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/1.195, allocations: 7.984 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.195, allocations: 1.219 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001445/1.195, allocations: 53.69 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.195, allocations: 8 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.195, allocations: 0 / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.195, allocations: 0 / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/1.195, allocations: 11.92 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/1.195, allocations: 0 / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/1.195, allocations: 7.984 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/1.195, allocations: 4 kB / 1.101 GB, free: 15.7 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 9.035e-05/1.195, allocations: 112.7 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/1.195, allocations: 4 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.587e-05/1.196, allocations: 4.578 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/1.196, allocations: 0 / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.196, allocations: 0 / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.196, allocations: 5.469 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/1.196, allocations: 139.3 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.196, allocations: 4 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/1.196, allocations: 11.98 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.196, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/1.196, allocations: 4.547 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.196, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.196, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001653/1.196, allocations: 76.97 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003339/1.196, allocations: 460 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.334e-05/1.197, allocations: 89.09 kB / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/1.197, allocations: 0 / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/1.197, allocations: 0 / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/1.197, allocations: 4 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/1.197, allocations: 4.547 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.038e-05/1.197, allocations: 79.31 kB / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001164/1.198, allocations: 19.91 kB / 1.101 GB, free: 14.61 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.0002501/1.198, allocations: 127.1 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000122/1.198, allocations: 15.98 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.198, allocations: 4 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/1.198, allocations: 8 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/1.199, allocations: 14.53 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/1.199, allocations: 68.7 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/1.199, allocations: 0.6957 MB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of SimCode: time 7.91e-07/1.199, allocations: 0 / 1.102 GB, free: 13.63 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)