Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [: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.026/2.026, allocations: 253.1 MB / 260.4 MB, free: 7.504 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.001683/0.001683, allocations: 173.2 kB / 319.6 MB, free: 3.344 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.833/1.833, allocations: 205.4 MB / 0.5704 GB, free: 15.14 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.001346/0.001345, allocations: 101.9 kB / 0.6746 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.058e-05/1.07e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2233, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.533/5.756, allocations: 2.19 GB / 3.078 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/5.757, allocations: 91.58 kB / 3.078 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2394/5.996, allocations: 58.33 MB / 3.135 GB, free: 67.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001137/5.996, allocations: 20 kB / 3.135 GB, free: 67.28 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00298/5.999, allocations: 1.07 MB / 3.136 GB, free: 66.16 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/5.999, allocations: 16.03 kB / 3.136 GB, free: 66.14 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/6.001, allocations: 190.6 kB / 3.136 GB, free: 65.96 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/6.003, allocations: 0.6114 MB / 3.137 GB, free: 65.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/6.003, allocations: 24 kB / 3.137 GB, free: 65.28 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/6.003, allocations: 44 kB / 3.137 GB, free: 65.24 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002358/6.005, allocations: 0.9795 MB / 3.138 GB, free: 64.26 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/6.007, allocations: 0.7154 MB / 3.139 GB, free: 63.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/6.007, allocations: 0 / 3.139 GB, free: 63.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/6.007, allocations: 0 / 3.139 GB, free: 63.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/6.007, allocations: 20 kB / 3.139 GB, free: 63.48 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005764/6.013, allocations: 2.25 MB / 3.141 GB, free: 61.18 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/6.015, allocations: 0.7246 MB / 3.142 GB, free: 60.42 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/6.016, allocations: 243.5 kB / 3.142 GB, free: 60.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/6.016, allocations: 28.61 kB / 3.142 GB, free: 60.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007942/6.017, allocations: 378.1 kB / 3.142 GB, free: 59.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 4.909e-06/6.017, allocations: 0 / 3.142 GB, free: 59.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002695/6.019, allocations: 0.6481 MB / 3.143 GB, free: 59.11 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/6.019, allocations: 240 kB / 3.143 GB, free: 58.82 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/6.02, allocations: 0.4982 MB / 3.143 GB, free: 58.31 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/6.021, allocations: 29.7 kB / 3.144 GB, free: 58.28 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/6.021, allocations: 292.2 kB / 3.144 GB, free: 57.98 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/6.021, allocations: 228.6 kB / 3.144 GB, free: 57.76 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/6.021, allocations: 0 / 3.144 GB, free: 57.76 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001181/6.021, allocations: 374.7 kB / 3.144 GB, free: 57.38 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/6.022, allocations: 189.3 kB / 3.145 GB, free: 57.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/6.022, allocations: 290.4 kB / 3.145 GB, free: 56.88 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006785/6.023, allocations: 235 kB / 3.145 GB, free: 56.66 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/6.023, allocations: 0 / 3.145 GB, free: 56.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002591/6.026, allocations: 0.6482 MB / 3.146 GB, free: 56 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/6.026, allocations: 4 kB / 3.146 GB, free: 56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/6.026, allocations: 4 kB / 3.146 GB, free: 55.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/6.027, allocations: 80.84 kB / 3.146 GB, free: 55.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/6.028, allocations: 143.8 kB / 3.146 GB, free: 55.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/6.031, allocations: 1.457 MB / 3.147 GB, free: 54.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/6.032, allocations: 63.61 kB / 3.147 GB, free: 54.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.632e-05/6.032, allocations: 27.97 kB / 3.147 GB, free: 54.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002406/6.033, allocations: 120.8 kB / 3.148 GB, free: 53.97 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/6.033, allocations: 67.16 kB / 3.148 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003863/6.037, allocations: 0.9481 MB / 3.149 GB, free: 52.95 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/6.037, allocations: 8 kB / 3.149 GB, free: 52.94 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/6.037, allocations: 0 / 3.149 GB, free: 52.94 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/6.037, allocations: 3.984 kB / 3.149 GB, free: 52.94 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/6.041, allocations: 1.694 MB / 3.15 GB, free: 51.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/6.041, allocations: 4 kB / 3.15 GB, free: 51.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/6.043, allocations: 147.8 kB / 3.15 GB, free: 51.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009407/6.044, allocations: 84.78 kB / 3.15 GB, free: 50.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.201e-05/6.044, allocations: 11.98 kB / 3.15 GB, free: 50.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/6.046, allocations: 1.48 MB / 3.152 GB, free: 49.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/6.046, allocations: 0 / 3.152 GB, free: 49.34 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002604/6.049, allocations: 0.8205 MB / 3.153 GB, free: 48.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005654/6.05, allocations: 275.8 kB / 3.153 GB, free: 48.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/6.05, allocations: 4 kB / 3.153 GB, free: 48.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/6.051, allocations: 59.94 kB / 3.153 GB, free: 48.15 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/6.051, allocations: 52.61 kB / 3.153 GB, free: 48.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/6.051, allocations: 31.98 kB / 3.153 GB, free: 48.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007097/6.052, allocations: 410.9 kB / 3.153 GB, free: 47.67 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001352/6.053, allocations: 303.1 kB / 3.154 GB, free: 47.38 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002025/6.055, allocations: 1.01 MB / 3.155 GB, free: 46.47 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001976/6.057, allocations: 0.647 MB / 3.155 GB, free: 45.81 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/6.057, allocations: 0 / 3.155 GB, free: 45.81 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/6.058, allocations: 448.5 kB / 3.156 GB, free: 45.36 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/6.061, allocations: 222.5 kB / 3.156 GB, free: 45.15 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006758/6.067, allocations: 1.324 MB / 3.157 GB, free: 43.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/6.069, allocations: 1.123 MB / 3.158 GB, free: 42.64 MB / 0.8698 GB Notification: Performance of SimCode: time 1.904e-06/6.069, allocations: 0 / 3.158 GB, free: 42.64 MB / 0.8698 GB Notification: Performance of Templates: time 0.04246/6.111, allocations: 16.37 MB / 3.174 GB, free: 26.39 MB / 0.8698 GB