Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [: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 8.0.0/package.mo): time 2.123/2.123, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 177.3 kB / 360.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001245/0.001244, allocations: 90.42 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.365e-05/1.379e-05, allocations: 7.938 kB / 0.8503 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5604, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.537/5.097, allocations: 2.072 GB / 3.034 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/5.098, allocations: 95.08 kB / 3.034 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.2337/5.332, allocations: 64.53 MB / 3.097 GB, free: 254.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.233e-05/5.332, allocations: 24.66 kB / 3.097 GB, free: 254.9 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002502/5.334, allocations: 1.123 MB / 3.099 GB, free: 254 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/5.334, allocations: 8.969 kB / 3.099 GB, free: 254 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/5.337, allocations: 296 kB / 3.099 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/5.339, allocations: 0.6291 MB / 3.099 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.978e-05/5.339, allocations: 28.88 kB / 3.099 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/5.339, allocations: 47.81 kB / 3.1 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002527/5.341, allocations: 1.031 MB / 3.101 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/5.343, allocations: 0.7823 MB / 3.101 GB, free: 253 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/5.343, allocations: 0 / 3.101 GB, free: 253 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/5.344, allocations: 5.719 kB / 3.101 GB, free: 253 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/5.344, allocations: 20.97 kB / 3.101 GB, free: 253 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006615/5.35, allocations: 2.434 MB / 3.104 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/5.353, allocations: 0.7293 MB / 3.104 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006447/5.354, allocations: 255.2 kB / 3.105 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/5.354, allocations: 35.55 kB / 3.105 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008778/5.355, allocations: 402.4 kB / 3.105 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=74): time 3.126e-06/5.355, allocations: 0 / 3.105 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74): time 0.002828/5.358, allocations: 0.6579 MB / 3.106 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/5.358, allocations: 240.7 kB / 3.106 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/5.359, allocations: 0.5004 MB / 3.106 GB, free: 250.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/5.359, allocations: 27.89 kB / 3.106 GB, free: 250.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/5.36, allocations: 315.8 kB / 3.107 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/5.36, allocations: 233.5 kB / 3.107 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/5.36, allocations: 0 / 3.107 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000126/5.36, allocations: 384 kB / 3.107 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000588/5.361, allocations: 203.5 kB / 3.108 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/5.361, allocations: 297.2 kB / 3.108 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/5.362, allocations: 248.6 kB / 3.108 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/5.362, allocations: 0 / 3.108 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002778/5.365, allocations: 0.6688 MB / 3.109 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/5.365, allocations: 5.531 kB / 3.109 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/5.365, allocations: 5.219 kB / 3.109 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/5.366, allocations: 89.22 kB / 3.109 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/5.368, allocations: 153.3 kB / 3.109 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/5.371, allocations: 1.453 MB / 3.11 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/5.372, allocations: 77.97 kB / 3.11 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/5.372, allocations: 27.77 kB / 3.11 GB, free: 248.2 MB / 0.9323 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 (76): * Single equations (assignments): 75 * 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.000265/5.372, allocations: 122.7 kB / 3.111 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/5.373, allocations: 70.03 kB / 3.111 GB, free: 248 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/5.377, allocations: 0.9723 MB / 3.112 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/5.377, allocations: 14.17 kB / 3.112 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/5.377, allocations: 0 / 3.112 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/5.377, allocations: 4.984 kB / 3.112 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/5.378, allocations: 0.7711 MB / 3.112 GB, free: 247.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/5.378, allocations: 0 / 3.112 GB, free: 247.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/5.38, allocations: 163.5 kB / 3.113 GB, free: 247 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009322/5.381, allocations: 87 kB / 3.113 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.204e-05/5.381, allocations: 15.67 kB / 3.113 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002601/5.383, allocations: 1.484 MB / 3.114 GB, free: 245.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/5.383, allocations: 0 / 3.114 GB, free: 245.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002764/5.386, allocations: 0.7706 MB / 3.115 GB, free: 244.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/5.387, allocations: 273.4 kB / 3.115 GB, free: 244.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/5.387, allocations: 8 kB / 3.115 GB, free: 244.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/5.388, allocations: 63.94 kB / 3.115 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/5.388, allocations: 55.56 kB / 3.115 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.733e-05/5.388, allocations: 31.55 kB / 3.115 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0007069/5.389, allocations: 409.9 kB / 3.116 GB, free: 244.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001565/5.391, allocations: 319.5 kB / 3.116 GB, free: 243.9 MB / 0.9323 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 (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.002027/5.393, allocations: 1.016 MB / 3.117 GB, free: 243 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002029/5.395, allocations: 0.665 MB / 3.118 GB, free: 242.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/5.395, allocations: 0 / 3.118 GB, free: 242.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/5.396, allocations: 465.6 kB / 3.118 GB, free: 242.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/5.398, allocations: 216.2 kB / 3.118 GB, free: 242 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005977/5.404, allocations: 1.381 MB / 3.12 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/5.405, allocations: 1.144 MB / 3.121 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of SimCode: time 9.52e-07/5.405, allocations: 0 / 3.121 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.0415/5.446, allocations: 16.98 MB / 3.137 GB, free: 222.7 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)