Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009893/0.0009893, allocations: 189.2 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.1 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008492/0.0008492, allocations: 88.02 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3367/0.3376, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.4984, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.623/4.122, allocations: 2.174 GB / 3.058 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/4.122, allocations: 87.94 kB / 3.058 GB, free: 203.8 MB / 0.8698 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.04667/4.169, allocations: 26.4 MB / 3.084 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/4.169, allocations: 8 kB / 3.084 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/4.169, allocations: 35.94 kB / 3.084 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.673e-05/4.169, allocations: 163 kB / 3.084 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/4.169, allocations: 0 / 3.084 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/4.169, allocations: 4 kB / 3.084 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.495e-05/4.169, allocations: 15.92 kB / 3.084 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.403e-05/4.17, allocations: 41.67 kB / 3.084 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/4.17, allocations: 0 / 3.084 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/4.17, allocations: 0 / 3.084 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/4.17, allocations: 4 kB / 3.084 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/4.17, allocations: 225.4 kB / 3.085 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.706e-05/4.17, allocations: 22.58 kB / 3.085 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/4.17, allocations: 12.92 kB / 3.085 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.872e-06/4.17, allocations: 0 / 3.085 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/4.17, allocations: 42.42 kB / 3.085 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/4.17, allocations: 0 / 3.085 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001118/4.17, allocations: 41.69 kB / 3.085 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.566e-05/4.17, allocations: 55.31 kB / 3.085 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/4.17, allocations: 97 kB / 3.085 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-06/4.17, allocations: 25.7 kB / 3.085 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.047e-05/4.17, allocations: 88.16 kB / 3.085 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/4.17, allocations: 15.78 kB / 3.085 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/4.17, allocations: 0 / 3.085 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 3.604e-05/4.17, allocations: 314.8 kB / 3.085 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/4.17, allocations: 4 kB / 3.085 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/4.17, allocations: 7.984 kB / 3.085 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/4.17, allocations: 4 kB / 3.085 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/4.17, allocations: 0 / 3.085 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.709e-05/4.17, allocations: 57.52 kB / 3.085 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/4.17, allocations: 8 kB / 3.085 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/4.17, allocations: 0 / 3.085 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/4.17, allocations: 0 / 3.085 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/4.171, allocations: 11.98 kB / 3.085 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/4.171, allocations: 0 / 3.085 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/4.171, allocations: 4 kB / 3.085 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/4.171, allocations: 7.984 kB / 3.085 GB, free: 175.7 MB / 0.8698 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.804e-05/4.171, allocations: 105 kB / 3.085 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/4.171, allocations: 3.906 kB / 3.085 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/4.171, allocations: 11.27 kB / 3.085 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/4.171, allocations: 4 kB / 3.085 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/4.171, allocations: 0 / 3.085 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/4.171, allocations: 0 / 3.085 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.751e-05/4.171, allocations: 130.1 kB / 3.086 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/4.171, allocations: 8 kB / 3.086 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/4.171, allocations: 0 / 3.086 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/4.171, allocations: 0 / 3.086 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/4.171, allocations: 4 kB / 3.086 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/4.171, allocations: 4 kB / 3.086 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/4.171, allocations: 0 / 3.086 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.599e-05/4.171, allocations: 139.4 kB / 3.086 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001541/4.171, allocations: 0.517 MB / 3.086 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/4.171, allocations: 93 kB / 3.086 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/4.171, allocations: 0 / 3.086 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/4.171, allocations: 4 kB / 3.086 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-06/4.171, allocations: 0 / 3.086 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/4.171, allocations: 0 / 3.086 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.754e-05/4.171, allocations: 91.2 kB / 3.086 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008754/4.172, allocations: 95.92 kB / 3.087 GB, free: 174.4 MB / 0.8698 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.0005683/4.173, allocations: 0.6784 MB / 3.087 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.558e-05/4.173, allocations: 8 kB / 3.087 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/4.173, allocations: 0 / 3.087 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-06/4.173, allocations: 4 kB / 3.087 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/4.173, allocations: 19.88 kB / 3.087 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001732/4.173, allocations: 56.11 kB / 3.087 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/4.174, allocations: 0.6919 MB / 3.088 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of SimCode: time 7.71e-07/4.174, allocations: 0 / 3.088 GB, free: 172.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)