Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [: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.629 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.001038/0.001038, allocations: 180.2 kB / 366.3 MB, free: 1.941 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.029/1.029, allocations: 205.1 MB / 0.6256 GB, free: 5.785 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.0007979/0.0007984, allocations: 89.27 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.71e-06/5.73e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4498, allocations: 116.3 MB / 0.9726 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.223/3.673, allocations: 2.073 GB / 3.045 GB, free: 2.594 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/3.673, allocations: 100.8 kB / 3.045 GB, free: 2.496 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.4812/4.154, allocations: 67.33 MB / 3.111 GB, free: 324.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.223e-05/4.154, allocations: 35.92 kB / 3.111 GB, free: 324.3 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002164/4.156, allocations: 1.122 MB / 3.112 GB, free: 323.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/4.156, allocations: 8.031 kB / 3.112 GB, free: 323.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/4.158, allocations: 230.4 kB / 3.113 GB, free: 322.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/4.159, allocations: 0.6192 MB / 3.113 GB, free: 322.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/4.159, allocations: 31.98 kB / 3.113 GB, free: 322.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/4.159, allocations: 52 kB / 3.113 GB, free: 322.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00136/4.16, allocations: 1.015 MB / 3.114 GB, free: 321.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/4.161, allocations: 0.7778 MB / 3.115 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/4.161, allocations: 0 / 3.115 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/4.161, allocations: 0 / 3.115 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/4.161, allocations: 24 kB / 3.115 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/4.165, allocations: 2.402 MB / 3.117 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008901/4.166, allocations: 0.6624 MB / 3.118 GB, free: 317.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/4.166, allocations: 246.8 kB / 3.118 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005648/4.167, allocations: 474.1 kB / 3.119 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004629/4.167, allocations: 382.1 kB / 3.119 GB, free: 316 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.585e-06/4.167, allocations: 0 / 3.119 GB, free: 316 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001729/4.169, allocations: 0.7106 MB / 3.12 GB, free: 315.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/4.169, allocations: 248 kB / 3.12 GB, free: 315 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/4.17, allocations: 0.4945 MB / 3.12 GB, free: 314.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/4.17, allocations: 29.7 kB / 3.12 GB, free: 314.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/4.17, allocations: 320 kB / 3.121 GB, free: 314.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/4.17, allocations: 228.5 kB / 3.121 GB, free: 313.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/4.17, allocations: 0 / 3.121 GB, free: 313.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.37e-05/4.17, allocations: 374.8 kB / 3.121 GB, free: 313.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/4.17, allocations: 189.3 kB / 3.122 GB, free: 313.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/4.171, allocations: 302.4 kB / 3.122 GB, free: 313 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/4.171, allocations: 303 kB / 3.122 GB, free: 312.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/4.171, allocations: 0 / 3.122 GB, free: 312.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001558/4.173, allocations: 0.7185 MB / 3.123 GB, free: 312 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/4.173, allocations: 4 kB / 3.123 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/4.173, allocations: 0 / 3.123 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/4.173, allocations: 88.83 kB / 3.123 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/4.174, allocations: 143.7 kB / 3.123 GB, free: 311.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/4.176, allocations: 1.461 MB / 3.124 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005755/4.176, allocations: 59.67 kB / 3.125 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/4.176, allocations: 27.97 kB / 3.125 GB, free: 310.1 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 (75): * Single equations (assignments): 74 * 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.0001405/4.177, allocations: 123 kB / 3.125 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/4.177, allocations: 75.06 kB / 3.125 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/4.179, allocations: 1.007 MB / 3.126 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/4.179, allocations: 8 kB / 3.126 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/4.179, allocations: 4 kB / 3.126 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/4.179, allocations: 3.984 kB / 3.126 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007359/4.18, allocations: 0.7633 MB / 3.126 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/4.18, allocations: 0 / 3.126 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/4.18, allocations: 147.8 kB / 3.127 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005316/4.181, allocations: 80.78 kB / 3.127 GB, free: 307.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/4.181, allocations: 15.98 kB / 3.127 GB, free: 307.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/4.182, allocations: 1.484 MB / 3.128 GB, free: 306.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/4.182, allocations: 4.062 kB / 3.128 GB, free: 306.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001655/4.184, allocations: 0.8074 MB / 3.129 GB, free: 305.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/4.184, allocations: 275.9 kB / 3.129 GB, free: 305 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/4.184, allocations: 0 / 3.129 GB, free: 305 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/4.185, allocations: 67.88 kB / 3.129 GB, free: 305 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/4.185, allocations: 52.7 kB / 3.129 GB, free: 304.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/4.185, allocations: 31.97 kB / 3.129 GB, free: 304.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004551/4.186, allocations: 406.9 kB / 3.13 GB, free: 304.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001161/4.187, allocations: 338.9 kB / 3.13 GB, free: 304.2 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 (84): * Single equations (assignments): 81 * 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.002248/4.189, allocations: 1.036 MB / 3.131 GB, free: 303.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001194/4.19, allocations: 0.6585 MB / 3.132 GB, free: 302.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/4.19, allocations: 0 / 3.132 GB, free: 302.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006517/4.191, allocations: 448.6 kB / 3.132 GB, free: 302.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/4.192, allocations: 206.6 kB / 3.132 GB, free: 301.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/4.196, allocations: 1.378 MB / 3.134 GB, free: 300.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007989/4.196, allocations: 1.142 MB / 3.135 GB, free: 299.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/4.196, allocations: 0 / 3.135 GB, free: 299.3 MB / 0.948 GB Notification: Performance of Templates: time 0.02333/4.22, allocations: 16.93 MB / 3.151 GB, free: 282.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)