Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.346/1.346, allocations: 285.5 MB / 292.8 MB, free: 10.4 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.001039/0.001039, allocations: 173.3 kB / 361.1 MB, free: 7.105 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.068/1.068, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007756/0.0007756, allocations: 89.86 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.582e-06, allocations: 4 kB / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4312, allocations: 115.3 MB / 0.9637 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.828/3.259, allocations: 2.072 GB / 3.035 GB, free: 62.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/3.259, allocations: 89.88 kB / 3.035 GB, free: 61.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.4422/3.702, allocations: 64.54 MB / 3.098 GB, free: 313.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.349e-05/3.702, allocations: 29.83 kB / 3.098 GB, free: 313.1 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.001592/3.703, allocations: 1.114 MB / 3.1 GB, free: 312.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/3.703, allocations: 8.438 kB / 3.1 GB, free: 312.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/3.705, allocations: 294.1 kB / 3.1 GB, free: 312.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008285/3.706, allocations: 0.6264 MB / 3.1 GB, free: 312.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/3.706, allocations: 33.94 kB / 3.101 GB, free: 312.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/3.706, allocations: 52.62 kB / 3.101 GB, free: 312.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001268/3.707, allocations: 1.028 MB / 3.102 GB, free: 312.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/3.708, allocations: 0.7819 MB / 3.102 GB, free: 312.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/3.708, allocations: 0 / 3.102 GB, free: 312.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/3.708, allocations: 7.094 kB / 3.102 GB, free: 312.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/3.708, allocations: 20.75 kB / 3.102 GB, free: 312.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/3.711, allocations: 2.438 MB / 3.105 GB, free: 311.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/3.713, allocations: 0.7323 MB / 3.105 GB, free: 311.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/3.713, allocations: 258.6 kB / 3.106 GB, free: 311.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/3.713, allocations: 30.17 kB / 3.106 GB, free: 311.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/3.714, allocations: 401.2 kB / 3.106 GB, free: 311.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 3.366e-06/3.714, allocations: 0 / 3.106 GB, free: 311.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.001393/3.715, allocations: 0.6595 MB / 3.107 GB, free: 311.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/3.715, allocations: 239.8 kB / 3.107 GB, free: 310.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/3.716, allocations: 0.4989 MB / 3.107 GB, free: 310.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/3.716, allocations: 25.7 kB / 3.107 GB, free: 310.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/3.716, allocations: 320.5 kB / 3.108 GB, free: 310.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/3.716, allocations: 235.6 kB / 3.108 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/3.716, allocations: 0 / 3.108 GB, free: 310.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/3.716, allocations: 380.2 kB / 3.108 GB, free: 310.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/3.716, allocations: 199.9 kB / 3.109 GB, free: 310.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/3.717, allocations: 303.3 kB / 3.109 GB, free: 310 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/3.717, allocations: 250.5 kB / 3.109 GB, free: 310 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/3.717, allocations: 0 / 3.109 GB, free: 310 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001318/3.718, allocations: 0.6674 MB / 3.11 GB, free: 309.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/3.718, allocations: 7.719 kB / 3.11 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/3.718, allocations: 0 / 3.11 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/3.719, allocations: 84.81 kB / 3.11 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/3.72, allocations: 155.4 kB / 3.11 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/3.721, allocations: 1.46 MB / 3.111 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/3.722, allocations: 75.81 kB / 3.111 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/3.722, allocations: 30.72 kB / 3.112 GB, free: 308.6 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.0001361/3.722, allocations: 118.9 kB / 3.112 GB, free: 308.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-05/3.722, allocations: 69.75 kB / 3.112 GB, free: 308.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/3.724, allocations: 0.9584 MB / 3.113 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/3.724, allocations: 19.41 kB / 3.113 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/3.724, allocations: 2.5 kB / 3.113 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/3.724, allocations: 3.844 kB / 3.113 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007089/3.725, allocations: 0.7766 MB / 3.113 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/3.725, allocations: 0 / 3.113 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006697/3.726, allocations: 161.7 kB / 3.114 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000489/3.726, allocations: 87.14 kB / 3.114 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/3.726, allocations: 16.56 kB / 3.114 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/3.728, allocations: 1.475 MB / 3.115 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/3.728, allocations: 0 / 3.115 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001289/3.729, allocations: 0.7683 MB / 3.116 GB, free: 306.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/3.729, allocations: 282.9 kB / 3.116 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/3.729, allocations: 3.25 kB / 3.116 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006099/3.73, allocations: 71.33 kB / 3.116 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/3.73, allocations: 53.08 kB / 3.116 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/3.73, allocations: 27.06 kB / 3.116 GB, free: 306.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003609/3.73, allocations: 409.4 kB / 3.117 GB, free: 306.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008249/3.731, allocations: 319.5 kB / 3.117 GB, free: 306.6 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.00135/3.733, allocations: 1.014 MB / 3.118 GB, free: 306.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001009/3.734, allocations: 0.6627 MB / 3.119 GB, free: 306.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/3.734, allocations: 2.375 kB / 3.119 GB, free: 306.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005944/3.734, allocations: 465.1 kB / 3.119 GB, free: 306.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/3.735, allocations: 217.4 kB / 3.119 GB, free: 306.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/3.738, allocations: 1.379 MB / 3.121 GB, free: 305.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006552/3.739, allocations: 1.146 MB / 3.122 GB, free: 305.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.51e-07/3.739, allocations: 1.406 kB / 3.122 GB, free: 305.1 MB / 0.948 GB Notification: Performance of Templates: time 0.023/3.762, allocations: 16.99 MB / 3.138 GB, free: 303.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)