Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") [: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.38/2.38, allocations: 253.1 MB / 260.4 MB, free: 7.605 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.001586/0.001585, allocations: 177 kB / 319.6 MB, free: 3.324 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.944/1.944, 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.001427/0.001426, allocations: 96.23 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.095e-05/1.112e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2431, allocations: 106.3 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.992/6.235, allocations: 2.19 GB / 3.078 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/6.236, allocations: 86.94 kB / 3.078 GB, free: 172 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1202/6.356, allocations: 28.55 MB / 3.106 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.399e-05/6.356, allocations: 20 kB / 3.106 GB, free: 148.4 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002237/6.358, allocations: 0.9408 MB / 3.107 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/6.358, allocations: 8.031 kB / 3.107 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006441/6.359, allocations: 98.81 kB / 3.107 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/6.361, allocations: 0.5704 MB / 3.107 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/6.361, allocations: 23.98 kB / 3.107 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/6.361, allocations: 43.88 kB / 3.107 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002143/6.363, allocations: 0.8608 MB / 3.108 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/6.365, allocations: 0.599 MB / 3.109 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/6.365, allocations: 0 / 3.109 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.743e-05/6.365, allocations: 4 kB / 3.109 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/6.365, allocations: 15.98 kB / 3.109 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005156/6.37, allocations: 2.228 MB / 3.111 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/6.371, allocations: 0.5615 MB / 3.111 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/6.372, allocations: 203.5 kB / 3.112 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.727e-05/6.372, allocations: 32.47 kB / 3.112 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000639/6.373, allocations: 316.2 kB / 3.112 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.296e-06/6.373, allocations: 0 / 3.112 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.001409/6.374, allocations: 497.1 kB / 3.112 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/6.374, allocations: 295.2 kB / 3.113 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009651/6.375, allocations: 0.4929 MB / 3.113 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/6.375, allocations: 33.27 kB / 3.113 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/6.375, allocations: 250 kB / 3.114 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/6.376, allocations: 195.1 kB / 3.114 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/6.376, allocations: 0 / 3.114 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001159/6.376, allocations: 372.6 kB / 3.114 GB, free: 141 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/6.376, allocations: 154.4 kB / 3.114 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/6.377, allocations: 269.4 kB / 3.114 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/6.377, allocations: 204.3 kB / 3.115 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/6.377, allocations: 0 / 3.115 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001336/6.379, allocations: 0.5093 MB / 3.115 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/6.379, allocations: 8 kB / 3.115 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/6.379, allocations: 0 / 3.115 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.12e-05/6.379, allocations: 4 kB / 3.115 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009026/6.38, allocations: 115.2 kB / 3.115 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/6.38, allocations: 7.938 kB / 3.115 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007826/6.381, allocations: 67.56 kB / 3.115 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-05/6.381, allocations: 23.86 kB / 3.115 GB, free: 139.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0001829/6.381, allocations: 112.9 kB / 3.115 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/6.381, allocations: 71.16 kB / 3.116 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/6.383, allocations: 0.7286 MB / 3.116 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/6.383, allocations: 7.938 kB / 3.116 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/6.383, allocations: 7.984 kB / 3.116 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/6.383, allocations: 7.844 kB / 3.116 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/6.385, allocations: 0.8249 MB / 3.117 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/6.385, allocations: 4 kB / 3.117 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008591/6.386, allocations: 119.2 kB / 3.117 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/6.386, allocations: 4 kB / 3.117 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/6.386, allocations: 15.17 kB / 3.117 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/6.386, allocations: 4 kB / 3.117 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/6.386, allocations: 0 / 3.117 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001432/6.387, allocations: 0.5921 MB / 3.118 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/6.388, allocations: 260.5 kB / 3.118 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/6.388, allocations: 8.562 kB / 3.118 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008181/6.389, allocations: 51.86 kB / 3.118 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/6.389, allocations: 41.77 kB / 3.118 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-05/6.389, allocations: 24.62 kB / 3.118 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008048/6.39, allocations: 405.9 kB / 3.119 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001051/6.391, allocations: 229 kB / 3.119 GB, free: 137 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001247/6.392, allocations: 465.7 kB / 3.119 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001299/6.393, allocations: 442.2 kB / 3.12 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/6.393, allocations: 4 kB / 3.12 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/6.394, allocations: 264.5 kB / 3.12 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/6.396, allocations: 206.3 kB / 3.12 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/6.399, allocations: 0.9904 MB / 3.121 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009824/6.4, allocations: 1.057 MB / 3.122 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.363e-06/6.4, allocations: 4 kB / 3.122 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.03026/6.43, allocations: 10.8 MB / 3.133 GB, free: 123.1 MB / 0.8698 GB