Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [: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.113/2.113, allocations: 253.1 MB / 260.4 MB, free: 7.629 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.001727/0.001726, allocations: 185.2 kB / 319.6 MB, free: 3.293 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.988/1.988, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001388/0.001387, allocations: 74.42 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.838e-06/1.007e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2244, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.777/6.001, allocations: 2.192 GB / 3.08 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/6.001, allocations: 93.2 kB / 3.08 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2605/6.262, allocations: 68.49 MB / 3.147 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001288/6.262, allocations: 28 kB / 3.147 GB, free: 107.9 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003386/6.266, allocations: 1.262 MB / 3.148 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/6.266, allocations: 8.031 kB / 3.148 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008093/6.274, allocations: 0.7437 MB / 3.149 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/6.276, allocations: 0.6658 MB / 3.15 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/6.276, allocations: 39.91 kB / 3.15 GB, free: 105 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/6.276, allocations: 63.94 kB / 3.15 GB, free: 105 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00407/6.28, allocations: 1.394 MB / 3.151 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/6.283, allocations: 1.005 MB / 3.152 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/6.283, allocations: 0 / 3.152 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/6.284, allocations: 0 / 3.152 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/6.284, allocations: 27.94 kB / 3.152 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009746/6.293, allocations: 2.97 MB / 3.155 GB, free: 99.45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/6.296, allocations: 0.9056 MB / 3.156 GB, free: 98.53 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/6.297, allocations: 416 kB / 3.156 GB, free: 98.12 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009914/6.298, allocations: 482.2 kB / 3.157 GB, free: 97.56 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/6.299, allocations: 0.5571 MB / 3.157 GB, free: 96.99 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=99): time 3.416e-06/6.299, allocations: 0 / 3.157 GB, free: 96.99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99): time 0.004065/6.303, allocations: 0.9951 MB / 3.158 GB, free: 95.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/6.303, allocations: 244.3 kB / 3.158 GB, free: 95.69 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/6.305, allocations: 0.4984 MB / 3.159 GB, free: 95.19 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/6.305, allocations: 29.7 kB / 3.159 GB, free: 95.15 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/6.305, allocations: 328.4 kB / 3.159 GB, free: 94.82 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/6.305, allocations: 319.2 kB / 3.16 GB, free: 94.51 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.816e-05/6.305, allocations: 0 / 3.16 GB, free: 94.51 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001329/6.306, allocations: 382.8 kB / 3.16 GB, free: 94.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009162/6.307, allocations: 314 kB / 3.16 GB, free: 93.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/6.308, allocations: 430.3 kB / 3.161 GB, free: 93.37 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/6.309, allocations: 418.7 kB / 3.161 GB, free: 92.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/6.309, allocations: 3.938 kB / 3.161 GB, free: 92.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003923/6.313, allocations: 0.9991 MB / 3.162 GB, free: 91.94 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/6.313, allocations: 4 kB / 3.162 GB, free: 91.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/6.313, allocations: 0 / 3.162 GB, free: 91.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/6.314, allocations: 88.86 kB / 3.162 GB, free: 91.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/6.317, allocations: 239.6 kB / 3.162 GB, free: 91.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/6.319, allocations: 1.461 MB / 3.164 GB, free: 90.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/6.322, allocations: 127.4 kB / 3.164 GB, free: 89.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/6.322, allocations: 39.97 kB / 3.164 GB, free: 89.87 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.0003704/6.322, allocations: 112.9 kB / 3.164 GB, free: 89.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/6.323, allocations: 86.97 kB / 3.164 GB, free: 89.66 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00568/6.328, allocations: 1.356 MB / 3.165 GB, free: 88.29 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/6.328, allocations: 12 kB / 3.165 GB, free: 88.28 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/6.328, allocations: 0 / 3.165 GB, free: 88.28 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/6.328, allocations: 3.984 kB / 3.165 GB, free: 88.28 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/6.33, allocations: 0.9674 MB / 3.166 GB, free: 87.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/6.33, allocations: 0 / 3.166 GB, free: 87.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002543/6.333, allocations: 247.7 kB / 3.167 GB, free: 87.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00094/6.334, allocations: 92.64 kB / 3.167 GB, free: 86.93 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/6.334, allocations: 23.97 kB / 3.167 GB, free: 86.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/6.336, allocations: 1.465 MB / 3.168 GB, free: 85.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/6.336, allocations: 7.984 kB / 3.168 GB, free: 85.32 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004082/6.34, allocations: 1.102 MB / 3.169 GB, free: 84.19 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/6.342, allocations: 319.5 kB / 3.17 GB, free: 83.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/6.342, allocations: 0 / 3.17 GB, free: 83.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003787/6.346, allocations: 112 kB / 3.17 GB, free: 83.75 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004668/6.347, allocations: 68.89 kB / 3.17 GB, free: 83.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003717/6.347, allocations: 39.97 kB / 3.17 GB, free: 83.64 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001389/6.349, allocations: 410.9 kB / 3.17 GB, free: 83.25 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002915/6.352, allocations: 370.9 kB / 3.171 GB, free: 82.88 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 (111): * Single equations (assignments): 108 * 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.003308/6.355, allocations: 1.03 MB / 3.172 GB, free: 81.95 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004456/6.359, allocations: 0.9597 MB / 3.172 GB, free: 80.98 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/6.359, allocations: 4 kB / 3.172 GB, free: 80.98 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/6.362, allocations: 0.6184 MB / 3.173 GB, free: 80.36 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/6.365, allocations: 229.3 kB / 3.173 GB, free: 80.13 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/6.376, allocations: 1.584 MB / 3.175 GB, free: 78.52 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002478/6.378, allocations: 1.206 MB / 3.176 GB, free: 77.29 MB / 0.8698 GB Notification: Performance of SimCode: time 2.134e-06/6.379, allocations: 3.938 kB / 3.176 GB, free: 77.28 MB / 0.8698 GB Notification: Performance of Templates: time 0.06685/6.445, allocations: 20.88 MB / 3.196 GB, free: 56.54 MB / 0.8698 GB