Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [: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.256/2.256, allocations: 253.1 MB / 260.4 MB, free: 7.43 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.001582/0.001582, allocations: 181.2 kB / 319.6 MB, free: 3.328 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.048/2.048, allocations: 205.4 MB / 0.5704 GB, free: 14.97 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.001319/0.001318, allocations: 105.7 kB / 0.6746 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.969e-06/1.012e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2231, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.765/5.988, allocations: 2.191 GB / 3.079 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003894/5.988, allocations: 89.06 kB / 3.079 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2423/6.231, allocations: 64.17 MB / 3.141 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.504e-05/6.231, allocations: 24 kB / 3.141 GB, free: 110.4 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002865/6.234, allocations: 1.11 MB / 3.142 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/6.234, allocations: 8.031 kB / 3.142 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/6.237, allocations: 294.3 kB / 3.143 GB, free: 109 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/6.239, allocations: 0.6269 MB / 3.143 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/6.239, allocations: 32 kB / 3.143 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/6.239, allocations: 48 kB / 3.143 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002717/6.242, allocations: 1.027 MB / 3.144 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/6.244, allocations: 0.7896 MB / 3.145 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/6.244, allocations: 0 / 3.145 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/6.244, allocations: 0 / 3.145 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/6.244, allocations: 24 kB / 3.145 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007097/6.251, allocations: 2.449 MB / 3.148 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/6.255, allocations: 0.7275 MB / 3.148 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006699/6.255, allocations: 254.7 kB / 3.149 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/6.256, allocations: 36.69 kB / 3.149 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008733/6.256, allocations: 398 kB / 3.149 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 4.098e-06/6.256, allocations: 0 / 3.149 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.002874/6.259, allocations: 0.6638 MB / 3.15 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/6.26, allocations: 240 kB / 3.15 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/6.261, allocations: 0.4944 MB / 3.15 GB, free: 101 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002272/6.261, allocations: 29.7 kB / 3.15 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/6.261, allocations: 312.1 kB / 3.151 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/6.261, allocations: 240.4 kB / 3.151 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/6.262, allocations: 4 kB / 3.151 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001342/6.262, allocations: 374.8 kB / 3.151 GB, free: 99.99 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/6.262, allocations: 201.3 kB / 3.151 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/6.263, allocations: 302.4 kB / 3.152 GB, free: 99.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007103/6.264, allocations: 247.1 kB / 3.152 GB, free: 99.23 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/6.264, allocations: 0 / 3.152 GB, free: 99.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002769/6.266, allocations: 0.6756 MB / 3.153 GB, free: 98.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/6.267, allocations: 4 kB / 3.153 GB, free: 98.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/6.267, allocations: 0 / 3.153 GB, free: 98.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/6.268, allocations: 84.83 kB / 3.153 GB, free: 98.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/6.269, allocations: 155.8 kB / 3.153 GB, free: 98.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/6.272, allocations: 1.457 MB / 3.154 GB, free: 96.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/6.274, allocations: 79.5 kB / 3.154 GB, free: 96.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/6.274, allocations: 31.98 kB / 3.154 GB, free: 96.61 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 (76): * Single equations (assignments): 75 * 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.000308/6.274, allocations: 112.9 kB / 3.155 GB, free: 96.49 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/6.275, allocations: 79.09 kB / 3.155 GB, free: 96.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/6.279, allocations: 0.9564 MB / 3.156 GB, free: 95.45 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/6.279, allocations: 11.91 kB / 3.156 GB, free: 95.44 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/6.279, allocations: 3.984 kB / 3.156 GB, free: 95.43 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/6.279, allocations: 7.984 kB / 3.156 GB, free: 95.43 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/6.281, allocations: 0.7631 MB / 3.156 GB, free: 94.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/6.281, allocations: 0 / 3.156 GB, free: 94.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/6.282, allocations: 171.7 kB / 3.156 GB, free: 94.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/6.283, allocations: 88.77 kB / 3.157 GB, free: 94.37 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/6.283, allocations: 11.98 kB / 3.157 GB, free: 94.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/6.286, allocations: 1.484 MB / 3.158 GB, free: 92.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/6.286, allocations: 3.938 kB / 3.158 GB, free: 92.75 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002906/6.289, allocations: 0.7607 MB / 3.159 GB, free: 91.97 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007689/6.29, allocations: 283.9 kB / 3.159 GB, free: 91.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/6.29, allocations: 0 / 3.159 GB, free: 91.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/6.291, allocations: 75.78 kB / 3.159 GB, free: 91.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/6.292, allocations: 52.69 kB / 3.159 GB, free: 91.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/6.292, allocations: 35.98 kB / 3.159 GB, free: 91.51 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007672/6.293, allocations: 402.9 kB / 3.16 GB, free: 91.12 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001572/6.294, allocations: 315 kB / 3.16 GB, free: 90.81 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 (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.002188/6.296, allocations: 1.008 MB / 3.161 GB, free: 89.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002236/6.299, allocations: 0.6701 MB / 3.162 GB, free: 89.23 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/6.299, allocations: 4 kB / 3.162 GB, free: 89.22 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/6.3, allocations: 456.8 kB / 3.162 GB, free: 88.77 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/6.302, allocations: 219.3 kB / 3.162 GB, free: 88.55 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/6.309, allocations: 1.386 MB / 3.164 GB, free: 87.13 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/6.31, allocations: 1.138 MB / 3.165 GB, free: 85.97 MB / 0.8698 GB Notification: Performance of SimCode: time 2.044e-06/6.31, allocations: 0 / 3.165 GB, free: 85.97 MB / 0.8698 GB Notification: Performance of Templates: time 0.04576/6.356, allocations: 16.99 MB / 3.181 GB, free: 69.12 MB / 0.8698 GB