Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_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.238/4.238, allocations: 433 MB / 440.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.3304/4.568, allocations: 104.3 MB / 0.5319 GB, free: 12 kB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/5.104, allocations: 98.71 MB / 0.6283 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2791/5.383, allocations: 125.1 MB / 0.7504 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003924/5.384, allocations: 75.94 kB / 0.7505 GB, free: 3.492 MB / 0.6231 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.01506/5.399, allocations: 1.986 MB / 0.7525 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/5.399, allocations: 12 kB / 0.7525 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008924/5.4, allocations: 31.95 kB / 0.7525 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/5.4, allocations: 163 kB / 0.7526 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/5.4, allocations: 4 kB / 0.7527 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/5.4, allocations: 0 / 0.7527 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001739/5.4, allocations: 19.98 kB / 0.7527 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/5.4, allocations: 57.33 kB / 0.7527 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/5.4, allocations: 3.938 kB / 0.7527 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/5.401, allocations: 0 / 0.7527 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/5.401, allocations: 0 / 0.7527 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/5.401, allocations: 253.4 kB / 0.753 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/5.402, allocations: 38.56 kB / 0.753 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.147e-05/5.402, allocations: 12.92 kB / 0.753 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/5.402, allocations: 0 / 0.753 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/5.402, allocations: 34.56 kB / 0.7531 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 2.415e-06/5.402, allocations: 3.938 kB / 0.7531 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0003442/5.402, allocations: 61.52 kB / 0.7531 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/5.402, allocations: 55.44 kB / 0.7532 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/5.402, allocations: 96.98 kB / 0.7533 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/5.402, allocations: 25.7 kB / 0.7533 GB, free: 484 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/5.402, allocations: 84.14 kB / 0.7534 GB, free: 396 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/5.402, allocations: 3.906 kB / 0.7534 GB, free: 392 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/5.402, allocations: 0 / 0.7534 GB, free: 392 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001519/5.403, allocations: 310.8 kB / 0.7537 GB, free: 72 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/5.403, allocations: 11.98 kB / 0.7537 GB, free: 60 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/5.403, allocations: 16 kB / 0.7537 GB, free: 44 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.349e-05/5.403, allocations: 8 kB / 0.7537 GB, free: 36 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/5.403, allocations: 0 / 0.7537 GB, free: 36 kB / 0.6231 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003249/5.403, allocations: 61.61 kB / 0.7538 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/5.403, allocations: 4 kB / 0.7538 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/5.403, allocations: 0 / 0.7538 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/5.403, allocations: 3.906 kB / 0.7538 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/5.404, allocations: 20.08 kB / 0.7538 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/5.404, allocations: 0 / 0.7538 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/5.404, allocations: 11.98 kB / 0.7538 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/5.404, allocations: 7.984 kB / 0.7538 GB, free: 15.92 MB / 0.6387 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 0.0001119/5.404, allocations: 101 kB / 0.7539 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/5.404, allocations: 7.906 kB / 0.7539 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/5.404, allocations: 11.31 kB / 0.7539 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/5.404, allocations: 0 / 0.7539 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/5.404, allocations: 0 / 0.7539 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/5.404, allocations: 0 / 0.7539 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/5.405, allocations: 138.2 kB / 0.7541 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/5.405, allocations: 3.938 kB / 0.7541 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/5.405, allocations: 23.97 kB / 0.7541 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/5.405, allocations: 0 / 0.7541 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/5.405, allocations: 7.906 kB / 0.7541 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/5.405, allocations: 4 kB / 0.7541 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/5.405, allocations: 0 / 0.7541 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003219/5.406, allocations: 155.5 kB / 0.7542 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004518/5.406, allocations: 0.5193 MB / 0.7547 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/5.406, allocations: 84.95 kB / 0.7548 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/5.406, allocations: 3.984 kB / 0.7548 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/5.407, allocations: 12.06 kB / 0.7548 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/5.407, allocations: 7.984 kB / 0.7548 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/5.407, allocations: 0 / 0.7548 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.623e-05/5.407, allocations: 83.28 kB / 0.7549 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002079/5.409, allocations: 16 kB / 0.7549 GB, free: 14.66 MB / 0.6387 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.000379/5.409, allocations: 122.7 kB / 0.7551 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002222/5.41, allocations: 31.92 kB / 0.7551 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/5.41, allocations: 0 / 0.7551 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 9.686e-05/5.41, allocations: 15.98 kB / 0.7551 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/5.41, allocations: 0 / 0.7551 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/5.411, allocations: 81.98 kB / 0.7552 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/5.411, allocations: 0.6959 MB / 0.7559 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of SimCode: time 1.412e-06/5.411, allocations: 4 kB / 0.7559 GB, free: 13.66 MB / 0.6387 GB