Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [: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.152/2.152, allocations: 253.1 MB / 260.4 MB, free: 7.48 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.002291/0.00229, allocations: 185 kB / 319.6 MB, free: 3.355 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.077/2.077, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001314/0.001313, allocations: 90.02 kB / 0.6746 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.987e-06/9.107e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2041, allocations: 106.2 MB / 0.888 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6337/0.8378, allocations: 134.3 MB / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.8382, allocations: 83.12 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03601/0.8742, allocations: 7.186 MB / 1.026 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.8743, allocations: 0 / 1.026 GB, free: 14.43 MB / 0.6511 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.0005831/0.8749, allocations: 408.2 kB / 1.027 GB, free: 14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.875, allocations: 8.031 kB / 1.027 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.875, allocations: 83.28 kB / 1.027 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.8753, allocations: 234.4 kB / 1.027 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.427e-05/0.8754, allocations: 154.5 kB / 1.027 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.8754, allocations: 154.6 kB / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.307e-05/0.8755, allocations: 157.9 kB / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.695e-05/0.8756, allocations: 108.9 kB / 1.028 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.8757, allocations: 75.28 kB / 1.028 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-05/0.8757, allocations: 150.6 kB / 1.028 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.8759, allocations: 154.5 kB / 1.028 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.8762, allocations: 430.2 kB / 1.028 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.8764, allocations: 177.1 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.8764, allocations: 80.14 kB / 1.029 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.8765, allocations: 75.28 kB / 1.029 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.8765, allocations: 109.2 kB / 1.029 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 2.354e-06/0.8765, allocations: 0 / 1.029 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 0.0001067/0.8767, allocations: 33.61 kB / 1.029 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.8767, allocations: 55.41 kB / 1.029 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.8768, allocations: 100.7 kB / 1.029 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.8769, allocations: 29.64 kB / 1.029 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.8769, allocations: 84.14 kB / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.877, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.877, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8771, allocations: 310.8 kB / 1.029 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.8771, allocations: 0 / 1.029 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.058e-05/0.8772, allocations: 33.5 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.8774, allocations: 14.73 kB / 1.029 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8774, allocations: 0 / 1.029 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002903/0.8777, allocations: 68.88 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.8778, allocations: 7.938 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.8778, allocations: 4 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.8778, allocations: 4.094 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.8779, allocations: 4 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.8779, allocations: 0 / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.8781, allocations: 4 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.8781, allocations: 8.234 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 0.0001167/0.8783, allocations: 180.2 kB / 1.03 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.8784, allocations: 108.9 kB / 1.03 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.8784, allocations: 108.1 kB / 1.03 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.571e-05/0.8785, allocations: 180.3 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.721e-05/0.8786, allocations: 186.9 kB / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.307e-05/0.8787, allocations: 176.3 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.879, allocations: 385.5 kB / 1.031 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.878e-05/0.879, allocations: 108.9 kB / 1.031 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.8791, allocations: 109 kB / 1.031 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.657e-05/0.8792, allocations: 176.3 kB / 1.031 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-05/0.8793, allocations: 180.2 kB / 1.031 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.497e-05/0.8793, allocations: 180.3 kB / 1.031 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001181/0.8795, allocations: 180.2 kB / 1.032 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001671/0.8796, allocations: 315 kB / 1.032 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.8798, allocations: 182.1 kB / 1.032 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.8799, allocations: 184.2 kB / 1.032 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.88, allocations: 101 kB / 1.032 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.8801, allocations: 180.5 kB / 1.033 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.8801, allocations: 116.9 kB / 1.033 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.94e-05/0.8802, allocations: 79.28 kB / 1.033 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007077/0.8809, allocations: 122.4 kB / 1.033 GB, free: 7.348 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.001188/0.8821, allocations: 490.5 kB / 1.033 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.8823, allocations: 4 kB / 1.033 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8823, allocations: 0 / 1.033 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.8823, allocations: 0 / 1.033 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.8827, allocations: 0.5265 MB / 1.034 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.8829, allocations: 134.2 kB / 1.034 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.8832, allocations: 0.6841 MB / 1.035 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of SimCode: time 6.71e-07/0.8832, allocations: 4 kB / 1.035 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of Templates: time 0.008006/0.8913, allocations: 2.335 MB / 1.037 GB, free: 3.188 MB / 0.6511 GB