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_NonzeroStart.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_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [: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.208/2.208, allocations: 253.1 MB / 260.4 MB, free: 11.8 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001565, allocations: 186.3 kB / 319.6 MB, free: 2.316 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.4 MB / 0.5704 GB, free: 4.051 MB / 483.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002239/0.002239, allocations: 95.77 kB / 0.6746 GB, free: 100.7 MB / 0.5499 GB Notification: Performance of FrontEnd - loaded program: time 9.999e-06/1.016e-05, allocations: 4 kB / 0.7843 GB, free: 11.57 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2482, allocations: 106.3 MB / 0.8881 GB, free: 1.184 MB / 0.6437 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7269/0.9752, allocations: 131 MB / 1.016 GB, free: 26.68 MB / 0.6593 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/0.9757, allocations: 75.95 kB / 1.016 GB, free: 26.61 MB / 0.6593 GB Notification: Performance of FrontEnd: time 0.01959/0.9953, allocations: 4.471 MB / 1.02 GB, free: 22.23 MB / 0.6593 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.9953, allocations: 4 kB / 1.02 GB, free: 22.23 MB / 0.6593 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.0003713/0.9957, allocations: 352.1 kB / 1.021 GB, free: 21.84 MB / 0.6593 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.9958, allocations: 8.031 kB / 1.021 GB, free: 21.84 MB / 0.6593 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.735e-05/0.9959, allocations: 85.28 kB / 1.021 GB, free: 21.76 MB / 0.6593 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.996, allocations: 236.5 kB / 1.021 GB, free: 21.49 MB / 0.6593 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.9961, allocations: 154.5 kB / 1.021 GB, free: 21.34 MB / 0.6593 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.9961, allocations: 159.8 kB / 1.021 GB, free: 21.18 MB / 0.6593 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.013e-05/0.9962, allocations: 153.1 kB / 1.021 GB, free: 21.03 MB / 0.6593 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.309e-05/0.9962, allocations: 101 kB / 1.022 GB, free: 20.93 MB / 0.6593 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.9962, allocations: 75.28 kB / 1.022 GB, free: 20.85 MB / 0.6593 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.9963, allocations: 154.5 kB / 1.022 GB, free: 20.7 MB / 0.6593 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.9963, allocations: 151.8 kB / 1.022 GB, free: 20.55 MB / 0.6593 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.9966, allocations: 427.2 kB / 1.022 GB, free: 20.1 MB / 0.6593 GB Notification: Performance of preOpt comSubExp (simulation): time 6.085e-05/0.9966, allocations: 179 kB / 1.023 GB, free: 19.91 MB / 0.6593 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.9967, allocations: 81.34 kB / 1.023 GB, free: 19.83 MB / 0.6593 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.9967, allocations: 84.25 kB / 1.023 GB, free: 19.75 MB / 0.6593 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.9968, allocations: 107.3 kB / 1.023 GB, free: 19.64 MB / 0.6593 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.9968, allocations: 1.125 kB / 1.023 GB, free: 19.64 MB / 0.6593 GB Notification: Performance of matching and sorting (n=0): time 8.536e-05/0.9969, allocations: 25.7 kB / 1.023 GB, free: 19.61 MB / 0.6593 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.9969, allocations: 53.53 kB / 1.023 GB, free: 19.54 MB / 0.6593 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.997, allocations: 101 kB / 1.023 GB, free: 19.44 MB / 0.6593 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.997, allocations: 25.7 kB / 1.023 GB, free: 19.41 MB / 0.6593 GB Notification: Performance of collectInitialEqns (initialization): time 3.483e-05/0.9971, allocations: 80.14 kB / 1.023 GB, free: 19.32 MB / 0.6593 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.9971, allocations: 8.562 kB / 1.023 GB, free: 19.32 MB / 0.6593 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.9971, allocations: 0 / 1.023 GB, free: 19.32 MB / 0.6593 GB Notification: Performance of setup shared object (initialization): time 6.515e-05/0.9972, allocations: 321 kB / 1.023 GB, free: 19 MB / 0.6593 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.9972, allocations: 4 kB / 1.023 GB, free: 18.99 MB / 0.6593 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.9973, allocations: 7.984 kB / 1.023 GB, free: 18.98 MB / 0.6593 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.9973, allocations: 10.62 kB / 1.023 GB, free: 18.98 MB / 0.6593 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9973, allocations: 1.594 kB / 1.023 GB, free: 18.98 MB / 0.6593 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001333/0.9975, allocations: 38.36 kB / 1.023 GB, free: 18.93 MB / 0.6593 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.9975, allocations: 4 kB / 1.023 GB, free: 18.93 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.9975, allocations: 0 / 1.023 GB, free: 18.93 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.9975, allocations: 0 / 1.023 GB, free: 18.93 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.766e-06/0.9975, allocations: 3.984 kB / 1.023 GB, free: 18.93 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.9975, allocations: 5 kB / 1.023 GB, free: 18.92 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.9977, allocations: 1.188 kB / 1.023 GB, free: 18.92 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.9977, allocations: 2.469 kB / 1.023 GB, free: 18.92 MB / 0.6593 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 7.653e-05/0.9978, allocations: 184.2 kB / 1.024 GB, free: 18.73 MB / 0.6593 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.9979, allocations: 108.9 kB / 1.024 GB, free: 18.62 MB / 0.6593 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.9979, allocations: 108.4 kB / 1.024 GB, free: 18.51 MB / 0.6593 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-05/0.998, allocations: 185.2 kB / 1.024 GB, free: 18.32 MB / 0.6593 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.133e-05/0.998, allocations: 184.2 kB / 1.024 GB, free: 18.14 MB / 0.6593 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.809e-05/0.9981, allocations: 177 kB / 1.024 GB, free: 17.96 MB / 0.6593 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.9982, allocations: 390.6 kB / 1.025 GB, free: 17.53 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/0.9983, allocations: 107.5 kB / 1.025 GB, free: 17.42 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.9983, allocations: 106 kB / 1.025 GB, free: 17.32 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.538e-05/0.9983, allocations: 176.3 kB / 1.025 GB, free: 17.14 MB / 0.6593 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/0.9984, allocations: 188.3 kB / 1.025 GB, free: 16.95 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.398e-05/0.9984, allocations: 180.3 kB / 1.025 GB, free: 16.76 MB / 0.6593 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.568e-05/0.9985, allocations: 177.3 kB / 1.026 GB, free: 16.58 MB / 0.6593 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.341e-05/0.9986, allocations: 310.2 kB / 1.026 GB, free: 16.26 MB / 0.6593 GB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.9987, allocations: 182.1 kB / 1.026 GB, free: 16.05 MB / 0.6593 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.9987, allocations: 188.2 kB / 1.026 GB, free: 15.86 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.9988, allocations: 101 kB / 1.026 GB, free: 15.76 MB / 0.6593 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.9989, allocations: 180.5 kB / 1.027 GB, free: 15.57 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.9989, allocations: 104.9 kB / 1.027 GB, free: 15.46 MB / 0.6593 GB Notification: Performance of sort global known variables: time 4.167e-05/0.9989, allocations: 91.27 kB / 1.027 GB, free: 15.38 MB / 0.6593 GB Notification: Performance of remove unused functions: time 0.0003498/0.9993, allocations: 4 kB / 1.027 GB, free: 15.37 MB / 0.6593 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.0002521/0.9996, allocations: 184.8 kB / 1.027 GB, free: 15.18 MB / 0.6593 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.9997, allocations: 12.02 kB / 1.027 GB, free: 15.17 MB / 0.6593 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9998, allocations: 0 / 1.027 GB, free: 15.17 MB / 0.6593 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.9998, allocations: 0 / 1.027 GB, free: 15.17 MB / 0.6593 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/1, allocations: 0.5264 MB / 1.027 GB, free: 14.64 MB / 0.6593 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/1, allocations: 131.2 kB / 1.028 GB, free: 14.49 MB / 0.6593 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/1, allocations: 0.688 MB / 1.028 GB, free: 13.77 MB / 0.6593 GB Notification: Performance of SimCode: time 6.51e-07/1, allocations: 0 / 1.028 GB, free: 13.77 MB / 0.6593 GB Notification: Performance of Templates: time 0.007971/1.008, allocations: 393.8 kB / 1.029 GB, free: 13.43 MB / 0.6593 GB