Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [: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.046/2.046, allocations: 253.1 MB / 260.4 MB, free: 7.52 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.002412/0.002412, allocations: 181.2 kB / 319.6 MB, free: 3.309 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.952/1.952, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001308/0.001308, allocations: 98.81 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.987e-06/9.197e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2327, allocations: 106.2 MB / 0.888 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.457/5.69, allocations: 2.173 GB / 3.061 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/5.69, allocations: 87.31 kB / 3.061 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.09336/5.784, allocations: 26.06 MB / 3.087 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.765e-06/5.784, allocations: 4 kB / 3.087 GB, free: 168.2 MB / 0.8698 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.0002883/5.784, allocations: 350 kB / 3.087 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/5.784, allocations: 8.031 kB / 3.087 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007277/5.785, allocations: 35.94 kB / 3.087 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/5.785, allocations: 163 kB / 3.087 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/5.785, allocations: 4 kB / 3.087 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/5.785, allocations: 3.938 kB / 3.087 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.589e-05/5.785, allocations: 11.98 kB / 3.087 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.06e-05/5.785, allocations: 44.86 kB / 3.088 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/5.785, allocations: 0 / 3.088 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/5.785, allocations: 0 / 3.088 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/5.785, allocations: 0 / 3.088 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/5.786, allocations: 225.2 kB / 3.088 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.284e-05/5.786, allocations: 26.52 kB / 3.088 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/5.786, allocations: 12.91 kB / 3.088 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/5.786, allocations: 3.938 kB / 3.088 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/5.786, allocations: 34.56 kB / 3.088 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/5.786, allocations: 3.938 kB / 3.088 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001467/5.786, allocations: 33.69 kB / 3.088 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/5.786, allocations: 55.41 kB / 3.088 GB, free: 167 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/5.786, allocations: 103.9 kB / 3.088 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/5.786, allocations: 25.7 kB / 3.088 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/5.786, allocations: 84.14 kB / 3.088 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.627e-06/5.786, allocations: 11.83 kB / 3.088 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/5.786, allocations: 0 / 3.088 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.489e-05/5.786, allocations: 314.8 kB / 3.088 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.971e-05/5.786, allocations: 4 kB / 3.088 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/5.786, allocations: 7.938 kB / 3.088 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/5.786, allocations: 7.984 kB / 3.088 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/5.786, allocations: 4 kB / 3.088 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001467/5.787, allocations: 53.22 kB / 3.088 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/5.787, allocations: 7.984 kB / 3.088 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/5.787, allocations: 0 / 3.088 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/5.787, allocations: 4 kB / 3.088 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/5.787, allocations: 7.984 kB / 3.088 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/5.787, allocations: 0 / 3.088 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/5.787, allocations: 8 kB / 3.088 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/5.787, allocations: 7.984 kB / 3.089 GB, free: 166.4 MB / 0.8698 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.667e-05/5.787, allocations: 101 kB / 3.089 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/5.787, allocations: 7.906 kB / 3.089 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/5.787, allocations: 14.64 kB / 3.089 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/5.787, allocations: 0 / 3.089 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/5.787, allocations: 0 / 3.089 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/5.787, allocations: 0 / 3.089 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/5.788, allocations: 130.2 kB / 3.089 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/5.788, allocations: 3.906 kB / 3.089 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/5.788, allocations: 4 kB / 3.089 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/5.788, allocations: 4 kB / 3.089 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/5.788, allocations: 0 / 3.089 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/5.788, allocations: 3.938 kB / 3.089 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/5.788, allocations: 0 / 3.089 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.832e-05/5.788, allocations: 134.6 kB / 3.089 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/5.788, allocations: 88.97 kB / 3.089 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/5.788, allocations: 3.938 kB / 3.089 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/5.788, allocations: 4.031 kB / 3.089 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/5.788, allocations: 4 kB / 3.089 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/5.788, allocations: 0 / 3.089 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.716e-05/5.788, allocations: 88.27 kB / 3.089 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004355/5.789, allocations: 45.3 kB / 3.089 GB, free: 165.7 MB / 0.8698 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.00088/5.789, allocations: 0.6727 MB / 3.09 GB, free: 165 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001133/5.79, allocations: 11.94 kB / 3.09 GB, free: 165 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/5.79, allocations: 0 / 3.09 GB, free: 165 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.692e-05/5.79, allocations: 7.562 kB / 3.09 GB, free: 165 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/5.79, allocations: 11.89 kB / 3.09 GB, free: 165 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/5.79, allocations: 59.92 kB / 3.09 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/5.79, allocations: 0.6918 MB / 3.091 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of SimCode: time 8.01e-07/5.79, allocations: 4.062 kB / 3.091 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.01106/5.801, allocations: 4.084 MB / 3.095 GB, free: 160.1 MB / 0.8698 GB