Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [: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.317/2.317, allocations: 253.1 MB / 260.4 MB, free: 7.605 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.001636/0.001635, allocations: 193.2 kB / 319.6 MB, free: 3.281 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.873/1.873, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.001241/0.001241, allocations: 91.36 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.037e-05/1.043e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2304, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6758/0.9062, allocations: 132.2 MB / 1.017 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.9065, allocations: 71.91 kB / 1.017 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004092/0.9106, allocations: 0.6673 MB / 1.018 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.9107, allocations: 0 / 1.018 GB, free: 5.535 MB / 0.6355 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.0004405/0.9111, allocations: 349.6 kB / 1.018 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.9112, allocations: 8.031 kB / 1.018 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.9113, allocations: 4 kB / 1.018 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.9115, allocations: 167 kB / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.9115, allocations: 3.906 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.9115, allocations: 3.984 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.431e-05/0.9116, allocations: 11.92 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.913e-05/0.9117, allocations: 33.7 kB / 1.018 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.9117, allocations: 7.938 kB / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.9117, allocations: 0 / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.9118, allocations: 0 / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.9122, allocations: 228.2 kB / 1.019 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.977e-05/0.9122, allocations: 26.39 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/0.9123, allocations: 12.61 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.9123, allocations: 4 kB / 1.019 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.9124, allocations: 37.94 kB / 1.019 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.725e-06/0.9124, allocations: 0 / 1.019 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001708/0.9125, allocations: 39.45 kB / 1.019 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.9126, allocations: 51.41 kB / 1.019 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.9127, allocations: 96.17 kB / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.9127, allocations: 25.7 kB / 1.019 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.9128, allocations: 92.02 kB / 1.019 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.9128, allocations: 0 / 1.019 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.9128, allocations: 4 kB / 1.019 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9129, allocations: 318.1 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.9129, allocations: 0 / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.913, allocations: 11.62 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.79e-05/0.913, allocations: 7.984 kB / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.913, allocations: 0 / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.788e-05/0.9131, allocations: 36.95 kB / 1.019 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.9132, allocations: 12.09 kB / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.9132, allocations: 0 / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.9132, allocations: 0 / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.9134, allocations: 11.98 kB / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.9134, allocations: 0 / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.9135, allocations: 19.89 kB / 1.019 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.9135, allocations: 0 / 1.019 GB, free: 3.789 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 7.578e-05/0.9136, allocations: 101 kB / 1.019 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.9136, allocations: 4 kB / 1.019 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.9138, allocations: 60.23 kB / 1.02 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.9138, allocations: 0 / 1.02 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.9138, allocations: 7.938 kB / 1.02 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.9139, allocations: 4 kB / 1.02 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.914, allocations: 140.6 kB / 1.02 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9141, allocations: 0 / 1.02 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.9142, allocations: 11.98 kB / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9142, allocations: 4 kB / 1.02 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.9142, allocations: 0 / 1.02 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9142, allocations: 0 / 1.02 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.9143, allocations: 3.906 kB / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001412/0.9144, allocations: 146.2 kB / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.9145, allocations: 81.3 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.9145, allocations: 0 / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.9147, allocations: 15.92 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.9147, allocations: 7.984 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.9147, allocations: 4 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.92e-05/0.9148, allocations: 78.22 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002943/0.9151, allocations: 8 kB / 1.02 GB, free: 3.062 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 (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 Backend phase and start with SimCode phase: time 0.0001155/0.9152, allocations: 95.25 kB / 1.02 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.9153, allocations: 15.73 kB / 1.02 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.9153, allocations: 0 / 1.02 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.9154, allocations: 11.5 kB / 1.02 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.9156, allocations: 7.188 kB / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.9159, allocations: 75.3 kB / 1.02 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.9162, allocations: 0.6919 MB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of SimCode: time 6.62e-07/0.9162, allocations: 0 / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of Templates: time 0.002891/0.9191, allocations: 453.2 kB / 1.021 GB, free: 1.699 MB / 0.6355 GB