Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.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.021/2.021, allocations: 253.1 MB / 260.4 MB, free: 7.594 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.001742/0.001742, allocations: 173.3 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.855/1.855, allocations: 205.4 MB / 0.5704 GB, free: 15.13 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.001348/0.001347, allocations: 94.56 kB / 0.6746 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.059e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2211, allocations: 106.3 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.632/5.853, allocations: 2.19 GB / 3.078 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/5.853, allocations: 82.95 kB / 3.078 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2588/6.112, allocations: 62.53 MB / 3.139 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.944e-05/6.112, allocations: 24 kB / 3.139 GB, free: 116.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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002328/6.114, allocations: 1.07 MB / 3.14 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/6.114, allocations: 8.031 kB / 3.14 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/6.116, allocations: 194.6 kB / 3.14 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/6.118, allocations: 0.6076 MB / 3.141 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/6.118, allocations: 24 kB / 3.141 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/6.118, allocations: 44 kB / 3.141 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002399/6.12, allocations: 0.9718 MB / 3.142 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/6.122, allocations: 0.7037 MB / 3.143 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/6.122, allocations: 0 / 3.143 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/6.122, allocations: 0 / 3.143 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/6.122, allocations: 20 kB / 3.143 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006339/6.129, allocations: 2.254 MB / 3.145 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/6.131, allocations: 0.6488 MB / 3.145 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/6.131, allocations: 242.8 kB / 3.146 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/6.131, allocations: 28.59 kB / 3.146 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008612/6.132, allocations: 378 kB / 3.146 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 4.419e-06/6.132, allocations: 11.94 kB / 3.146 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.002678/6.135, allocations: 0.6287 MB / 3.147 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/6.135, allocations: 240 kB / 3.147 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/6.136, allocations: 0.4983 MB / 3.147 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001938/6.137, allocations: 29.7 kB / 3.147 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/6.137, allocations: 288.2 kB / 3.148 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/6.137, allocations: 216.7 kB / 3.148 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/6.137, allocations: 0 / 3.148 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001245/6.137, allocations: 374.8 kB / 3.148 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/6.138, allocations: 193.3 kB / 3.148 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/6.139, allocations: 294.4 kB / 3.149 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/6.141, allocations: 235.1 kB / 3.149 GB, free: 106 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/6.141, allocations: 4 kB / 3.149 GB, free: 106 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002722/6.144, allocations: 0.6404 MB / 3.15 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/6.144, allocations: 8 kB / 3.15 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/6.144, allocations: 4 kB / 3.15 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/6.145, allocations: 80.84 kB / 3.15 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/6.146, allocations: 139.8 kB / 3.15 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004687/6.151, allocations: 1.461 MB / 3.151 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/6.153, allocations: 71.59 kB / 3.151 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/6.153, allocations: 23.98 kB / 3.151 GB, free: 103.4 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.0004455/6.154, allocations: 120.8 kB / 3.151 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/6.154, allocations: 67.16 kB / 3.151 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004606/6.159, allocations: 0.9129 MB / 3.152 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/6.159, allocations: 8 kB / 3.152 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/6.159, allocations: 0 / 3.152 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/6.159, allocations: 7.984 kB / 3.152 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/6.16, allocations: 0.7477 MB / 3.153 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/6.16, allocations: 0 / 3.153 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/6.162, allocations: 143.8 kB / 3.153 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009896/6.163, allocations: 80.78 kB / 3.153 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/6.163, allocations: 15.98 kB / 3.153 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002789/6.166, allocations: 1.492 MB / 3.155 GB, free: 99.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/6.166, allocations: 0 / 3.155 GB, free: 99.66 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002697/6.169, allocations: 0.7373 MB / 3.155 GB, free: 98.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006723/6.169, allocations: 275.8 kB / 3.156 GB, free: 98.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/6.169, allocations: 7.984 kB / 3.156 GB, free: 98.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/6.17, allocations: 55.95 kB / 3.156 GB, free: 98.55 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/6.171, allocations: 48.64 kB / 3.156 GB, free: 98.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-05/6.171, allocations: 35.89 kB / 3.156 GB, free: 98.47 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007254/6.171, allocations: 410.9 kB / 3.156 GB, free: 98.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00143/6.173, allocations: 299 kB / 3.157 GB, free: 97.78 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.conTimMin.tNext,weaDat.conTim.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.002024/6.175, allocations: 1.006 MB / 3.158 GB, free: 96.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002078/6.177, allocations: 0.6468 MB / 3.158 GB, free: 96.23 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/6.177, allocations: 4 kB / 3.158 GB, free: 96.23 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/6.178, allocations: 436.7 kB / 3.159 GB, free: 95.79 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/6.18, allocations: 206.7 kB / 3.159 GB, free: 95.58 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006376/6.187, allocations: 1.319 MB / 3.16 GB, free: 94.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/6.188, allocations: 1.107 MB / 3.161 GB, free: 93.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.813e-06/6.188, allocations: 0 / 3.161 GB, free: 93.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.04282/6.231, allocations: 16.35 MB / 3.177 GB, free: 76.86 MB / 0.8698 GB