Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.536/1.536, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.00106/0.00106, allocations: 188.2 kB / 366.3 MB, free: 1.961 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.549/1.549, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0009214/0.0009214, allocations: 88.28 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2803/0.2813, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6874/0.9687, allocations: 116.3 MB / 0.9727 GB, free: 68.1 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.465/5.434, allocations: 2.055 GB / 3.028 GB, free: 17.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/5.434, allocations: 85.62 kB / 3.028 GB, free: 16.98 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.5506/5.985, allocations: 26.78 MB / 3.054 GB, free: 347 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/5.985, allocations: 7.062 kB / 3.054 GB, free: 347 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004847/5.986, allocations: 42.67 kB / 3.054 GB, free: 347 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/5.986, allocations: 169.5 kB / 3.055 GB, free: 346.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/5.986, allocations: 7.094 kB / 3.055 GB, free: 346.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/5.986, allocations: 4.75 kB / 3.055 GB, free: 346.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.888e-05/5.986, allocations: 6.094 kB / 3.055 GB, free: 346.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.631e-05/5.986, allocations: 41.55 kB / 3.055 GB, free: 346.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/5.986, allocations: 2.656 kB / 3.055 GB, free: 346.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/5.986, allocations: 0 / 3.055 GB, free: 346.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/5.986, allocations: 5 kB / 3.055 GB, free: 346.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/5.986, allocations: 228.7 kB / 3.055 GB, free: 346.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.241e-05/5.986, allocations: 23.52 kB / 3.055 GB, free: 346.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/5.986, allocations: 9.516 kB / 3.055 GB, free: 346.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/5.986, allocations: 0 / 3.055 GB, free: 346.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/5.986, allocations: 37.81 kB / 3.055 GB, free: 346.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/5.986, allocations: 0 / 3.055 GB, free: 346.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.000131/5.987, allocations: 34.05 kB / 3.055 GB, free: 346.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.668e-05/5.987, allocations: 60.78 kB / 3.055 GB, free: 346.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/5.987, allocations: 98.19 kB / 3.055 GB, free: 346.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-06/5.987, allocations: 29.64 kB / 3.055 GB, free: 346.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/5.987, allocations: 84.22 kB / 3.055 GB, free: 346.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.143e-06/5.987, allocations: 10.84 kB / 3.055 GB, free: 346.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/5.987, allocations: 0 / 3.055 GB, free: 346.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.702e-05/5.987, allocations: 314.8 kB / 3.055 GB, free: 345.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/5.987, allocations: 3.094 kB / 3.055 GB, free: 345.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/5.987, allocations: 6.578 kB / 3.055 GB, free: 345.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.785e-05/5.987, allocations: 15.84 kB / 3.055 GB, free: 345.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/5.987, allocations: 0 / 3.055 GB, free: 345.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.264e-05/5.987, allocations: 49.52 kB / 3.056 GB, free: 345.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/5.987, allocations: 3.656 kB / 3.056 GB, free: 345.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/5.987, allocations: 0 / 3.056 GB, free: 345.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/5.987, allocations: 2.125 kB / 3.056 GB, free: 345.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/5.987, allocations: 9.859 kB / 3.056 GB, free: 345.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/5.987, allocations: 0 / 3.056 GB, free: 345.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/5.987, allocations: 17.73 kB / 3.056 GB, free: 345.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/5.987, allocations: 7.391 kB / 3.056 GB, free: 345.8 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 5.048e-05/5.987, allocations: 104.9 kB / 3.056 GB, free: 345.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/5.987, allocations: 0 / 3.056 GB, free: 345.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/5.987, allocations: 5.344 kB / 3.056 GB, free: 345.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/5.987, allocations: 0 / 3.056 GB, free: 345.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/5.987, allocations: 3.906 kB / 3.056 GB, free: 345.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/5.987, allocations: 0.5625 kB / 3.056 GB, free: 345.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.895e-05/5.988, allocations: 131.3 kB / 3.056 GB, free: 345.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/5.988, allocations: 4 kB / 3.056 GB, free: 345.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/5.988, allocations: 3.406 kB / 3.056 GB, free: 345.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/5.988, allocations: 0 / 3.056 GB, free: 345.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/5.988, allocations: 3.516 kB / 3.056 GB, free: 345.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/5.988, allocations: 2.344 kB / 3.056 GB, free: 345.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/5.988, allocations: 0 / 3.056 GB, free: 345.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.745e-05/5.988, allocations: 136.2 kB / 3.056 GB, free: 345.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001504/5.988, allocations: 0.5231 MB / 3.056 GB, free: 344.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/5.988, allocations: 83.66 kB / 3.057 GB, free: 344.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/5.988, allocations: 2.594 kB / 3.057 GB, free: 344.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/5.988, allocations: 3.281 kB / 3.057 GB, free: 344.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/5.988, allocations: 10.09 kB / 3.057 GB, free: 344.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/5.988, allocations: 8.406 kB / 3.057 GB, free: 344.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.086e-05/5.988, allocations: 88 kB / 3.057 GB, free: 344.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008991/5.989, allocations: 94.23 kB / 3.057 GB, free: 344.7 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.0006601/5.99, allocations: 0.6455 MB / 3.057 GB, free: 344.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.456e-05/5.99, allocations: 20.31 kB / 3.057 GB, free: 344.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/5.99, allocations: 0 / 3.057 GB, free: 344.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.287e-06/5.99, allocations: 6.188 kB / 3.057 GB, free: 344.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/5.99, allocations: 10.06 kB / 3.057 GB, free: 344.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/5.99, allocations: 65.73 kB / 3.057 GB, free: 344.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/5.99, allocations: 0.6894 MB / 3.058 GB, free: 343.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/5.99, allocations: 0 / 3.058 GB, free: 343.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)