Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [: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.025/2.025, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.001715/0.001715, allocations: 188.9 kB / 319.6 MB, free: 3.289 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.921/1.921, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001421/0.00142, allocations: 90.02 kB / 0.6746 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.367e-06/9.518e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2243, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.822/6.047, allocations: 2.19 GB / 3.078 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003619/6.047, allocations: 92.47 kB / 3.078 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2184/6.265, allocations: 57.8 MB / 3.135 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001026/6.266, allocations: 16 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002643/6.268, allocations: 1.068 MB / 3.136 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/6.268, allocations: 12.03 kB / 3.136 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/6.27, allocations: 190.6 kB / 3.136 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/6.272, allocations: 0.6075 MB / 3.137 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/6.272, allocations: 28 kB / 3.137 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/6.272, allocations: 40 kB / 3.137 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002547/6.275, allocations: 0.964 MB / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/6.277, allocations: 0.6999 MB / 3.138 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/6.277, allocations: 3.938 kB / 3.138 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/6.277, allocations: 7.984 kB / 3.138 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/6.277, allocations: 16 kB / 3.138 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006591/6.284, allocations: 2.227 MB / 3.14 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/6.285, allocations: 0.6404 MB / 3.141 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006231/6.286, allocations: 234.8 kB / 3.141 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/6.286, allocations: 28.61 kB / 3.141 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008469/6.287, allocations: 374 kB / 3.142 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 4.228e-06/6.287, allocations: 0 / 3.142 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.002798/6.29, allocations: 0.6249 MB / 3.142 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/6.29, allocations: 243.9 kB / 3.143 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/6.291, allocations: 0.4945 MB / 3.143 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000214/6.291, allocations: 25.7 kB / 3.143 GB, free: 112 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/6.292, allocations: 292.2 kB / 3.143 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/6.292, allocations: 228.5 kB / 3.144 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/6.292, allocations: 0 / 3.144 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001282/6.292, allocations: 374.8 kB / 3.144 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/6.293, allocations: 185.3 kB / 3.144 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007947/6.293, allocations: 290.4 kB / 3.144 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/6.294, allocations: 235 kB / 3.145 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/6.294, allocations: 0 / 3.145 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003804/6.298, allocations: 0.6326 MB / 3.145 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/6.298, allocations: 8 kB / 3.145 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/6.298, allocations: 3.984 kB / 3.145 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/6.3, allocations: 80.84 kB / 3.145 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/6.302, allocations: 135.8 kB / 3.145 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004001/6.306, allocations: 1.457 MB / 3.147 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/6.307, allocations: 63.45 kB / 3.147 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/6.308, allocations: 24.05 kB / 3.147 GB, free: 107.9 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.0003413/6.308, allocations: 117 kB / 3.147 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/6.308, allocations: 75.14 kB / 3.147 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005248/6.314, allocations: 0.8893 MB / 3.148 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/6.314, allocations: 8 kB / 3.148 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/6.314, allocations: 4 kB / 3.148 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.711e-05/6.314, allocations: 7.984 kB / 3.148 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/6.316, allocations: 0.7204 MB / 3.149 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/6.316, allocations: 7.969 kB / 3.149 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/6.318, allocations: 135.8 kB / 3.149 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/6.319, allocations: 88.77 kB / 3.149 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/6.319, allocations: 11.98 kB / 3.149 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/6.323, allocations: 1.492 MB / 3.15 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/6.323, allocations: 0 / 3.15 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003778/6.327, allocations: 0.7256 MB / 3.151 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/6.328, allocations: 271.9 kB / 3.151 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/6.329, allocations: 4 kB / 3.151 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/6.33, allocations: 51.95 kB / 3.151 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/6.331, allocations: 56.69 kB / 3.151 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/6.331, allocations: 23.98 kB / 3.151 GB, free: 103 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001128/6.332, allocations: 414.8 kB / 3.152 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00227/6.334, allocations: 295.1 kB / 3.152 GB, free: 102.3 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 (82): * Single equations (assignments): 79 * 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.00336/6.338, allocations: 1.006 MB / 3.153 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00286/6.341, allocations: 0.6312 MB / 3.154 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/6.341, allocations: 0 / 3.154 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/6.342, allocations: 436.6 kB / 3.154 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/6.345, allocations: 221.5 kB / 3.154 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/6.354, allocations: 1.303 MB / 3.156 GB, free: 98.75 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/6.356, allocations: 1.107 MB / 3.157 GB, free: 97.62 MB / 0.8698 GB Notification: Performance of SimCode: time 2.615e-06/6.356, allocations: 4 kB / 3.157 GB, free: 97.61 MB / 0.8698 GB Notification: Performance of Templates: time 0.06021/6.416, allocations: 16.17 MB / 3.173 GB, free: 81.59 MB / 0.8698 GB