Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [: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.426/1.426, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001077/0.001077, allocations: 189.2 kB / 366.3 MB, free: 1.992 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.038/1.038, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0007863/0.0007863, allocations: 102.4 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.755e-06/7.775e-06, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4311, allocations: 116.3 MB / 0.9725 GB, free: 68.67 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.952/3.383, allocations: 2.072 GB / 3.044 GB, free: 3.578 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/3.383, allocations: 87.95 kB / 3.044 GB, free: 3.492 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.4629/3.846, allocations: 62.91 MB / 3.106 GB, free: 329.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.314e-05/3.847, allocations: 20 kB / 3.106 GB, free: 329.7 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001887/3.848, allocations: 1.054 MB / 3.107 GB, free: 328.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/3.848, allocations: 8.031 kB / 3.107 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000852/3.849, allocations: 198.6 kB / 3.107 GB, free: 328.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008285/3.85, allocations: 0.6114 MB / 3.108 GB, free: 327.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/3.85, allocations: 27.91 kB / 3.108 GB, free: 327.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/3.85, allocations: 44 kB / 3.108 GB, free: 327.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001165/3.851, allocations: 0.9679 MB / 3.109 GB, free: 326.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/3.852, allocations: 0.6999 MB / 3.109 GB, free: 326 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/3.852, allocations: 0 / 3.109 GB, free: 326 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/3.852, allocations: 0 / 3.109 GB, free: 326 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/3.852, allocations: 20 kB / 3.109 GB, free: 325.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/3.855, allocations: 2.266 MB / 3.112 GB, free: 323.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007843/3.856, allocations: 0.6448 MB / 3.112 GB, free: 323 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/3.856, allocations: 244.5 kB / 3.113 GB, free: 322.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.396e-05/3.856, allocations: 28.69 kB / 3.113 GB, free: 322.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004116/3.857, allocations: 378.1 kB / 3.113 GB, free: 322.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 1.974e-06/3.857, allocations: 0 / 3.113 GB, free: 322.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001327/3.858, allocations: 0.6288 MB / 3.114 GB, free: 321.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/3.858, allocations: 248 kB / 3.114 GB, free: 321.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/3.859, allocations: 0.4904 MB / 3.114 GB, free: 320.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/3.859, allocations: 37.64 kB / 3.114 GB, free: 320.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/3.859, allocations: 280.2 kB / 3.115 GB, free: 320.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/3.859, allocations: 224.7 kB / 3.115 GB, free: 320.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/3.859, allocations: 0 / 3.115 GB, free: 320.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/3.859, allocations: 374.7 kB / 3.115 GB, free: 319.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/3.859, allocations: 189.3 kB / 3.115 GB, free: 319.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/3.86, allocations: 290.4 kB / 3.116 GB, free: 319.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/3.86, allocations: 243 kB / 3.116 GB, free: 319.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/3.86, allocations: 4 kB / 3.116 GB, free: 319.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001219/3.861, allocations: 0.6415 MB / 3.116 GB, free: 318.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/3.861, allocations: 4 kB / 3.116 GB, free: 318.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/3.861, allocations: 7.969 kB / 3.116 GB, free: 318.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005777/3.862, allocations: 88.72 kB / 3.117 GB, free: 318.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/3.862, allocations: 127.9 kB / 3.117 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/3.864, allocations: 1.476 MB / 3.118 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004906/3.865, allocations: 59.67 kB / 3.118 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/3.865, allocations: 27.97 kB / 3.118 GB, free: 316.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 (72): * Single equations (assignments): 71 * 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.0001293/3.865, allocations: 120.9 kB / 3.118 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/3.865, allocations: 67.16 kB / 3.118 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/3.867, allocations: 0.9217 MB / 3.119 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/3.867, allocations: 8 kB / 3.119 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/3.867, allocations: 4 kB / 3.119 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/3.867, allocations: 3.984 kB / 3.119 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006531/3.867, allocations: 0.7361 MB / 3.12 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/3.867, allocations: 4 kB / 3.12 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/3.868, allocations: 139.8 kB / 3.12 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004815/3.868, allocations: 84.78 kB / 3.12 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/3.868, allocations: 11.98 kB / 3.12 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/3.87, allocations: 1.484 MB / 3.122 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/3.87, allocations: 11.84 kB / 3.122 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0012/3.871, allocations: 0.7373 MB / 3.122 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/3.871, allocations: 279.8 kB / 3.123 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/3.871, allocations: 4 kB / 3.123 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/3.872, allocations: 56.5 kB / 3.123 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/3.872, allocations: 44.7 kB / 3.123 GB, free: 311.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/3.872, allocations: 31.98 kB / 3.123 GB, free: 311.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003658/3.872, allocations: 406.9 kB / 3.123 GB, free: 311.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000866/3.873, allocations: 291.1 kB / 3.123 GB, free: 311 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 (81): * Single equations (assignments): 78 * 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.00149/3.875, allocations: 1.016 MB / 3.124 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000982/3.876, allocations: 0.6467 MB / 3.125 GB, free: 309.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/3.876, allocations: 0 / 3.125 GB, free: 309.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005487/3.876, allocations: 444.8 kB / 3.126 GB, free: 309 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008568/3.877, allocations: 210.5 kB / 3.126 GB, free: 308.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/3.88, allocations: 1.307 MB / 3.127 GB, free: 307.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005806/3.881, allocations: 1.115 MB / 3.128 GB, free: 306.3 MB / 0.948 GB Notification: Performance of SimCode: time 3.1e-07/3.881, allocations: 0 / 3.128 GB, free: 306.3 MB / 0.948 GB Notification: Performance of Templates: time 0.02265/3.903, allocations: 16.36 MB / 3.144 GB, free: 290 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)