Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.7697/0.7697, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.001222/0.001223, allocations: 166.2 kB / 171.6 MB, free: 1.98 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.719/1.719, allocations: 170.5 MB / 373.9 MB, free: 15.91 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.00197/0.00197, allocations: 114.9 kB / 444.4 MB, free: 9.457 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.6579/0.658, allocations: 73.39 MB / 0.666 GB, free: 62.43 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.703/6.361, allocations: 2.13 GB / 2.796 GB, free: 68 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/6.362, allocations: 81.98 kB / 2.796 GB, free: 67.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.5947/6.956, allocations: 89.21 MB / 2.883 GB, free: 195.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001047/6.956, allocations: 20.91 kB / 2.883 GB, free: 195.4 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003409/6.96, allocations: 1.087 MB / 2.884 GB, free: 194.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.766e-05/6.96, allocations: 11.56 kB / 2.884 GB, free: 194.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/6.963, allocations: 325 kB / 2.884 GB, free: 194.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/6.964, allocations: 0.5146 MB / 2.885 GB, free: 194.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/6.964, allocations: 24.25 kB / 2.885 GB, free: 194.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/6.964, allocations: 48 kB / 2.885 GB, free: 194.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002089/6.966, allocations: 1.007 MB / 2.886 GB, free: 194.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/6.968, allocations: 0.7033 MB / 2.886 GB, free: 194.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/6.968, allocations: 0 / 2.886 GB, free: 194.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-05/6.968, allocations: 0 / 2.886 GB, free: 194.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/6.968, allocations: 19.28 kB / 2.886 GB, free: 194.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004937/6.973, allocations: 2.239 MB / 2.889 GB, free: 193.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/6.975, allocations: 0.6898 MB / 2.889 GB, free: 193.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005141/6.975, allocations: 265.9 kB / 2.89 GB, free: 193.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007948/6.976, allocations: 476.4 kB / 2.89 GB, free: 193.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006882/6.977, allocations: 405.4 kB / 2.89 GB, free: 193 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=69): time 6.653e-06/6.977, allocations: 0 / 2.89 GB, free: 193 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69): time 0.002449/6.979, allocations: 0.7391 MB / 2.891 GB, free: 192.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/6.979, allocations: 166.3 kB / 2.891 GB, free: 192.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007801/6.98, allocations: 424.7 kB / 2.892 GB, free: 192.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.896e-05/6.98, allocations: 32.23 kB / 2.892 GB, free: 192.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/6.98, allocations: 271.9 kB / 2.892 GB, free: 192.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/6.981, allocations: 219 kB / 2.892 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/6.981, allocations: 0 / 2.892 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000152/6.981, allocations: 361 kB / 2.893 GB, free: 192 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/6.981, allocations: 222.3 kB / 2.893 GB, free: 192 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/6.982, allocations: 295.6 kB / 2.893 GB, free: 191.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009067/6.982, allocations: 344.9 kB / 2.893 GB, free: 191.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/6.983, allocations: 0 / 2.893 GB, free: 191.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002096/6.985, allocations: 0.7905 MB / 2.894 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/6.985, allocations: 3.75 kB / 2.894 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/6.985, allocations: 0 / 2.894 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/6.985, allocations: 78.7 kB / 2.894 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/6.986, allocations: 155.7 kB / 2.894 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/6.988, allocations: 1.381 MB / 2.896 GB, free: 190.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/6.989, allocations: 68.61 kB / 2.896 GB, free: 190.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/6.989, allocations: 33.31 kB / 2.896 GB, free: 190.6 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 (74): * Single equations (assignments): 71 * 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.0002746/6.989, allocations: 127.3 kB / 2.896 GB, free: 190.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/6.989, allocations: 65.19 kB / 2.896 GB, free: 190.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/6.992, allocations: 1.017 MB / 2.897 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/6.992, allocations: 7.531 kB / 2.897 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/6.992, allocations: 3.906 kB / 2.897 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/6.992, allocations: 12.31 kB / 2.897 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/6.993, allocations: 0.7087 MB / 2.898 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/6.993, allocations: 0 / 2.898 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007815/6.994, allocations: 154.6 kB / 2.898 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/6.995, allocations: 81.67 kB / 2.898 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-05/6.995, allocations: 12.66 kB / 2.898 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/6.996, allocations: 1.395 MB / 2.899 GB, free: 188.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/6.996, allocations: 0 / 2.899 GB, free: 188.9 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001973/6.998, allocations: 0.8214 MB / 2.9 GB, free: 188.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/6.999, allocations: 275.2 kB / 2.9 GB, free: 188.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/6.999, allocations: 3.938 kB / 2.9 GB, free: 188.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006665/6.999, allocations: 58.52 kB / 2.9 GB, free: 188.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/7, allocations: 43.14 kB / 2.9 GB, free: 188.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-05/7, allocations: 33.84 kB / 2.9 GB, free: 188.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0005306/7, allocations: 342.9 kB / 2.901 GB, free: 188.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001567/7.002, allocations: 386.4 kB / 2.901 GB, free: 188.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.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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.002987/7.005, allocations: 1.165 MB / 2.902 GB, free: 188.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001471/7.006, allocations: 0.7288 MB / 2.903 GB, free: 188.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/7.006, allocations: 3 kB / 2.903 GB, free: 188.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008164/7.007, allocations: 441.4 kB / 2.903 GB, free: 188 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/7.008, allocations: 148.1 kB / 2.904 GB, free: 187.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/7.012, allocations: 1.248 MB / 2.905 GB, free: 187.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/7.014, allocations: 1.079 MB / 2.906 GB, free: 187 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/7.014, allocations: 0.8438 kB / 2.906 GB, free: 187 MB / 0.6198 GB Notification: Performance of Templates: time 0.0418/7.055, allocations: 17.1 MB / 2.923 GB, free: 183.7 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)