Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [: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.203/2.203, allocations: 253.1 MB / 260.4 MB, free: 7.562 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.001678/0.001678, allocations: 185.2 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 1.939/1.939, 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.001274/0.001274, allocations: 92.58 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.295e-05/1.323e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2508, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.863/6.114, allocations: 2.194 GB / 3.082 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/6.114, allocations: 83.64 kB / 3.082 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.4045/6.519, allocations: 96.93 MB / 3.177 GB, free: 77.36 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001982/6.519, allocations: 40 kB / 3.177 GB, free: 77.32 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.007559/6.527, allocations: 1.949 MB / 3.179 GB, free: 75.32 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/6.527, allocations: 8.031 kB / 3.179 GB, free: 75.31 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02514/6.552, allocations: 2.034 MB / 3.181 GB, free: 73.27 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003666/6.556, allocations: 1.036 MB / 3.182 GB, free: 72.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/6.556, allocations: 60 kB / 3.182 GB, free: 72.14 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009256/6.557, allocations: 108 kB / 3.182 GB, free: 72.03 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01029/6.567, allocations: 2.767 MB / 3.185 GB, free: 69.26 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008892/6.576, allocations: 2.088 MB / 3.187 GB, free: 67.13 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.796e-05/6.576, allocations: 3.984 kB / 3.187 GB, free: 67.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008176/6.577, allocations: 7.984 kB / 3.187 GB, free: 67.12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/6.577, allocations: 44 kB / 3.187 GB, free: 67.07 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02682/6.604, allocations: 6.193 MB / 3.193 GB, free: 60.76 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005664/6.61, allocations: 1.847 MB / 3.195 GB, free: 58.89 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/6.613, allocations: 0.9779 MB / 3.196 GB, free: 57.92 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/6.614, allocations: 0.5072 MB / 3.196 GB, free: 57.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003373/6.617, allocations: 1.231 MB / 3.197 GB, free: 56.07 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=192): time 6.141e-06/6.617, allocations: 0 / 3.197 GB, free: 56.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=192): time 0.009137/6.626, allocations: 2.156 MB / 3.2 GB, free: 53.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/6.627, allocations: 257.3 kB / 3.2 GB, free: 53.59 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/6.628, allocations: 0.6646 MB / 3.2 GB, free: 52.92 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007692/6.629, allocations: 25.7 kB / 3.2 GB, free: 52.89 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/6.629, allocations: 0.5122 MB / 3.201 GB, free: 52.37 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001223/6.631, allocations: 0.5963 MB / 3.202 GB, free: 51.76 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/6.631, allocations: 0 / 3.202 GB, free: 51.76 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001741/6.631, allocations: 369.9 kB / 3.202 GB, free: 51.39 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/6.634, allocations: 0.7538 MB / 3.203 GB, free: 50.64 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003047/6.637, allocations: 0.9228 MB / 3.204 GB, free: 49.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004363/6.641, allocations: 0.982 MB / 3.205 GB, free: 48.71 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/6.641, allocations: 3.938 kB / 3.205 GB, free: 48.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.008821/6.65, allocations: 2.207 MB / 3.207 GB, free: 46.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/6.65, allocations: 8.156 kB / 3.207 GB, free: 46.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/6.65, allocations: 4 kB / 3.207 GB, free: 46.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/6.651, allocations: 84.77 kB / 3.207 GB, free: 46.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007169/6.659, allocations: 0.55 MB / 3.207 GB, free: 45.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/6.661, allocations: 1.468 MB / 3.209 GB, free: 44.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005733/6.667, allocations: 282.7 kB / 3.209 GB, free: 43.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008321/6.668, allocations: 83.89 kB / 3.209 GB, free: 43.88 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.0007684/6.669, allocations: 140.5 kB / 3.209 GB, free: 43.74 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006701/6.67, allocations: 126.4 kB / 3.209 GB, free: 43.61 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/6.685, allocations: 2.851 MB / 3.212 GB, free: 40.74 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/6.685, allocations: 20 kB / 3.212 GB, free: 40.72 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/6.685, allocations: 0 / 3.212 GB, free: 40.72 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.83e-05/6.685, allocations: 11.95 kB / 3.212 GB, free: 40.71 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/6.702, allocations: 4.746 MB / 3.217 GB, free: 35.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/6.702, allocations: 0 / 3.217 GB, free: 35.92 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006877/6.709, allocations: 0.5384 MB / 3.217 GB, free: 35.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009998/6.71, allocations: 96.69 kB / 3.217 GB, free: 35.28 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004576/6.71, allocations: 43.92 kB / 3.217 GB, free: 35.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/6.713, allocations: 1.476 MB / 3.219 GB, free: 33.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/6.713, allocations: 0 / 3.219 GB, free: 33.64 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008988/6.722, allocations: 2.356 MB / 3.221 GB, free: 31.26 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/6.724, allocations: 0.5258 MB / 3.222 GB, free: 30.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008472/6.725, allocations: 8.062 kB / 3.222 GB, free: 30.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005889/6.731, allocations: 227.8 kB / 3.222 GB, free: 30.48 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004594/6.731, allocations: 101.8 kB / 3.222 GB, free: 30.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003891/6.732, allocations: 87.91 kB / 3.222 GB, free: 30.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00115/6.733, allocations: 0.546 MB / 3.223 GB, free: 29.75 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002801/6.736, allocations: 0.549 MB / 3.223 GB, free: 29.2 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 (206): * Single equations (assignments): 203 * 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.002372/6.738, allocations: 1.035 MB / 3.224 GB, free: 28.28 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00623/6.744, allocations: 2.085 MB / 3.226 GB, free: 26.19 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/6.744, allocations: 4 kB / 3.226 GB, free: 26.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003656/6.748, allocations: 1.22 MB / 3.227 GB, free: 24.96 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/6.751, allocations: 244.5 kB / 3.228 GB, free: 24.72 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/6.763, allocations: 2.733 MB / 3.23 GB, free: 21.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003772/6.767, allocations: 1.609 MB / 3.232 GB, free: 20.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.034e-06/6.767, allocations: 0 / 3.232 GB, free: 20.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.4444/7.212, allocations: 35.79 MB / 3.267 GB, free: 364.4 MB / 0.8698 GB