Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.7396/0.7396, allocations: 132.4 MB / 139.7 MB, free: 15.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001287/0.001287, allocations: 169.7 kB / 171.6 MB, free: 2.004 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.816/1.816, allocations: 170.5 MB / 373.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001879/0.001879, allocations: 110.8 kB / 444.4 MB, free: 9.363 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.6745/0.6746, allocations: 73.39 MB / 0.666 GB, free: 62.65 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.884/6.559, allocations: 2.13 GB / 2.796 GB, free: 35.66 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/6.56, allocations: 87.94 kB / 2.796 GB, free: 35.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.5539/7.113, allocations: 84.91 MB / 2.879 GB, free: 192.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.073e-05/7.114, allocations: 22.09 kB / 2.879 GB, free: 192.9 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00231/7.116, allocations: 1.096 MB / 2.88 GB, free: 192.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/7.116, allocations: 10.59 kB / 2.88 GB, free: 192.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/7.118, allocations: 328.7 kB / 2.88 GB, free: 192.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/7.119, allocations: 0.5179 MB / 2.881 GB, free: 191.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/7.119, allocations: 28.88 kB / 2.881 GB, free: 191.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/7.119, allocations: 44.84 kB / 2.881 GB, free: 191.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001729/7.121, allocations: 1.011 MB / 2.882 GB, free: 191.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/7.122, allocations: 0.7034 MB / 2.882 GB, free: 190.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/7.122, allocations: 0 / 2.882 GB, free: 190.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.292e-05/7.122, allocations: 2.812 kB / 2.882 GB, free: 190.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/7.122, allocations: 19.06 kB / 2.882 GB, free: 190.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004549/7.127, allocations: 2.222 MB / 2.885 GB, free: 189.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/7.128, allocations: 0.7666 MB / 2.885 GB, free: 188.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/7.129, allocations: 272.4 kB / 2.886 GB, free: 188.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006465/7.129, allocations: 473 kB / 2.886 GB, free: 188.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000541/7.13, allocations: 412 kB / 2.886 GB, free: 187.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=71): time 2.975e-06/7.13, allocations: 0 / 2.886 GB, free: 187.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71): time 0.002387/7.132, allocations: 0.7355 MB / 2.887 GB, free: 187.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/7.132, allocations: 170.7 kB / 2.887 GB, free: 187.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/7.133, allocations: 426 kB / 2.888 GB, free: 187 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.737e-05/7.133, allocations: 32.27 kB / 2.888 GB, free: 186.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/7.133, allocations: 272 kB / 2.888 GB, free: 186.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/7.134, allocations: 220.7 kB / 2.888 GB, free: 186.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/7.134, allocations: 0 / 2.888 GB, free: 186.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001139/7.134, allocations: 363.7 kB / 2.889 GB, free: 186.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/7.134, allocations: 220 kB / 2.889 GB, free: 186.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/7.134, allocations: 301.9 kB / 2.889 GB, free: 185.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007873/7.135, allocations: 336.4 kB / 2.889 GB, free: 185.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/7.135, allocations: 0 / 2.889 GB, free: 185.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001914/7.137, allocations: 0.7881 MB / 2.89 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/7.137, allocations: 4.688 kB / 2.89 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/7.137, allocations: 1.156 kB / 2.89 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/7.138, allocations: 81.92 kB / 2.89 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008613/7.139, allocations: 150.9 kB / 2.89 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/7.14, allocations: 1.385 MB / 2.892 GB, free: 183.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006614/7.141, allocations: 61.72 kB / 2.892 GB, free: 183.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.46e-05/7.141, allocations: 30.88 kB / 2.892 GB, free: 183.9 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: weaDat.tWetBul_TDryBulXi.XiSat:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation" type: Real 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 2 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002389/7.141, allocations: 126.7 kB / 2.892 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/7.141, allocations: 61.41 kB / 2.892 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/7.144, allocations: 1.05 MB / 2.893 GB, free: 183.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/7.144, allocations: 10.59 kB / 2.893 GB, free: 183.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/7.144, allocations: 0 / 2.893 GB, free: 183.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/7.144, allocations: 5.141 kB / 2.893 GB, free: 183.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/7.148, allocations: 1.739 MB / 2.895 GB, free: 182.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/7.148, allocations: 0 / 2.895 GB, free: 182.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/7.149, allocations: 165.3 kB / 2.895 GB, free: 182 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/7.149, allocations: 80.69 kB / 2.895 GB, free: 182 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/7.149, allocations: 15.61 kB / 2.895 GB, free: 182 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/7.151, allocations: 1.378 MB / 2.896 GB, free: 180.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/7.151, allocations: 0 / 2.896 GB, free: 180.6 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002038/7.153, allocations: 0.9089 MB / 2.897 GB, free: 180.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/7.153, allocations: 273.5 kB / 2.897 GB, free: 179.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/7.153, allocations: 7.719 kB / 2.897 GB, free: 179.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006654/7.154, allocations: 57.72 kB / 2.897 GB, free: 179.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/7.154, allocations: 46.47 kB / 2.898 GB, free: 179.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.121e-05/7.154, allocations: 33.09 kB / 2.898 GB, free: 179.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0004331/7.155, allocations: 344.4 kB / 2.898 GB, free: 179.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001484/7.156, allocations: 389.3 kB / 2.898 GB, free: 179.5 MB / 0.6198 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002061/7.158, allocations: 1.179 MB / 2.899 GB, free: 179 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001412/7.159, allocations: 0.7331 MB / 2.9 GB, free: 178.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/7.16, allocations: 1.125 kB / 2.9 GB, free: 178.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000712/7.16, allocations: 451.1 kB / 2.901 GB, free: 178.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000841/7.161, allocations: 144.4 kB / 2.901 GB, free: 178.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/7.165, allocations: 1.259 MB / 2.902 GB, free: 177.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008538/7.166, allocations: 1.091 MB / 2.903 GB, free: 176.8 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/7.166, allocations: 0 / 2.903 GB, free: 176.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.02993/7.196, allocations: 17.1 MB / 2.92 GB, free: 164 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)