Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [: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.308/2.308, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.001605/0.001604, allocations: 177.3 kB / 319.6 MB, free: 3.336 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.842/1.842, 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.001349/0.001348, allocations: 99.3 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.004e-05/1.023e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2464, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.946/6.193, allocations: 2.19 GB / 3.078 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003877/6.193, allocations: 96.69 kB / 3.078 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.224/6.418, allocations: 58.23 MB / 3.135 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.438e-05/6.418, allocations: 24 kB / 3.135 GB, free: 120.8 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002783/6.42, allocations: 1.066 MB / 3.136 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/6.421, allocations: 12.03 kB / 3.136 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/6.422, allocations: 194.6 kB / 3.136 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/6.424, allocations: 0.6036 MB / 3.137 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/6.424, allocations: 32 kB / 3.137 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/6.425, allocations: 44 kB / 3.137 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002553/6.427, allocations: 0.9678 MB / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/6.429, allocations: 0.7154 MB / 3.138 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/6.429, allocations: 0 / 3.138 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/6.429, allocations: 0 / 3.138 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/6.429, allocations: 20 kB / 3.138 GB, free: 117 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005774/6.435, allocations: 2.246 MB / 3.141 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/6.437, allocations: 0.7128 MB / 3.141 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005695/6.437, allocations: 242.7 kB / 3.142 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/6.438, allocations: 32.67 kB / 3.142 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007939/6.438, allocations: 374 kB / 3.142 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=72): time 3.306e-06/6.438, allocations: 0 / 3.142 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72): time 0.002766/6.441, allocations: 0.6288 MB / 3.143 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/6.441, allocations: 251.9 kB / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/6.442, allocations: 0.4906 MB / 3.143 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001856/6.443, allocations: 29.7 kB / 3.143 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/6.443, allocations: 292.2 kB / 3.144 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/6.443, allocations: 228.6 kB / 3.144 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/6.443, allocations: 0 / 3.144 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001408/6.443, allocations: 378.7 kB / 3.144 GB, free: 111 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/6.444, allocations: 185.3 kB / 3.144 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/6.445, allocations: 290.4 kB / 3.145 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006824/6.445, allocations: 231.1 kB / 3.145 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/6.445, allocations: 0 / 3.145 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002695/6.448, allocations: 0.6404 MB / 3.145 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/6.448, allocations: 4 kB / 3.145 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/6.448, allocations: 0 / 3.145 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/6.449, allocations: 84.83 kB / 3.146 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/6.451, allocations: 135.8 kB / 3.146 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/6.453, allocations: 1.461 MB / 3.147 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/6.455, allocations: 67.55 kB / 3.147 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/6.455, allocations: 23.98 kB / 3.147 GB, free: 107.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 (74): * Single equations (assignments): 73 * 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.0002443/6.455, allocations: 124.8 kB / 3.147 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/6.455, allocations: 71.06 kB / 3.147 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/6.459, allocations: 0.9285 MB / 3.148 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/6.459, allocations: 8 kB / 3.148 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/6.459, allocations: 0 / 3.148 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/6.459, allocations: 11.92 kB / 3.148 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004414/6.463, allocations: 1.686 MB / 3.15 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/6.464, allocations: 0 / 3.15 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/6.465, allocations: 147.7 kB / 3.15 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009257/6.466, allocations: 88.78 kB / 3.15 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/6.466, allocations: 11.98 kB / 3.15 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/6.468, allocations: 1.48 MB / 3.152 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/6.468, allocations: 0 / 3.152 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002864/6.471, allocations: 0.8128 MB / 3.152 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006502/6.472, allocations: 279.8 kB / 3.153 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/6.472, allocations: 0 / 3.153 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/6.473, allocations: 59.94 kB / 3.153 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/6.473, allocations: 52.7 kB / 3.153 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.324e-05/6.474, allocations: 27.98 kB / 3.153 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007454/6.474, allocations: 414.8 kB / 3.153 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001438/6.476, allocations: 307 kB / 3.154 GB, free: 101 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 (86): * Single equations (assignments): 83 * 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.002044/6.478, allocations: 1.009 MB / 3.155 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002004/6.48, allocations: 0.6392 MB / 3.155 GB, free: 99.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/6.48, allocations: 3.938 kB / 3.155 GB, free: 99.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/6.481, allocations: 444.5 kB / 3.156 GB, free: 98.98 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/6.483, allocations: 222.4 kB / 3.156 GB, free: 98.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006173/6.489, allocations: 1.316 MB / 3.157 GB, free: 97.42 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/6.491, allocations: 1.119 MB / 3.158 GB, free: 96.28 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/6.491, allocations: 4 kB / 3.158 GB, free: 96.27 MB / 0.8698 GB Notification: Performance of Templates: time 0.07306/6.564, allocations: 16.33 MB / 3.174 GB, free: 80.06 MB / 0.8698 GB