Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [: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.167/2.167, allocations: 253.1 MB / 260.4 MB, free: 7.594 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.001592/0.001591, allocations: 185.2 kB / 319.6 MB, free: 3.32 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.889/1.889, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001344/0.001343, allocations: 90.91 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.508e-06/9.728e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2121, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.497/5.709, allocations: 2.19 GB / 3.078 GB, free: 168 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/5.709, allocations: 84.45 kB / 3.078 GB, free: 168 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2371/5.946, allocations: 57.31 MB / 3.134 GB, free: 118 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001128/5.947, allocations: 27.98 kB / 3.134 GB, free: 118 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003128/5.95, allocations: 1.098 MB / 3.135 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/5.95, allocations: 8.031 kB / 3.135 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/5.952, allocations: 262.5 kB / 3.135 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/5.954, allocations: 0.6191 MB / 3.136 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/5.954, allocations: 24 kB / 3.136 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/5.954, allocations: 48 kB / 3.136 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002448/5.957, allocations: 0.9913 MB / 3.137 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/5.959, allocations: 0.7531 MB / 3.138 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/5.959, allocations: 0 / 3.138 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/5.959, allocations: 7.938 kB / 3.138 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/5.959, allocations: 20 kB / 3.138 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006366/5.965, allocations: 2.536 MB / 3.14 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/5.967, allocations: 0.7663 MB / 3.141 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/5.968, allocations: 242.7 kB / 3.141 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/5.968, allocations: 36.69 kB / 3.141 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008027/5.969, allocations: 378.1 kB / 3.141 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 3.326e-06/5.969, allocations: 0 / 3.141 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.002792/5.972, allocations: 0.6404 MB / 3.142 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/5.972, allocations: 244 kB / 3.142 GB, free: 109 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/5.973, allocations: 0.4945 MB / 3.143 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002019/5.973, allocations: 25.7 kB / 3.143 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/5.973, allocations: 312 kB / 3.143 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/5.974, allocations: 224.6 kB / 3.143 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/5.974, allocations: 0 / 3.143 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001254/5.974, allocations: 382.7 kB / 3.144 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/5.974, allocations: 197.2 kB / 3.144 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/5.975, allocations: 313 kB / 3.144 GB, free: 107 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/5.976, allocations: 243 kB / 3.144 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/5.976, allocations: 0 / 3.144 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0027/5.979, allocations: 0.6639 MB / 3.145 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/5.979, allocations: 4 kB / 3.145 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/5.979, allocations: 0 / 3.145 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/5.98, allocations: 84.94 kB / 3.145 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/5.981, allocations: 147.8 kB / 3.145 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/5.984, allocations: 1.457 MB / 3.147 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/5.985, allocations: 75.5 kB / 3.147 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/5.986, allocations: 23.98 kB / 3.147 GB, free: 104.2 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 (79): * Single equations (assignments): 78 * 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.000248/5.986, allocations: 116.9 kB / 3.147 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/5.986, allocations: 71.16 kB / 3.147 GB, free: 104 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003683/5.99, allocations: 0.9174 MB / 3.148 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/5.99, allocations: 8 kB / 3.148 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/5.99, allocations: 7.938 kB / 3.148 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/5.99, allocations: 7.891 kB / 3.148 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004994/5.995, allocations: 1.752 MB / 3.15 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/5.995, allocations: 4 kB / 3.15 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/5.996, allocations: 143.8 kB / 3.15 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000978/5.997, allocations: 84.78 kB / 3.15 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/5.997, allocations: 15.89 kB / 3.15 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002647/6, allocations: 1.477 MB / 3.151 GB, free: 99.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/6, allocations: 0 / 3.151 GB, free: 99.38 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002861/6.003, allocations: 0.8167 MB / 3.152 GB, free: 98.54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008618/6.004, allocations: 287.8 kB / 3.152 GB, free: 98.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/6.004, allocations: 0 / 3.152 GB, free: 98.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/6.005, allocations: 59.94 kB / 3.152 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/6.006, allocations: 44.7 kB / 3.152 GB, free: 98.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/6.006, allocations: 31.98 kB / 3.153 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007897/6.007, allocations: 406.9 kB / 3.153 GB, free: 97.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001722/6.008, allocations: 319 kB / 3.153 GB, free: 97.4 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 (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.00214/6.01, allocations: 1.018 MB / 3.154 GB, free: 96.49 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002053/6.013, allocations: 0.6506 MB / 3.155 GB, free: 95.83 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/6.013, allocations: 0 / 3.155 GB, free: 95.83 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/6.014, allocations: 449 kB / 3.155 GB, free: 95.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/6.016, allocations: 226.6 kB / 3.155 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/6.022, allocations: 1.332 MB / 3.157 GB, free: 93.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/6.023, allocations: 1.123 MB / 3.158 GB, free: 92.64 MB / 0.8698 GB Notification: Performance of SimCode: time 1.513e-06/6.023, allocations: 0 / 3.158 GB, free: 92.64 MB / 0.8698 GB Notification: Performance of Templates: time 0.04318/6.066, allocations: 16.73 MB / 3.174 GB, free: 76.02 MB / 0.8698 GB