Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.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.2/2.2, allocations: 253.1 MB / 260.4 MB, free: 7.523 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.001585/0.001585, allocations: 185.2 kB / 319.6 MB, free: 3.332 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.001318/0.001318, allocations: 87.34 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.728e-06/1.015e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2505, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.899/6.149, allocations: 2.191 GB / 3.079 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/6.15, allocations: 86.64 kB / 3.079 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.3292/6.479, allocations: 78.6 MB / 3.156 GB, free: 95.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000159/6.479, allocations: 28 kB / 3.156 GB, free: 95.7 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004862/6.484, allocations: 1.273 MB / 3.157 GB, free: 94.37 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/6.484, allocations: 8.031 kB / 3.157 GB, free: 94.36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003018/6.487, allocations: 238.1 kB / 3.157 GB, free: 94.13 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003189/6.49, allocations: 0.7016 MB / 3.158 GB, free: 93.39 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/6.491, allocations: 43.94 kB / 3.158 GB, free: 93.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/6.491, allocations: 60 kB / 3.158 GB, free: 93.29 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004907/6.496, allocations: 1.117 MB / 3.159 GB, free: 92.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004324/6.5, allocations: 0.9139 MB / 3.16 GB, free: 91.19 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.553e-05/6.5, allocations: 0 / 3.16 GB, free: 91.19 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/6.501, allocations: 4 kB / 3.16 GB, free: 91.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/6.501, allocations: 31.98 kB / 3.16 GB, free: 91.15 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/6.513, allocations: 2.824 MB / 3.163 GB, free: 88.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/6.516, allocations: 0.6843 MB / 3.163 GB, free: 87.57 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/6.517, allocations: 258.8 kB / 3.164 GB, free: 87.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/6.517, allocations: 28.69 kB / 3.164 GB, free: 87.29 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/6.519, allocations: 402 kB / 3.164 GB, free: 86.88 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 6.482e-06/6.519, allocations: 3.938 kB / 3.164 GB, free: 86.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78): time 0.006239/6.525, allocations: 0.6678 MB / 3.165 GB, free: 86.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/6.525, allocations: 244 kB / 3.165 GB, free: 85.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/6.527, allocations: 0.5544 MB / 3.166 GB, free: 85.34 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002346/6.527, allocations: 33.64 kB / 3.166 GB, free: 85.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/6.527, allocations: 403.5 kB / 3.166 GB, free: 84.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/6.527, allocations: 244.2 kB / 3.166 GB, free: 84.66 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/6.528, allocations: 0 / 3.166 GB, free: 84.66 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000141/6.528, allocations: 382.8 kB / 3.167 GB, free: 84.28 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006229/6.528, allocations: 213.5 kB / 3.167 GB, free: 84.07 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/6.529, allocations: 315.5 kB / 3.167 GB, free: 83.73 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009072/6.53, allocations: 260.5 kB / 3.167 GB, free: 83.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/6.53, allocations: 0 / 3.167 GB, free: 83.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003006/6.533, allocations: 0.7016 MB / 3.168 GB, free: 82.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/6.533, allocations: 8.062 kB / 3.168 GB, free: 82.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/6.533, allocations: 7.891 kB / 3.168 GB, free: 82.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/6.534, allocations: 84.77 kB / 3.168 GB, free: 82.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/6.536, allocations: 151.8 kB / 3.168 GB, free: 82.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003979/6.54, allocations: 1.453 MB / 3.17 GB, free: 80.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/6.542, allocations: 71.5 kB / 3.17 GB, free: 80.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/6.542, allocations: 31.98 kB / 3.17 GB, free: 80.84 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 (83): * Single equations (assignments): 82 * 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.0004695/6.543, allocations: 117.2 kB / 3.17 GB, free: 80.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005129/6.544, allocations: 79.06 kB / 3.17 GB, free: 80.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006816/6.55, allocations: 0.9497 MB / 3.171 GB, free: 79.68 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/6.55, allocations: 11.94 kB / 3.171 GB, free: 79.66 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/6.55, allocations: 0 / 3.171 GB, free: 79.66 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.711e-05/6.551, allocations: 3.984 kB / 3.171 GB, free: 79.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/6.553, allocations: 0.8413 MB / 3.172 GB, free: 78.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/6.553, allocations: 4 kB / 3.172 GB, free: 78.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002271/6.556, allocations: 147.8 kB / 3.172 GB, free: 78.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/6.557, allocations: 80.78 kB / 3.172 GB, free: 78.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000322/6.558, allocations: 15.98 kB / 3.172 GB, free: 78.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004644/6.563, allocations: 1.488 MB / 3.173 GB, free: 76.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/6.563, allocations: 4.062 kB / 3.173 GB, free: 76.92 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004563/6.567, allocations: 0.7839 MB / 3.174 GB, free: 76.11 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/6.568, allocations: 287.7 kB / 3.174 GB, free: 75.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005113/6.569, allocations: 3.938 kB / 3.174 GB, free: 75.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/6.571, allocations: 55.95 kB / 3.174 GB, free: 75.75 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003517/6.571, allocations: 60.59 kB / 3.175 GB, free: 75.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/6.572, allocations: 27.98 kB / 3.175 GB, free: 75.67 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001407/6.573, allocations: 447.1 kB / 3.175 GB, free: 75.23 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002529/6.576, allocations: 354.7 kB / 3.175 GB, free: 74.89 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 (89): * Single equations (assignments): 86 * 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.003374/6.579, allocations: 1.009 MB / 3.176 GB, free: 73.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003327/6.582, allocations: 0.6862 MB / 3.177 GB, free: 73.28 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/6.583, allocations: 4 kB / 3.177 GB, free: 73.27 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/6.585, allocations: 460.8 kB / 3.177 GB, free: 72.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/6.588, allocations: 227.5 kB / 3.178 GB, free: 72.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/6.599, allocations: 1.529 MB / 3.179 GB, free: 71.03 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002143/6.601, allocations: 1.213 MB / 3.18 GB, free: 69.79 MB / 0.8698 GB Notification: Performance of SimCode: time 3.156e-06/6.601, allocations: 0 / 3.18 GB, free: 69.79 MB / 0.8698 GB Notification: Performance of Templates: time 0.07107/6.672, allocations: 17 MB / 3.197 GB, free: 52.9 MB / 0.8698 GB