Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.109/2.109, allocations: 253.1 MB / 260.4 MB, free: 0.5547 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002216/0.002216, allocations: 185.3 kB / 319.6 MB, free: 7.672 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.4 MB / 0.5704 GB, free: 25.6 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 85.39 kB / 0.6746 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 9.888e-06/9.989e-06, allocations: 0 / 0.7843 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4935, allocations: 106.2 MB / 0.8881 GB, free: 77.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2952/0.7888, allocations: 131.9 MB / 1.017 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.7892, allocations: 83.94 kB / 1.017 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.01453/0.8037, allocations: 2.531 MB / 1.019 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.8038, allocations: 0 / 1.019 GB, free: 6.371 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004417/0.8042, allocations: 354.3 kB / 1.02 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.8043, allocations: 12.03 kB / 1.02 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006104/0.8049, allocations: 27.95 kB / 1.02 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.8051, allocations: 163.1 kB / 1.02 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.8051, allocations: 0 / 1.02 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.8051, allocations: 3.906 kB / 1.02 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001122/0.8053, allocations: 20 kB / 1.02 GB, free: 5.719 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.8054, allocations: 53.59 kB / 1.02 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.8054, allocations: 0 / 1.02 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.8055, allocations: 0 / 1.02 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.8055, allocations: 7.984 kB / 1.02 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.8057, allocations: 142 kB / 1.02 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.806, allocations: 45.64 kB / 1.02 GB, free: 5.426 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.806, allocations: 20.86 kB / 1.02 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.8061, allocations: 4 kB / 1.02 GB, free: 5.398 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.8061, allocations: 30.56 kB / 1.02 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.8061, allocations: 0 / 1.02 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of matching and sorting (n=6): time 0.002996/0.8091, allocations: 426.2 kB / 1.021 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.8092, allocations: 51.41 kB / 1.021 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.824e-05/0.8093, allocations: 96.98 kB / 1.021 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.8093, allocations: 25.7 kB / 1.021 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.8093, allocations: 84.08 kB / 1.021 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.8094, allocations: 19.66 kB / 1.021 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.8094, allocations: 4 kB / 1.021 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8096, allocations: 315 kB / 1.021 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.8097, allocations: 27.94 kB / 1.021 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.8098, allocations: 31.98 kB / 1.021 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.8099, allocations: 27.92 kB / 1.021 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.8099, allocations: 0 / 1.021 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003378/0.8103, allocations: 109.5 kB / 1.021 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.8103, allocations: 4 kB / 1.021 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8103, allocations: 4 kB / 1.021 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.8104, allocations: 0 / 1.021 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.8108, allocations: 23.95 kB / 1.021 GB, free: 4.039 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.8108, allocations: 8 kB / 1.022 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.8111, allocations: 4 kB / 1.022 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.8111, allocations: 3.984 kB / 1.022 GB, free: 4.023 MB / 0.6667 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 (7): * Single equations (assignments): 7 * 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.0001037/0.8113, allocations: 101 kB / 1.022 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.8113, allocations: 7.906 kB / 1.022 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.8115, allocations: 20 kB / 1.022 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.8115, allocations: 0 / 1.022 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8115, allocations: 4 kB / 1.022 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.8115, allocations: 0 / 1.022 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.8118, allocations: 168.8 kB / 1.022 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8118, allocations: 0 / 1.022 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/0.8122, allocations: 23.95 kB / 1.022 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.8122, allocations: 0 / 1.022 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.8123, allocations: 4 kB / 1.022 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.8123, allocations: 0 / 1.022 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8123, allocations: 0 / 1.022 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005203/0.8128, allocations: 165.2 kB / 1.022 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.8129, allocations: 85.09 kB / 1.022 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.813, allocations: 0 / 1.022 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.8133, allocations: 8 kB / 1.022 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.8134, allocations: 7.891 kB / 1.022 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.8134, allocations: 16.11 kB / 1.022 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.856e-05/0.8135, allocations: 83.28 kB / 1.022 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003726/0.8138, allocations: 31.94 kB / 1.022 GB, free: 3.227 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0003348/0.8142, allocations: 139.2 kB / 1.022 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.8145, allocations: 75.94 kB / 1.022 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8145, allocations: 0 / 1.022 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.8146, allocations: 39.92 kB / 1.022 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.8149, allocations: 8.094 kB / 1.022 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009697/0.8158, allocations: 120.2 kB / 1.023 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/0.8163, allocations: 0.7036 MB / 1.023 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/0.8163, allocations: 4 kB / 1.023 GB, free: 2.086 MB / 0.6667 GB Notification: Performance of Templates: time 0.007119/0.8235, allocations: 2.108 MB / 1.025 GB, free: 20 kB / 0.6667 GB