Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.376/1.376, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.001053/0.001053, allocations: 181.3 kB / 366.3 MB, free: 1.988 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.122/1.122, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0008723/0.0008723, allocations: 88.34 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/9.077e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4815, allocations: 116.3 MB / 0.9726 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.138/3.619, allocations: 2.072 GB / 3.044 GB, free: 4.207 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/3.619, allocations: 95.94 kB / 3.045 GB, free: 4.113 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.473/4.092, allocations: 58.59 MB / 3.102 GB, free: 333.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.656e-05/4.093, allocations: 27.94 kB / 3.102 GB, free: 333.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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002181/4.095, allocations: 1.066 MB / 3.103 GB, free: 332.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/4.095, allocations: 15.97 kB / 3.103 GB, free: 332.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/4.096, allocations: 194.6 kB / 3.103 GB, free: 332.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/4.097, allocations: 0.6072 MB / 3.104 GB, free: 331.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/4.097, allocations: 27.94 kB / 3.104 GB, free: 331.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/4.097, allocations: 47.98 kB / 3.104 GB, free: 331.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001334/4.098, allocations: 0.9718 MB / 3.105 GB, free: 330.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/4.1, allocations: 0.7077 MB / 3.105 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/4.1, allocations: 0.5625 kB / 3.105 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/4.1, allocations: 8 kB / 3.105 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/4.1, allocations: 16 kB / 3.105 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/4.103, allocations: 2.241 MB / 3.108 GB, free: 327.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008937/4.104, allocations: 0.7162 MB / 3.108 GB, free: 326.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/4.104, allocations: 243.5 kB / 3.108 GB, free: 326.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/4.104, allocations: 36.08 kB / 3.109 GB, free: 326.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004473/4.105, allocations: 374 kB / 3.109 GB, free: 325.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=72): time 3.196e-06/4.105, allocations: 4 kB / 3.109 GB, free: 325.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=72): time 0.00144/4.106, allocations: 0.6249 MB / 3.11 GB, free: 325.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/4.106, allocations: 240 kB / 3.11 GB, free: 325 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/4.107, allocations: 0.4945 MB / 3.11 GB, free: 324.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/4.107, allocations: 33.69 kB / 3.11 GB, free: 324.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/4.107, allocations: 288.9 kB / 3.111 GB, free: 324.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/4.107, allocations: 228.5 kB / 3.111 GB, free: 324 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/4.107, allocations: 0 / 3.111 GB, free: 324 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/4.107, allocations: 374.8 kB / 3.111 GB, free: 323.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/4.108, allocations: 189.2 kB / 3.111 GB, free: 323.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/4.108, allocations: 290.4 kB / 3.112 GB, free: 323.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/4.108, allocations: 227.7 kB / 3.112 GB, free: 322.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/4.108, allocations: 4 kB / 3.112 GB, free: 322.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001268/4.11, allocations: 0.6443 MB / 3.112 GB, free: 322.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/4.11, allocations: 4 kB / 3.112 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/4.11, allocations: 0 / 3.112 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005906/4.11, allocations: 84.84 kB / 3.112 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/4.111, allocations: 140.3 kB / 3.113 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/4.112, allocations: 1.461 MB / 3.114 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/4.113, allocations: 67.55 kB / 3.114 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/4.113, allocations: 23.98 kB / 3.114 GB, free: 320.3 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 (74): * Single equations (assignments): 73 * 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.00014/4.113, allocations: 118.1 kB / 3.114 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/4.113, allocations: 67.16 kB / 3.114 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/4.115, allocations: 0.9409 MB / 3.115 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/4.115, allocations: 8 kB / 3.115 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/4.115, allocations: 7.938 kB / 3.115 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/4.115, allocations: 3.984 kB / 3.115 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/4.118, allocations: 1.681 MB / 3.117 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/4.118, allocations: 0 / 3.117 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/4.118, allocations: 155.8 kB / 3.117 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004878/4.119, allocations: 80.78 kB / 3.117 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/4.119, allocations: 15.98 kB / 3.117 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/4.12, allocations: 1.476 MB / 3.119 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/4.12, allocations: 0 / 3.119 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001285/4.121, allocations: 0.8244 MB / 3.119 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/4.122, allocations: 275.8 kB / 3.12 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/4.122, allocations: 4 kB / 3.12 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/4.122, allocations: 59.95 kB / 3.12 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/4.123, allocations: 48.69 kB / 3.12 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/4.123, allocations: 31.98 kB / 3.12 GB, free: 314.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003987/4.123, allocations: 406.9 kB / 3.12 GB, free: 313.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009568/4.124, allocations: 298.8 kB / 3.12 GB, free: 313.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.conTim.tNext,weaDat.conTimMin.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.001531/4.126, allocations: 1.02 MB / 3.121 GB, free: 312.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00103/4.127, allocations: 0.639 MB / 3.122 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/4.127, allocations: 4 kB / 3.122 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005858/4.127, allocations: 444.6 kB / 3.123 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/4.128, allocations: 210.6 kB / 3.123 GB, free: 311.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/4.131, allocations: 1.327 MB / 3.124 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006337/4.132, allocations: 1.127 MB / 3.125 GB, free: 309 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/4.132, allocations: 0 / 3.125 GB, free: 309 MB / 0.948 GB Notification: Performance of Templates: time 0.02254/4.154, allocations: 16.33 MB / 3.141 GB, free: 292.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)