Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.356/1.356, allocations: 289.8 MB / 297.1 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009537/0.0009535, allocations: 181.3 kB / 366.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008326/0.0008325, allocations: 95.58 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.494e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5169/0.517, allocations: 116.3 MB / 0.9726 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.039/3.556, allocations: 2.073 GB / 3.045 GB, free: 1.379 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/3.556, allocations: 91.88 kB / 3.045 GB, free: 1.289 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.4576/4.014, allocations: 64.53 MB / 3.108 GB, free: 325.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.7e-05/4.014, allocations: 28 kB / 3.108 GB, free: 325.4 MB / 0.948 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.001749/4.016, allocations: 1.122 MB / 3.109 GB, free: 324.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/4.016, allocations: 8.031 kB / 3.109 GB, free: 324.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/4.017, allocations: 290.3 kB / 3.11 GB, free: 323.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008411/4.018, allocations: 0.6308 MB / 3.11 GB, free: 323.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/4.018, allocations: 28 kB / 3.11 GB, free: 323.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/4.018, allocations: 48 kB / 3.11 GB, free: 323.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001225/4.019, allocations: 1.027 MB / 3.111 GB, free: 322.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/4.02, allocations: 0.7896 MB / 3.112 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/4.02, allocations: 0 / 3.112 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-05/4.02, allocations: 4 kB / 3.112 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/4.02, allocations: 20 kB / 3.112 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/4.024, allocations: 2.457 MB / 3.115 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/4.025, allocations: 0.7236 MB / 3.115 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/4.025, allocations: 250.8 kB / 3.116 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.525e-05/4.026, allocations: 36.67 kB / 3.116 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004366/4.026, allocations: 398 kB / 3.116 GB, free: 317.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 1.743e-06/4.026, allocations: 0 / 3.116 GB, free: 317.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.001361/4.027, allocations: 0.6561 MB / 3.117 GB, free: 316.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/4.027, allocations: 243.9 kB / 3.117 GB, free: 316.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/4.028, allocations: 0.4983 MB / 3.117 GB, free: 315.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/4.028, allocations: 25.7 kB / 3.117 GB, free: 315.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/4.028, allocations: 324 kB / 3.118 GB, free: 315.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/4.028, allocations: 228.5 kB / 3.118 GB, free: 315.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/4.028, allocations: 0 / 3.118 GB, free: 315.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/4.028, allocations: 378.7 kB / 3.118 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/4.029, allocations: 205.3 kB / 3.118 GB, free: 314.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/4.029, allocations: 302.4 kB / 3.119 GB, free: 314.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/4.029, allocations: 251 kB / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/4.029, allocations: 0 / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001272/4.031, allocations: 0.6716 MB / 3.12 GB, free: 313.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/4.031, allocations: 8.062 kB / 3.12 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/4.031, allocations: 4 kB / 3.12 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005692/4.031, allocations: 80.78 kB / 3.12 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006445/4.032, allocations: 155.8 kB / 3.12 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/4.033, allocations: 1.449 MB / 3.121 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/4.034, allocations: 83.53 kB / 3.121 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/4.034, allocations: 23.98 kB / 3.121 GB, free: 311.5 MB / 0.948 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.0001348/4.034, allocations: 134.9 kB / 3.121 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/4.034, allocations: 67.16 kB / 3.122 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/4.036, allocations: 0.9642 MB / 3.122 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/4.036, allocations: 8 kB / 3.123 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/4.036, allocations: 0 / 3.123 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/4.036, allocations: 3.984 kB / 3.123 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/4.037, allocations: 0.7749 MB / 3.123 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/4.037, allocations: 0 / 3.123 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/4.037, allocations: 163.8 kB / 3.123 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/4.038, allocations: 88.67 kB / 3.124 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/4.038, allocations: 19.98 kB / 3.124 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/4.039, allocations: 1.469 MB / 3.125 GB, free: 307.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/4.039, allocations: 4 kB / 3.125 GB, free: 307.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001232/4.041, allocations: 0.7646 MB / 3.126 GB, free: 306.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/4.041, allocations: 275.8 kB / 3.126 GB, free: 306.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/4.041, allocations: 7.984 kB / 3.126 GB, free: 306.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005883/4.042, allocations: 76 kB / 3.126 GB, free: 306.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/4.042, allocations: 48.7 kB / 3.126 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-05/4.042, allocations: 35.97 kB / 3.126 GB, free: 306.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003277/4.042, allocations: 410.8 kB / 3.127 GB, free: 306 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007597/4.043, allocations: 315 kB / 3.127 GB, free: 305.7 MB / 0.948 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.00123/4.044, allocations: 1.003 MB / 3.128 GB, free: 304.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000947/4.045, allocations: 0.6702 MB / 3.128 GB, free: 304.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/4.045, allocations: 0 / 3.128 GB, free: 304.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005633/4.046, allocations: 464.6 kB / 3.129 GB, free: 303.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008106/4.046, allocations: 206.7 kB / 3.129 GB, free: 303.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/4.049, allocations: 1.378 MB / 3.13 GB, free: 302 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006265/4.05, allocations: 1.146 MB / 3.132 GB, free: 300.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.41e-07/4.05, allocations: 0 / 3.132 GB, free: 300.8 MB / 0.948 GB Notification: Performance of Templates: time 0.02069/4.071, allocations: 16.99 MB / 3.148 GB, free: 283.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)