Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 185.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4681/0.4681, allocations: 90.85 MB / 99.08 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.4 MB / 342.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 94.48 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1954/0.1965, allocations: 78.46 MB / 494 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.6614, allocations: 72.29 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.943/4.604, allocations: 1.666 GB / 2.219 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/4.605, allocations: 83.95 kB / 2.219 GB, free: 149.3 MB / 0.6042 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.05354/4.658, allocations: 26.48 MB / 2.245 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/4.659, allocations: 8 kB / 2.245 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005008/4.659, allocations: 31.95 kB / 2.245 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/4.659, allocations: 167.6 kB / 2.245 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/4.659, allocations: 0 / 2.245 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/4.659, allocations: 3.906 kB / 2.245 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.991e-05/4.659, allocations: 12 kB / 2.245 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.807e-05/4.659, allocations: 45.66 kB / 2.245 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/4.659, allocations: 0.8125 kB / 2.245 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/4.659, allocations: 0 / 2.245 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/4.66, allocations: 0 / 2.245 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/4.66, allocations: 229.4 kB / 2.245 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.49e-05/4.66, allocations: 26.58 kB / 2.245 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/4.66, allocations: 12.92 kB / 2.245 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/4.66, allocations: 0 / 2.245 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/4.66, allocations: 30.66 kB / 2.245 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/4.66, allocations: 0 / 2.245 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001621/4.66, allocations: 37.7 kB / 2.245 GB, free: 122 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/4.66, allocations: 51.41 kB / 2.245 GB, free: 122 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/4.66, allocations: 104.9 kB / 2.245 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/4.66, allocations: 25.7 kB / 2.245 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/4.66, allocations: 92.02 kB / 2.245 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/4.66, allocations: 3.906 kB / 2.245 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-06/4.66, allocations: 0 / 2.245 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.248e-05/4.661, allocations: 318.8 kB / 2.246 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/4.661, allocations: 7.984 kB / 2.246 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/4.661, allocations: 4.188 kB / 2.246 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/4.661, allocations: 8.078 kB / 2.246 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/4.661, allocations: 0 / 2.246 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001043/4.661, allocations: 53.61 kB / 2.246 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/4.661, allocations: 12 kB / 2.246 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/4.661, allocations: 0 / 2.246 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/4.661, allocations: 4.719 kB / 2.246 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/4.661, allocations: 7.984 kB / 2.246 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/4.661, allocations: 0 / 2.246 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/4.661, allocations: 14.89 kB / 2.246 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/4.661, allocations: 0 / 2.246 GB, free: 121.3 MB / 0.6042 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 6.064e-05/4.661, allocations: 108.9 kB / 2.246 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/4.661, allocations: 7.906 kB / 2.246 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/4.661, allocations: 7.312 kB / 2.246 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/4.661, allocations: 0 / 2.246 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/4.661, allocations: 0.6875 kB / 2.246 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/4.661, allocations: 3.984 kB / 2.246 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/4.661, allocations: 126.2 kB / 2.246 GB, free: 121 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/4.661, allocations: 0 / 2.246 GB, free: 121 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/4.661, allocations: 8.672 kB / 2.246 GB, free: 121 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/4.661, allocations: 3.906 kB / 2.246 GB, free: 121 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/4.661, allocations: 0 / 2.246 GB, free: 121 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/4.661, allocations: 4 kB / 2.246 GB, free: 121 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/4.661, allocations: 0 / 2.246 GB, free: 121 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.823e-05/4.662, allocations: 132.4 kB / 2.246 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001957/4.662, allocations: 0.5233 MB / 2.247 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/4.662, allocations: 85 kB / 2.247 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/4.662, allocations: 4 kB / 2.247 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/4.662, allocations: 0 / 2.247 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/4.662, allocations: 0 / 2.247 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/4.662, allocations: 4 kB / 2.247 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.217e-05/4.662, allocations: 91.27 kB / 2.247 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009547/4.663, allocations: 91.98 kB / 2.247 GB, free: 120 MB / 0.6042 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.0008543/4.664, allocations: 0.6601 MB / 2.248 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000101/4.664, allocations: 15.98 kB / 2.248 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/4.664, allocations: 0 / 2.248 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/4.664, allocations: 7.938 kB / 2.248 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/4.664, allocations: 17.72 kB / 2.248 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/4.665, allocations: 63.97 kB / 2.248 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/4.665, allocations: 0.692 MB / 2.248 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/4.665, allocations: 0 / 2.248 GB, free: 118.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)