Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [: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.172/2.172, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.001693/0.001692, allocations: 177.3 kB / 319.6 MB, free: 3.277 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.974/1.974, allocations: 205.4 MB / 0.5704 GB, free: 15.01 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.00148/0.001479, allocations: 87.33 kB / 0.6746 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.083e-05/1.101e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2567, allocations: 106.3 MB / 0.888 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.051/6.308, allocations: 2.193 GB / 3.081 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000473/6.309, allocations: 81.7 kB / 3.081 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.3334/6.642, allocations: 82.49 MB / 3.161 GB, free: 93.52 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001147/6.642, allocations: 24 kB / 3.161 GB, free: 93.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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.00343/6.646, allocations: 1.333 MB / 3.163 GB, free: 92.11 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/6.646, allocations: 8.031 kB / 3.163 GB, free: 92.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/6.648, allocations: 234.1 kB / 3.163 GB, free: 91.87 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/6.65, allocations: 0.7483 MB / 3.163 GB, free: 91.08 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/6.65, allocations: 80.09 kB / 3.164 GB, free: 91 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/6.65, allocations: 71.94 kB / 3.164 GB, free: 90.93 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003534/6.654, allocations: 1.246 MB / 3.165 GB, free: 89.68 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003261/6.657, allocations: 1.025 MB / 3.166 GB, free: 88.59 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/6.657, allocations: 3.906 kB / 3.166 GB, free: 88.59 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/6.657, allocations: 4 kB / 3.166 GB, free: 88.58 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/6.657, allocations: 32 kB / 3.166 GB, free: 88.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009035/6.667, allocations: 3.386 MB / 3.169 GB, free: 85.05 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/6.669, allocations: 0.8101 MB / 3.17 GB, free: 84.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008075/6.669, allocations: 327.1 kB / 3.17 GB, free: 83.91 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/6.67, allocations: 36.72 kB / 3.17 GB, free: 83.88 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/6.671, allocations: 487.8 kB / 3.171 GB, free: 83.38 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=93): time 3.847e-06/6.671, allocations: 0 / 3.171 GB, free: 83.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.003269/6.674, allocations: 0.8304 MB / 3.172 GB, free: 82.54 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/6.674, allocations: 252 kB / 3.172 GB, free: 82.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/6.676, allocations: 0.5975 MB / 3.172 GB, free: 81.63 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003072/6.676, allocations: 25.7 kB / 3.172 GB, free: 81.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/6.676, allocations: 419.8 kB / 3.173 GB, free: 81.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005316/6.677, allocations: 299.5 kB / 3.173 GB, free: 80.89 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/6.677, allocations: 0 / 3.173 GB, free: 80.89 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002151/6.677, allocations: 386.8 kB / 3.174 GB, free: 80.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007866/6.678, allocations: 273.9 kB / 3.174 GB, free: 80.23 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008652/6.679, allocations: 386.4 kB / 3.174 GB, free: 79.82 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/6.68, allocations: 350.8 kB / 3.174 GB, free: 79.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/6.68, allocations: 0 / 3.174 GB, free: 79.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00338/6.683, allocations: 0.8781 MB / 3.175 GB, free: 78.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/6.683, allocations: 10.34 kB / 3.175 GB, free: 78.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/6.683, allocations: 0 / 3.175 GB, free: 78.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/6.684, allocations: 88.75 kB / 3.175 GB, free: 78.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/6.686, allocations: 187.7 kB / 3.176 GB, free: 78.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/6.689, allocations: 1.472 MB / 3.177 GB, free: 76.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/6.691, allocations: 75.45 kB / 3.177 GB, free: 76.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/6.691, allocations: 39.97 kB / 3.177 GB, free: 76.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.000342/6.691, allocations: 120.7 kB / 3.177 GB, free: 76.48 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/6.692, allocations: 90.88 kB / 3.177 GB, free: 76.39 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005427/6.697, allocations: 1.209 MB / 3.179 GB, free: 75.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/6.697, allocations: 12 kB / 3.179 GB, free: 75.15 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/6.697, allocations: 0 / 3.179 GB, free: 75.15 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.997e-05/6.697, allocations: 7.969 kB / 3.179 GB, free: 75.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006894/6.704, allocations: 2.211 MB / 3.181 GB, free: 72.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/6.704, allocations: 4 kB / 3.181 GB, free: 72.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/6.706, allocations: 183.8 kB / 3.181 GB, free: 72.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009528/6.707, allocations: 80.78 kB / 3.181 GB, free: 72.62 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/6.707, allocations: 15.98 kB / 3.181 GB, free: 72.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/6.71, allocations: 1.488 MB / 3.182 GB, free: 70.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/6.71, allocations: 0 / 3.182 GB, free: 70.99 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003351/6.713, allocations: 1.006 MB / 3.183 GB, free: 69.96 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009732/6.714, allocations: 339.4 kB / 3.184 GB, free: 69.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/6.714, allocations: 8 kB / 3.184 GB, free: 69.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/6.716, allocations: 63.94 kB / 3.184 GB, free: 69.54 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/6.716, allocations: 56.91 kB / 3.184 GB, free: 69.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/6.716, allocations: 43.97 kB / 3.184 GB, free: 69.45 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00104/6.717, allocations: 0.4952 MB / 3.184 GB, free: 68.96 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002131/6.72, allocations: 382.5 kB / 3.185 GB, free: 68.58 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.002168/6.722, allocations: 1.014 MB / 3.186 GB, free: 67.67 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002618/6.724, allocations: 0.8385 MB / 3.187 GB, free: 66.82 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/6.724, allocations: 0 / 3.187 GB, free: 66.82 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/6.726, allocations: 0.5365 MB / 3.187 GB, free: 66.28 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/6.728, allocations: 219.4 kB / 3.187 GB, free: 66.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007862/6.736, allocations: 1.705 MB / 3.189 GB, free: 64.32 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/6.738, allocations: 1.273 MB / 3.19 GB, free: 63.02 MB / 0.8698 GB Notification: Performance of SimCode: time 1.964e-06/6.738, allocations: 4 kB / 3.19 GB, free: 63.02 MB / 0.8698 GB Notification: Performance of Templates: time 0.05144/6.789, allocations: 19.18 MB / 3.209 GB, free: 43.95 MB / 0.8698 GB