Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.464/4.464, allocations: 433 MB / 440.3 MB, free: 10.77 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3118/4.776, allocations: 104.4 MB / 0.5319 GB, free: 2.34 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/5.318, allocations: 98.69 MB / 0.6283 GB, free: 116 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2564/5.574, allocations: 124.7 MB / 0.7501 GB, free: 3.227 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/5.574, allocations: 83.88 kB / 0.7502 GB, free: 3.145 MB / 0.6199 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.009456/5.584, allocations: 1.803 MB / 0.7519 GB, free: 1.297 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/5.584, allocations: 8 kB / 0.7519 GB, free: 1.289 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006399/5.585, allocations: 35.95 kB / 0.752 GB, free: 1.254 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/5.585, allocations: 167.1 kB / 0.7521 GB, free: 1.051 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/5.585, allocations: 0 / 0.7521 GB, free: 1.051 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/5.585, allocations: 3.906 kB / 0.7521 GB, free: 1.047 MB / 0.6199 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001009/5.585, allocations: 11.98 kB / 0.7521 GB, free: 1.035 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/5.585, allocations: 45.61 kB / 0.7522 GB, free: 0.9844 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/5.585, allocations: 0 / 0.7522 GB, free: 0.9844 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/5.585, allocations: 0 / 0.7522 GB, free: 0.9844 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/5.585, allocations: 4 kB / 0.7522 GB, free: 0.9805 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/5.585, allocations: 134.2 kB / 0.7523 GB, free: 0.8125 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 9.591e-05/5.585, allocations: 34.59 kB / 0.7523 GB, free: 0.7695 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/5.585, allocations: 12.92 kB / 0.7524 GB, free: 0.7539 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/5.586, allocations: 3.938 kB / 0.7524 GB, free: 0.75 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/5.586, allocations: 34.47 kB / 0.7524 GB, free: 0.707 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/5.586, allocations: 0 / 0.7524 GB, free: 0.707 MB / 0.6199 GB Notification: Performance of matching and sorting (n=2): time 0.0002242/5.586, allocations: 57.61 kB / 0.7524 GB, free: 0.6445 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/5.586, allocations: 51.41 kB / 0.7525 GB, free: 0.582 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.851e-05/5.586, allocations: 93 kB / 0.7526 GB, free: 496 kB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/5.586, allocations: 25.7 kB / 0.7526 GB, free: 464 kB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/5.586, allocations: 80.14 kB / 0.7527 GB, free: 380 kB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/5.586, allocations: 11.84 kB / 0.7527 GB, free: 368 kB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/5.586, allocations: 0 / 0.7527 GB, free: 368 kB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.000126/5.586, allocations: 310.8 kB / 0.753 GB, free: 48 kB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/5.586, allocations: 16.02 kB / 0.753 GB, free: 32 kB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/5.586, allocations: 4 kB / 0.753 GB, free: 28 kB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.778e-05/5.586, allocations: 8 kB / 0.753 GB, free: 20 kB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/5.586, allocations: 0 / 0.753 GB, free: 20 kB / 0.6199 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000211/5.587, allocations: 53.58 kB / 0.7531 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/5.587, allocations: 7.938 kB / 0.7531 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/5.587, allocations: 4 kB / 0.7531 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/5.587, allocations: 0 / 0.7531 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/5.587, allocations: 11.92 kB / 0.7531 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/5.587, allocations: 4.094 kB / 0.7531 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/5.587, allocations: 4 kB / 0.7531 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/5.587, allocations: 0 / 0.7531 GB, free: 15.93 MB / 0.6355 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 8.711e-05/5.587, allocations: 101 kB / 0.7532 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/5.587, allocations: 3.906 kB / 0.7532 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.012e-05/5.587, allocations: 15.3 kB / 0.7532 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/5.587, allocations: 0 / 0.7532 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/5.587, allocations: 192 / 0.7532 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/5.587, allocations: 0 / 0.7532 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/5.587, allocations: 138.2 kB / 0.7533 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/5.587, allocations: 0 / 0.7533 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/5.588, allocations: 7.984 kB / 0.7534 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/5.588, allocations: 7.906 kB / 0.7534 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/5.588, allocations: 0 / 0.7534 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/5.588, allocations: 4 kB / 0.7534 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/5.588, allocations: 7.938 kB / 0.7534 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001678/5.588, allocations: 77.05 kB / 0.7534 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002973/5.588, allocations: 453.4 kB / 0.7539 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.862e-05/5.588, allocations: 81.09 kB / 0.754 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/5.588, allocations: 11.97 kB / 0.754 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/5.588, allocations: 3.984 kB / 0.754 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/5.588, allocations: 0 / 0.754 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/5.589, allocations: 4 kB / 0.754 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.343e-05/5.589, allocations: 75.28 kB / 0.754 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001164/5.59, allocations: 16 kB / 0.7541 GB, free: 14.84 MB / 0.6355 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.000253/5.59, allocations: 123.2 kB / 0.7542 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000133/5.59, allocations: 23.92 kB / 0.7542 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/5.59, allocations: 0 / 0.7542 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/5.59, allocations: 7.984 kB / 0.7542 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/5.59, allocations: 11.98 kB / 0.7542 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/5.591, allocations: 65.09 kB / 0.7543 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/5.591, allocations: 0.692 MB / 0.755 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/5.591, allocations: 4 kB / 0.755 GB, free: 13.86 MB / 0.6355 GB