Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.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.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi") [: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.318/2.318, allocations: 253.1 MB / 260.4 MB, free: 7.566 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.001704/0.001703, allocations: 177.2 kB / 319.6 MB, free: 3.328 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 2.163/2.163, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001337/0.001337, allocations: 81.5 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.232e-05/1.254e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2444, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.353/6.597, allocations: 2.192 GB / 3.08 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/6.598, allocations: 79.14 kB / 3.08 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2539/6.851, allocations: 76.5 MB / 3.155 GB, free: 101 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.118e-05/6.851, allocations: 4 kB / 3.155 GB, free: 101 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001391/6.853, allocations: 494.2 kB / 3.155 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/6.853, allocations: 11.97 kB / 3.155 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/6.855, allocations: 87.7 kB / 3.155 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/6.855, allocations: 222.8 kB / 3.155 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/6.855, allocations: 8 kB / 3.155 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.649e-05/6.856, allocations: 11.94 kB / 3.155 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006486/6.856, allocations: 132.6 kB / 3.156 GB, free: 99.99 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/6.857, allocations: 209.2 kB / 3.156 GB, free: 99.76 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/6.857, allocations: 3.938 kB / 3.156 GB, free: 99.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/6.857, allocations: 4 kB / 3.156 GB, free: 99.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/6.857, allocations: 7.906 kB / 3.156 GB, free: 99.74 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/6.86, allocations: 0.9705 MB / 3.157 GB, free: 98.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/6.861, allocations: 146.4 kB / 3.157 GB, free: 98.56 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/6.861, allocations: 56.88 kB / 3.157 GB, free: 98.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/6.861, allocations: 0 / 3.157 GB, free: 98.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/6.861, allocations: 34.56 kB / 3.157 GB, free: 98.46 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.985e-06/6.861, allocations: 0 / 3.157 GB, free: 98.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0007068/6.862, allocations: 133.5 kB / 3.157 GB, free: 98.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/6.862, allocations: 55.41 kB / 3.157 GB, free: 98.26 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/6.862, allocations: 151.9 kB / 3.157 GB, free: 98.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/6.862, allocations: 29.7 kB / 3.157 GB, free: 98.07 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/6.862, allocations: 136.1 kB / 3.157 GB, free: 97.93 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/6.862, allocations: 39.45 kB / 3.158 GB, free: 97.89 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/6.862, allocations: 3.938 kB / 3.158 GB, free: 97.89 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.529e-05/6.862, allocations: 322.8 kB / 3.158 GB, free: 97.56 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/6.863, allocations: 51.98 kB / 3.158 GB, free: 97.51 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/6.863, allocations: 106.9 kB / 3.158 GB, free: 97.38 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/6.863, allocations: 59.91 kB / 3.158 GB, free: 97.32 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/6.863, allocations: 3.938 kB / 3.158 GB, free: 97.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008693/6.864, allocations: 193.4 kB / 3.158 GB, free: 97.12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/6.864, allocations: 4 kB / 3.158 GB, free: 97.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/6.864, allocations: 4 kB / 3.158 GB, free: 97.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/6.864, allocations: 3.984 kB / 3.158 GB, free: 97.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009024/6.865, allocations: 59.88 kB / 3.158 GB, free: 97.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/6.865, allocations: 0 / 3.158 GB, free: 97.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008922/6.866, allocations: 39.91 kB / 3.158 GB, free: 97.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/6.866, allocations: 11.98 kB / 3.158 GB, free: 97 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001405/6.866, allocations: 112.8 kB / 3.158 GB, free: 96.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/6.866, allocations: 7.906 kB / 3.158 GB, free: 96.88 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/6.868, allocations: 247.7 kB / 3.159 GB, free: 96.64 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/6.868, allocations: 0 / 3.159 GB, free: 96.64 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/6.868, allocations: 4 kB / 3.159 GB, free: 96.63 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/6.868, allocations: 0 / 3.159 GB, free: 96.63 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007294/6.868, allocations: 245.9 kB / 3.159 GB, free: 96.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/6.869, allocations: 7.906 kB / 3.159 GB, free: 96.35 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008646/6.869, allocations: 59.89 kB / 3.159 GB, free: 96.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/6.869, allocations: 4 kB / 3.159 GB, free: 96.29 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/6.869, allocations: 0 / 3.159 GB, free: 96.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/6.869, allocations: 3.984 kB / 3.159 GB, free: 96.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/6.87, allocations: 3.984 kB / 3.159 GB, free: 96.28 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008723/6.87, allocations: 295.2 kB / 3.159 GB, free: 95.97 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.563e-05/6.871, allocations: 92.92 kB / 3.159 GB, free: 95.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.707e-05/6.871, allocations: 7.891 kB / 3.159 GB, free: 95.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/6.871, allocations: 15.98 kB / 3.159 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/6.872, allocations: 11.98 kB / 3.159 GB, free: 95.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/6.872, allocations: 7.984 kB / 3.159 GB, free: 95.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001799/6.872, allocations: 136.8 kB / 3.16 GB, free: 95.69 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001134/6.873, allocations: 87.83 kB / 3.16 GB, free: 95.6 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 (23): * Single equations (assignments): 23 * 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.001552/6.875, allocations: 0.7821 MB / 3.16 GB, free: 94.82 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007592/6.875, allocations: 147.9 kB / 3.161 GB, free: 94.67 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/6.875, allocations: 0 / 3.161 GB, free: 94.67 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003195/6.876, allocations: 99.84 kB / 3.161 GB, free: 94.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/6.876, allocations: 32.17 kB / 3.161 GB, free: 94.54 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/6.878, allocations: 257.5 kB / 3.161 GB, free: 94.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/6.878, allocations: 0.7669 MB / 3.162 GB, free: 93.47 MB / 0.8698 GB Notification: Performance of SimCode: time 1.713e-06/6.878, allocations: 4 kB / 3.162 GB, free: 93.47 MB / 0.8698 GB Notification: Performance of Templates: time 0.02629/6.905, allocations: 7.318 MB / 3.169 GB, free: 86.17 MB / 0.8698 GB