Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [: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.8056/0.8056, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001575/0.001575, allocations: 171.7 kB / 171.6 MB, free: 2.031 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.416/1.416, allocations: 170.5 MB / 373.9 MB, free: 15.98 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.00187/0.00187, allocations: 116.8 kB / 444.5 MB, free: 9.5 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.6657/0.6657, allocations: 73.4 MB / 0.666 GB, free: 62.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.855/6.521, allocations: 2.13 GB / 2.796 GB, free: 49.46 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000414/6.521, allocations: 87.94 kB / 2.796 GB, free: 49.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.7085/7.23, allocations: 90.91 MB / 2.885 GB, free: 194.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001152/7.23, allocations: 31.47 kB / 2.885 GB, free: 194 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003349/7.233, allocations: 1.147 MB / 2.886 GB, free: 193.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.735e-05/7.234, allocations: 10.97 kB / 2.886 GB, free: 193.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/7.237, allocations: 420.1 kB / 2.887 GB, free: 193.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/7.239, allocations: 0.5417 MB / 2.887 GB, free: 192.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/7.239, allocations: 28.06 kB / 2.887 GB, free: 192.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/7.239, allocations: 53.94 kB / 2.887 GB, free: 192.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002568/7.241, allocations: 1.064 MB / 2.888 GB, free: 192.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/7.243, allocations: 0.781 MB / 2.889 GB, free: 192.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/7.243, allocations: 3.594 kB / 2.889 GB, free: 192.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.705e-05/7.243, allocations: 5.812 kB / 2.889 GB, free: 192.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/7.243, allocations: 20.84 kB / 2.889 GB, free: 192.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005898/7.249, allocations: 2.425 MB / 2.892 GB, free: 191.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/7.251, allocations: 0.7757 MB / 2.892 GB, free: 190.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/7.252, allocations: 277.2 kB / 2.893 GB, free: 190.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009288/7.253, allocations: 472.6 kB / 2.893 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009178/7.254, allocations: 440.7 kB / 2.894 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=73): time 4.358e-06/7.254, allocations: 0 / 2.894 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73): time 0.002638/7.257, allocations: 0.7672 MB / 2.894 GB, free: 189.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/7.257, allocations: 162.4 kB / 2.894 GB, free: 189.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007718/7.257, allocations: 425.1 kB / 2.895 GB, free: 189.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.314e-05/7.258, allocations: 33.48 kB / 2.895 GB, free: 189.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/7.258, allocations: 301.6 kB / 2.895 GB, free: 189.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/7.258, allocations: 233.2 kB / 2.895 GB, free: 188.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/7.258, allocations: 0 / 2.895 GB, free: 188.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001618/7.258, allocations: 362.3 kB / 2.896 GB, free: 188.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/7.259, allocations: 238.8 kB / 2.896 GB, free: 188.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/7.259, allocations: 313.9 kB / 2.896 GB, free: 188.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009503/7.26, allocations: 342.7 kB / 2.897 GB, free: 188.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/7.26, allocations: 0 / 2.897 GB, free: 188.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002265/7.263, allocations: 0.8188 MB / 2.897 GB, free: 188 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/7.263, allocations: 7.625 kB / 2.897 GB, free: 188 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/7.263, allocations: 3.719 kB / 2.897 GB, free: 188 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007423/7.263, allocations: 77.14 kB / 2.897 GB, free: 187.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009999/7.264, allocations: 167.7 kB / 2.898 GB, free: 187.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/7.266, allocations: 1.374 MB / 2.899 GB, free: 186.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009202/7.267, allocations: 85.16 kB / 2.899 GB, free: 186.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/7.267, allocations: 29.3 kB / 2.899 GB, free: 186.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 (78): * Single equations (assignments): 75 * 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.0003137/7.268, allocations: 122.8 kB / 2.899 GB, free: 186.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/7.268, allocations: 62.19 kB / 2.899 GB, free: 186.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/7.271, allocations: 1.068 MB / 2.9 GB, free: 186.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/7.271, allocations: 8.75 kB / 2.9 GB, free: 186.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/7.271, allocations: 0 / 2.9 GB, free: 186.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/7.271, allocations: 10.02 kB / 2.9 GB, free: 186.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/7.273, allocations: 0.7459 MB / 2.901 GB, free: 185.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/7.273, allocations: 0 / 2.901 GB, free: 185.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009117/7.274, allocations: 173.7 kB / 2.901 GB, free: 185.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/7.274, allocations: 76.08 kB / 2.901 GB, free: 185.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.768e-05/7.274, allocations: 19.73 kB / 2.901 GB, free: 185.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/7.276, allocations: 1.393 MB / 2.903 GB, free: 184.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/7.276, allocations: 0 / 2.903 GB, free: 184.2 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002291/7.278, allocations: 0.8513 MB / 2.903 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005337/7.278, allocations: 285 kB / 2.904 GB, free: 183.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/7.279, allocations: 2.562 kB / 2.904 GB, free: 183.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008013/7.279, allocations: 71.17 kB / 2.904 GB, free: 183.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/7.28, allocations: 47.67 kB / 2.904 GB, free: 183.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.197e-05/7.28, allocations: 38.61 kB / 2.904 GB, free: 183.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0005068/7.28, allocations: 344 kB / 2.904 GB, free: 183.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001737/7.282, allocations: 400 kB / 2.905 GB, free: 183.1 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 (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.002981/7.285, allocations: 1.172 MB / 2.906 GB, free: 182.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001671/7.287, allocations: 0.7608 MB / 2.906 GB, free: 182.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/7.287, allocations: 0 / 2.906 GB, free: 182.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009242/7.288, allocations: 462.3 kB / 2.907 GB, free: 182 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/7.289, allocations: 160.5 kB / 2.907 GB, free: 181.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/7.295, allocations: 1.308 MB / 2.908 GB, free: 181.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/7.296, allocations: 1.108 MB / 2.909 GB, free: 180.4 MB / 0.6198 GB Notification: Performance of SimCode: time 1.803e-06/7.296, allocations: 0 / 2.909 GB, free: 180.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.04395/7.34, allocations: 17.77 MB / 2.927 GB, free: 170.8 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)