Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [: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.153/2.153, allocations: 253.1 MB / 260.4 MB, free: 7.434 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.001587/0.001586, allocations: 181.3 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 2.078/2.078, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.00123/0.001229, allocations: 107.2 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.227e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2106, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.894/6.104, allocations: 2.19 GB / 3.078 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/6.105, allocations: 90.44 kB / 3.078 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2172/6.322, allocations: 57.64 MB / 3.134 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.859e-05/6.322, allocations: 24 kB / 3.134 GB, free: 121.5 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002438/6.325, allocations: 1.054 MB / 3.135 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/6.325, allocations: 8.031 kB / 3.135 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/6.326, allocations: 198.6 kB / 3.135 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/6.328, allocations: 0.6036 MB / 3.136 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/6.328, allocations: 24 kB / 3.136 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/6.328, allocations: 47.91 kB / 3.136 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002283/6.33, allocations: 0.9523 MB / 3.137 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/6.332, allocations: 0.6998 MB / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/6.332, allocations: 0 / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/6.332, allocations: 0 / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/6.332, allocations: 20 kB / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006028/6.338, allocations: 2.208 MB / 3.14 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/6.34, allocations: 0.6973 MB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/6.341, allocations: 234.8 kB / 3.141 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/6.341, allocations: 36.67 kB / 3.141 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008/6.342, allocations: 362 kB / 3.141 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 4.689e-06/6.342, allocations: 7.984 kB / 3.141 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.00272/6.345, allocations: 0.6132 MB / 3.142 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/6.345, allocations: 243.9 kB / 3.142 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/6.346, allocations: 0.4983 MB / 3.142 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000251/6.346, allocations: 25.7 kB / 3.142 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/6.346, allocations: 284.2 kB / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/6.347, allocations: 224.6 kB / 3.143 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/6.347, allocations: 0 / 3.143 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00021/6.347, allocations: 370.8 kB / 3.143 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008623/6.348, allocations: 181.3 kB / 3.143 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/6.349, allocations: 282.4 kB / 3.144 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/6.35, allocations: 231 kB / 3.144 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/6.35, allocations: 0 / 3.144 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004593/6.355, allocations: 0.6287 MB / 3.145 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/6.355, allocations: 6.5 kB / 3.145 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/6.355, allocations: 0 / 3.145 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/6.357, allocations: 84.84 kB / 3.145 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/6.359, allocations: 131.9 kB / 3.145 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/6.363, allocations: 1.453 MB / 3.146 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/6.365, allocations: 63.61 kB / 3.146 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/6.365, allocations: 27.98 kB / 3.146 GB, free: 108.6 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 (72): * Single equations (assignments): 71 * 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.0003604/6.366, allocations: 116.8 kB / 3.146 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/6.366, allocations: 71.14 kB / 3.146 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005608/6.372, allocations: 0.8893 MB / 3.147 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/6.372, allocations: 11.91 kB / 3.147 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/6.372, allocations: 3.938 kB / 3.147 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/6.372, allocations: 7.922 kB / 3.147 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007561/6.379, allocations: 1.631 MB / 3.149 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/6.379, allocations: 0 / 3.149 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/6.381, allocations: 143.8 kB / 3.149 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/6.383, allocations: 84.77 kB / 3.149 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002383/6.383, allocations: 19.89 kB / 3.149 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/6.388, allocations: 1.472 MB / 3.151 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/6.388, allocations: 4 kB / 3.151 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002655/6.391, allocations: 0.7971 MB / 3.151 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006297/6.391, allocations: 260 kB / 3.152 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/6.391, allocations: 8.062 kB / 3.152 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/6.392, allocations: 63.94 kB / 3.152 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/6.393, allocations: 44.7 kB / 3.152 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.331e-05/6.393, allocations: 31.98 kB / 3.152 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007435/6.394, allocations: 398.8 kB / 3.152 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001469/6.395, allocations: 295.2 kB / 3.152 GB, free: 102 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 (81): * Single equations (assignments): 78 * 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.002109/6.397, allocations: 1.006 MB / 3.153 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002131/6.399, allocations: 0.6274 MB / 3.154 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/6.399, allocations: 4 kB / 3.154 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/6.401, allocations: 424.5 kB / 3.154 GB, free: 100 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/6.403, allocations: 223.6 kB / 3.155 GB, free: 99.82 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00655/6.409, allocations: 1.288 MB / 3.156 GB, free: 98.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/6.411, allocations: 1.099 MB / 3.157 GB, free: 97.37 MB / 0.8698 GB Notification: Performance of SimCode: time 2.324e-06/6.411, allocations: 4 kB / 3.157 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of Templates: time 0.05261/6.463, allocations: 16.06 MB / 3.173 GB, free: 81.42 MB / 0.8698 GB