Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.546/1.546, allocations: 289.8 MB / 297 MB, free: 6.68 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.001264/0.001264, allocations: 173.3 kB / 366.3 MB, free: 2.008 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.5/1.5, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0009002/0.0009002, allocations: 83.81 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2568/0.2577, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6765/0.9342, allocations: 116.3 MB / 0.9726 GB, free: 68.1 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/1.118, allocations: 139.1 MB / 1.109 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/1.118, allocations: 75.95 kB / 1.109 GB, free: 9.301 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.006112/1.124, allocations: 1.809 MB / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/1.124, allocations: 8.562 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/1.125, allocations: 35.94 kB / 1.11 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/1.125, allocations: 167 kB / 1.111 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/1.125, allocations: 0 / 1.111 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/1.125, allocations: 0 / 1.111 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.533e-05/1.125, allocations: 15.92 kB / 1.111 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.185e-05/1.125, allocations: 46.23 kB / 1.111 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/1.125, allocations: 0 / 1.111 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/1.125, allocations: 0 / 1.111 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/1.125, allocations: 4 kB / 1.111 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/1.125, allocations: 138.1 kB / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.363e-05/1.125, allocations: 26.61 kB / 1.111 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/1.125, allocations: 19.86 kB / 1.111 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/1.125, allocations: 0 / 1.111 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/1.125, allocations: 34.56 kB / 1.111 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/1.125, allocations: 4 kB / 1.111 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001646/1.126, allocations: 49.62 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/1.126, allocations: 51.41 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.548e-05/1.126, allocations: 89 kB / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/1.126, allocations: 30.45 kB / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/1.126, allocations: 84.12 kB / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/1.126, allocations: 7.844 kB / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-06/1.126, allocations: 0 / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.126, allocations: 318.8 kB / 1.111 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/1.126, allocations: 8 kB / 1.111 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.572e-05/1.126, allocations: 4 kB / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/1.126, allocations: 11.98 kB / 1.111 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.126, allocations: 0.8438 kB / 1.111 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.667e-05/1.126, allocations: 49.69 kB / 1.111 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/1.126, allocations: 4 kB / 1.111 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/1.126, allocations: 3.938 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.126, allocations: 0 / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/1.126, allocations: 12.08 kB / 1.112 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/1.126, allocations: 3.938 kB / 1.112 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/1.126, allocations: 7.984 kB / 1.112 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/1.126, allocations: 0 / 1.112 GB, free: 6.105 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.779e-05/1.127, allocations: 105.5 kB / 1.112 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/1.127, allocations: 4 kB / 1.112 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/1.127, allocations: 8.25 kB / 1.112 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/1.127, allocations: 0 / 1.112 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/1.127, allocations: 0 / 1.112 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.127, allocations: 0 / 1.112 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/1.127, allocations: 142.1 kB / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/1.127, allocations: 0 / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/1.127, allocations: 11.98 kB / 1.112 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/1.127, allocations: 0 / 1.112 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/1.127, allocations: 3.984 kB / 1.112 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.127, allocations: 6.406 kB / 1.112 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.127, allocations: 0 / 1.112 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001264/1.127, allocations: 80.97 kB / 1.112 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002231/1.127, allocations: 460.1 kB / 1.112 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/1.127, allocations: 85.09 kB / 1.112 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/1.127, allocations: 0 / 1.112 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/1.127, allocations: 0 / 1.112 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/1.127, allocations: 4.188 kB / 1.112 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/1.127, allocations: 3.984 kB / 1.112 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.229e-05/1.127, allocations: 81.14 kB / 1.112 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008036/1.128, allocations: 23.91 kB / 1.112 GB, free: 5.008 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.0001979/1.128, allocations: 123.2 kB / 1.113 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.889e-05/1.129, allocations: 27.92 kB / 1.113 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.129, allocations: 0 / 1.113 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-05/1.129, allocations: 4 kB / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/1.129, allocations: 8.516 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/1.129, allocations: 63.89 kB / 1.113 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/1.129, allocations: 0.6959 MB / 1.113 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/1.129, allocations: 3.938 kB / 1.113 GB, free: 4.023 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)