Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [: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.312/2.312, allocations: 253.1 MB / 260.4 MB, free: 7.5 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.001573/0.001573, allocations: 193 kB / 319.6 MB, free: 3.312 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.955/1.955, allocations: 205.4 MB / 0.5704 GB, free: 15.11 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.001387/0.001387, allocations: 85.52 kB / 0.6746 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.185e-05/1.185e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2069, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7631/0.9701, allocations: 131.8 MB / 1.017 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/0.9705, allocations: 75.58 kB / 1.017 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01674/0.9873, allocations: 3.252 MB / 1.02 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.9873, allocations: 3.938 kB / 1.02 GB, free: 3.957 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004938/0.9878, allocations: 357.9 kB / 1.02 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.9879, allocations: 8.031 kB / 1.02 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.006e-05/0.988, allocations: 75.28 kB / 1.02 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.9882, allocations: 245.8 kB / 1.021 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.9883, allocations: 154.5 kB / 1.021 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/0.9884, allocations: 154.6 kB / 1.021 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.897e-05/0.9885, allocations: 150.6 kB / 1.021 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.346e-05/0.9886, allocations: 101 kB / 1.021 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.9887, allocations: 75.28 kB / 1.021 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/0.9887, allocations: 150.6 kB / 1.021 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/0.9888, allocations: 154.6 kB / 1.022 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.9892, allocations: 433.9 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.9893, allocations: 169.1 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.9894, allocations: 85.03 kB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.9894, allocations: 79.19 kB / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.537e-05/0.9895, allocations: 117.8 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.565e-06/0.9895, allocations: 0 / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001212/0.9897, allocations: 29.7 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.9897, allocations: 55.34 kB / 1.023 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.9899, allocations: 92.56 kB / 1.023 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.9899, allocations: 25.7 kB / 1.023 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.99, allocations: 84.14 kB / 1.023 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.99, allocations: 4 kB / 1.023 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.99, allocations: 0 / 1.023 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.9902, allocations: 318.3 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.9902, allocations: 4 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.468e-05/0.9903, allocations: 4 kB / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.788e-05/0.9903, allocations: 11.89 kB / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.9903, allocations: 0 / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001562/0.9905, allocations: 41.64 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.9905, allocations: 4 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9905, allocations: 4.125 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.9906, allocations: 4 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.9906, allocations: 0 / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.9906, allocations: 0 / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.9907, allocations: 7.969 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.9908, allocations: 7.5 kB / 1.023 GB, free: 0.6328 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001265/0.9909, allocations: 184.1 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.9911, allocations: 104.9 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.295e-05/0.9911, allocations: 112.5 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.349e-05/0.9912, allocations: 188.2 kB / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001557/0.9914, allocations: 176.3 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-05/0.9915, allocations: 176.3 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.9918, allocations: 393.2 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.339e-05/0.9919, allocations: 105 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.9919, allocations: 101 kB / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.436e-05/0.992, allocations: 184.2 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.051e-05/0.9921, allocations: 176.3 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.531e-05/0.9922, allocations: 179.5 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.674e-05/0.9923, allocations: 184.2 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002008/0.9926, allocations: 307.6 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.9927, allocations: 186 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.9928, allocations: 180.2 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.9929, allocations: 101 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/0.9931, allocations: 188.1 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/0.9931, allocations: 105.3 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001022/0.9932, allocations: 91.02 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003498/0.9936, allocations: 4 kB / 1.026 GB, free: 13.09 MB / 0.6511 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 (0): * Single equations (assignments): 0 * 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.0004068/0.994, allocations: 178.5 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.9943, allocations: 12.02 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.9943, allocations: 0 / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-06/0.9943, allocations: 0 / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.9947, allocations: 0.5258 MB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.9952, allocations: 135.1 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.9956, allocations: 0.688 MB / 1.028 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of SimCode: time 1.673e-06/0.9956, allocations: 0 / 1.028 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of Templates: time 0.003509/0.9991, allocations: 399.2 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB