Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [: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.098/2.098, allocations: 253.1 MB / 260.4 MB, free: 7.477 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.001613/0.001613, allocations: 188.5 kB / 319.6 MB, free: 3.316 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.992/1.992, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001368/0.001368, allocations: 95.28 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.798e-06/9.989e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2247, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.868/6.093, allocations: 2.191 GB / 3.079 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003971/6.094, allocations: 93.88 kB / 3.079 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.231/6.325, allocations: 58.71 MB / 3.136 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000107/6.325, allocations: 23.94 kB / 3.136 GB, free: 119.2 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.00306/6.328, allocations: 1.086 MB / 3.138 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/6.328, allocations: 11.97 kB / 3.138 GB, free: 118 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/6.33, allocations: 194.6 kB / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/6.332, allocations: 0.6192 MB / 3.138 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/6.332, allocations: 24 kB / 3.138 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/6.332, allocations: 48 kB / 3.138 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002662/6.335, allocations: 1.003 MB / 3.139 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/6.337, allocations: 0.7194 MB / 3.14 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/6.337, allocations: 4 kB / 3.14 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/6.337, allocations: 11.94 kB / 3.14 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/6.337, allocations: 23.98 kB / 3.14 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007012/6.344, allocations: 2.353 MB / 3.142 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/6.346, allocations: 0.665 MB / 3.143 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/6.347, allocations: 254.8 kB / 3.143 GB, free: 112 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/6.347, allocations: 28.59 kB / 3.143 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008965/6.348, allocations: 394.1 kB / 3.144 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 4.559e-06/6.348, allocations: 0 / 3.144 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.003035/6.351, allocations: 0.6561 MB / 3.144 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/6.351, allocations: 248 kB / 3.145 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/6.353, allocations: 0.5023 MB / 3.145 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002946/6.353, allocations: 25.7 kB / 3.145 GB, free: 110 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/6.353, allocations: 300.1 kB / 3.145 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/6.354, allocations: 240.4 kB / 3.146 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/6.354, allocations: 0 / 3.146 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001495/6.354, allocations: 374.8 kB / 3.146 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/6.354, allocations: 201.3 kB / 3.146 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/6.355, allocations: 298.4 kB / 3.146 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/6.356, allocations: 251 kB / 3.147 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/6.356, allocations: 8 kB / 3.147 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002926/6.359, allocations: 0.6717 MB / 3.147 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/6.359, allocations: 4 kB / 3.147 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/6.359, allocations: 8.062 kB / 3.147 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/6.36, allocations: 80.78 kB / 3.147 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/6.362, allocations: 147.8 kB / 3.148 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/6.365, allocations: 1.464 MB / 3.149 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/6.366, allocations: 63.61 kB / 3.149 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/6.366, allocations: 31.92 kB / 3.149 GB, free: 105.7 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 (80): * Single equations (assignments): 79 * 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.0003256/6.367, allocations: 125 kB / 3.149 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/6.367, allocations: 83.05 kB / 3.149 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004139/6.371, allocations: 0.9447 MB / 3.15 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/6.371, allocations: 15.94 kB / 3.15 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/6.371, allocations: 0 / 3.15 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/6.371, allocations: 3.984 kB / 3.15 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005286/6.377, allocations: 1.709 MB / 3.152 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/6.377, allocations: 0 / 3.152 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/6.378, allocations: 155.8 kB / 3.152 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/6.379, allocations: 80.78 kB / 3.152 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/6.379, allocations: 15.98 kB / 3.152 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/6.382, allocations: 1.484 MB / 3.154 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/6.382, allocations: 4 kB / 3.154 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003015/6.385, allocations: 0.8284 MB / 3.154 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008682/6.386, allocations: 279.8 kB / 3.155 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/6.386, allocations: 4 kB / 3.155 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/6.388, allocations: 51.95 kB / 3.155 GB, free: 99.74 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/6.388, allocations: 52.69 kB / 3.155 GB, free: 99.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/6.388, allocations: 31.98 kB / 3.155 GB, free: 99.66 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008374/6.389, allocations: 422.9 kB / 3.155 GB, free: 99.25 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001796/6.391, allocations: 307 kB / 3.156 GB, free: 98.95 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.002406/6.393, allocations: 1.019 MB / 3.157 GB, free: 98.04 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002402/6.396, allocations: 0.6662 MB / 3.157 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/6.396, allocations: 0 / 3.157 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/6.397, allocations: 456.7 kB / 3.158 GB, free: 96.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/6.399, allocations: 215.4 kB / 3.158 GB, free: 96.69 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006694/6.406, allocations: 1.347 MB / 3.159 GB, free: 95.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/6.407, allocations: 1.131 MB / 3.16 GB, free: 94.15 MB / 0.8698 GB Notification: Performance of SimCode: time 2.184e-06/6.407, allocations: 0 / 3.16 GB, free: 94.15 MB / 0.8698 GB Notification: Performance of Templates: time 0.04672/6.454, allocations: 16.65 MB / 3.177 GB, free: 77.61 MB / 0.8698 GB