Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.8506/0.8506, allocations: 132.4 MB / 139.7 MB, free: 15.53 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.001661/0.001661, allocations: 176.7 kB / 171.6 MB, free: 2.035 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.556/1.556, allocations: 170.5 MB / 373.9 MB, free: 15.82 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.001631/0.001631, allocations: 122.1 kB / 444.4 MB, free: 9.332 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.6751/0.6751, allocations: 73.39 MB / 0.666 GB, free: 62.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.687/6.362, allocations: 2.13 GB / 2.796 GB, free: 65.86 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/6.362, allocations: 91.94 kB / 2.796 GB, free: 65.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.7218/7.084, allocations: 93.36 MB / 2.887 GB, free: 194.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.523e-05/7.084, allocations: 26.66 kB / 2.888 GB, free: 194.5 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002845/7.087, allocations: 1.139 MB / 2.889 GB, free: 193.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/7.087, allocations: 8.328 kB / 2.889 GB, free: 193.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/7.091, allocations: 362.5 kB / 2.889 GB, free: 193.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/7.092, allocations: 0.5348 MB / 2.89 GB, free: 193.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/7.092, allocations: 31.25 kB / 2.89 GB, free: 193.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/7.092, allocations: 56.59 kB / 2.89 GB, free: 193.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002428/7.095, allocations: 1.053 MB / 2.891 GB, free: 193.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/7.097, allocations: 0.7693 MB / 2.891 GB, free: 193.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/7.097, allocations: 2.844 kB / 2.891 GB, free: 193.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/7.097, allocations: 0 / 2.891 GB, free: 193.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/7.097, allocations: 23.28 kB / 2.891 GB, free: 193.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005703/7.103, allocations: 2.385 MB / 2.894 GB, free: 192.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/7.104, allocations: 0.6939 MB / 2.894 GB, free: 192.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/7.105, allocations: 267.9 kB / 2.895 GB, free: 192.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000858/7.106, allocations: 476.7 kB / 2.895 GB, free: 192.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008873/7.107, allocations: 424.4 kB / 2.896 GB, free: 192.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=71): time 4.679e-06/7.107, allocations: 0 / 2.896 GB, free: 192.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71): time 0.004534/7.111, allocations: 0.8666 MB / 2.896 GB, free: 192 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/7.111, allocations: 166.3 kB / 2.897 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/7.112, allocations: 429.5 kB / 2.897 GB, free: 191.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.631e-05/7.112, allocations: 30.08 kB / 2.897 GB, free: 191.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/7.113, allocations: 301.2 kB / 2.897 GB, free: 191.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/7.113, allocations: 227.1 kB / 2.897 GB, free: 191.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/7.113, allocations: 0 / 2.897 GB, free: 191.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001554/7.113, allocations: 363.4 kB / 2.898 GB, free: 191 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/7.114, allocations: 227.2 kB / 2.898 GB, free: 191 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/7.114, allocations: 302.6 kB / 2.898 GB, free: 190.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/7.117, allocations: 470.3 kB / 2.899 GB, free: 190.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/7.117, allocations: 0 / 2.899 GB, free: 190.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004375/7.121, allocations: 0.9223 MB / 2.9 GB, free: 190.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/7.121, allocations: 5 kB / 2.9 GB, free: 190.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/7.121, allocations: 1.797 kB / 2.9 GB, free: 190.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007884/7.122, allocations: 81.41 kB / 2.9 GB, free: 190.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/7.124, allocations: 154.7 kB / 2.9 GB, free: 190.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/7.126, allocations: 1.369 MB / 2.901 GB, free: 189.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/7.127, allocations: 70.38 kB / 2.901 GB, free: 189.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/7.127, allocations: 33.17 kB / 2.901 GB, free: 189.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 (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.0003381/7.127, allocations: 127.8 kB / 2.901 GB, free: 189.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/7.127, allocations: 61.12 kB / 2.902 GB, free: 189.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005892/7.133, allocations: 1.165 MB / 2.903 GB, free: 189.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/7.133, allocations: 15.77 kB / 2.903 GB, free: 189.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/7.133, allocations: 0 / 2.903 GB, free: 189.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/7.133, allocations: 7.828 kB / 2.903 GB, free: 189.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/7.135, allocations: 0.732 MB / 2.903 GB, free: 189.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/7.135, allocations: 1.344 kB / 2.903 GB, free: 189.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/7.137, allocations: 160.3 kB / 2.904 GB, free: 189.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006748/7.137, allocations: 83.12 kB / 2.904 GB, free: 189.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.637e-05/7.137, allocations: 16.55 kB / 2.904 GB, free: 189.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/7.139, allocations: 1.383 MB / 2.905 GB, free: 187.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/7.139, allocations: 5 kB / 2.905 GB, free: 187.9 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004746/7.144, allocations: 0.9481 MB / 2.906 GB, free: 187.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007837/7.145, allocations: 275.2 kB / 2.906 GB, free: 187.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/7.145, allocations: 1.969 kB / 2.906 GB, free: 187.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/7.146, allocations: 62 kB / 2.906 GB, free: 187.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/7.146, allocations: 50.59 kB / 2.906 GB, free: 187.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/7.147, allocations: 34.25 kB / 2.906 GB, free: 187.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0008894/7.147, allocations: 348 kB / 2.907 GB, free: 187.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002413/7.15, allocations: 401.8 kB / 2.907 GB, free: 187.4 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 (79): * Single equations (assignments): 76 * 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.003833/7.154, allocations: 1.178 MB / 2.908 GB, free: 187.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002512/7.156, allocations: 0.7403 MB / 2.909 GB, free: 187 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/7.156, allocations: 5.344 kB / 2.909 GB, free: 187 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/7.158, allocations: 445.2 kB / 2.909 GB, free: 186.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/7.159, allocations: 143 kB / 2.909 GB, free: 186.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006666/7.166, allocations: 1.298 MB / 2.911 GB, free: 186.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/7.167, allocations: 1.103 MB / 2.912 GB, free: 185.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.923e-06/7.167, allocations: 0 / 2.912 GB, free: 185.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.04985/7.217, allocations: 17.44 MB / 2.929 GB, free: 179.7 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)