Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [: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.093/2.093, allocations: 253.1 MB / 260.4 MB, free: 7.461 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.001658/0.001658, allocations: 184.5 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.051/2.051, 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.001257/0.001257, allocations: 92.7 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.026e-05/1.043e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2792, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.588/5.867, allocations: 2.191 GB / 3.079 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003774/5.868, allocations: 95.94 kB / 3.079 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2508/6.118, allocations: 66.97 MB / 3.144 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.787e-05/6.119, allocations: 20 kB / 3.144 GB, free: 145 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002835/6.122, allocations: 1.13 MB / 3.145 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/6.122, allocations: 8.031 kB / 3.145 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/6.124, allocations: 226.4 kB / 3.146 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/6.126, allocations: 0.6346 MB / 3.146 GB, free: 143 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.416e-05/6.126, allocations: 28 kB / 3.146 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/6.126, allocations: 48 kB / 3.146 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002603/6.128, allocations: 1.019 MB / 3.147 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/6.131, allocations: 0.7701 MB / 3.148 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/6.131, allocations: 0 / 3.148 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/6.131, allocations: 4 kB / 3.148 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/6.131, allocations: 20 kB / 3.148 GB, free: 141 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006707/6.138, allocations: 2.406 MB / 3.15 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/6.139, allocations: 0.6543 MB / 3.151 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/6.14, allocations: 246.7 kB / 3.151 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/6.141, allocations: 470.2 kB / 3.152 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009017/6.142, allocations: 390 kB / 3.152 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.797e-06/6.142, allocations: 0 / 3.152 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.003371/6.145, allocations: 0.7068 MB / 3.153 GB, free: 136 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.287e-05/6.145, allocations: 244 kB / 3.153 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/6.147, allocations: 0.5061 MB / 3.154 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002261/6.147, allocations: 29.7 kB / 3.154 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/6.147, allocations: 312.1 kB / 3.154 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/6.147, allocations: 236.5 kB / 3.154 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/6.147, allocations: 0 / 3.154 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001307/6.148, allocations: 378.7 kB / 3.154 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005506/6.148, allocations: 193.3 kB / 3.155 GB, free: 134 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/6.149, allocations: 294.4 kB / 3.155 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/6.15, allocations: 307 kB / 3.155 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/6.15, allocations: 0 / 3.155 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003103/6.153, allocations: 0.7146 MB / 3.156 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/6.153, allocations: 8 kB / 3.156 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/6.153, allocations: 0 / 3.156 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/6.154, allocations: 80.78 kB / 3.156 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/6.156, allocations: 143.8 kB / 3.156 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/6.159, allocations: 1.457 MB / 3.158 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/6.16, allocations: 67.61 kB / 3.158 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/6.16, allocations: 27.98 kB / 3.158 GB, free: 130.8 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.0002804/6.16, allocations: 120.8 kB / 3.158 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/6.161, allocations: 71.16 kB / 3.158 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/6.165, allocations: 0.9986 MB / 3.159 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/6.165, allocations: 8 kB / 3.159 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/6.165, allocations: 3.938 kB / 3.159 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/6.165, allocations: 7.969 kB / 3.159 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/6.167, allocations: 0.7636 MB / 3.16 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/6.167, allocations: 4 kB / 3.16 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/6.168, allocations: 151.7 kB / 3.16 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009752/6.169, allocations: 84.77 kB / 3.16 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/6.169, allocations: 15.98 kB / 3.16 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/6.172, allocations: 1.469 MB / 3.161 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/6.172, allocations: 8 kB / 3.161 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003297/6.175, allocations: 0.8191 MB / 3.162 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00069/6.176, allocations: 279.8 kB / 3.162 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/6.176, allocations: 0 / 3.162 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/6.177, allocations: 63.94 kB / 3.162 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/6.177, allocations: 48.7 kB / 3.162 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/6.178, allocations: 27.98 kB / 3.162 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007692/6.178, allocations: 414.9 kB / 3.163 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001662/6.18, allocations: 338.8 kB / 3.163 GB, free: 124.9 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 (84): * Single equations (assignments): 81 * 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.002308/6.182, allocations: 1.025 MB / 3.164 GB, free: 124 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002149/6.185, allocations: 0.6507 MB / 3.165 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/6.185, allocations: 0 / 3.165 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/6.186, allocations: 456.6 kB / 3.165 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/6.188, allocations: 208.3 kB / 3.165 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/6.194, allocations: 1.382 MB / 3.167 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/6.195, allocations: 1.135 MB / 3.168 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.993e-06/6.195, allocations: 0 / 3.168 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.04401/6.239, allocations: 16.93 MB / 3.184 GB, free: 103.3 MB / 0.8698 GB