Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.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.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") [: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.7307/0.7307, allocations: 132.4 MB / 139.7 MB, free: 15.51 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.001148/0.001148, allocations: 167 kB / 171.6 MB, free: 2.023 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.706/1.706, 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.002123/0.002123, allocations: 125.8 kB / 444.4 MB, free: 9.344 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.5249/0.5249, allocations: 73.4 MB / 0.666 GB, free: 62.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.6727, allocations: 103.3 MB / 0.7669 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.673, allocations: 85.91 kB / 0.767 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.02193/0.695, allocations: 6.989 MB / 0.7738 GB, free: 10.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.677e-05/0.6951, allocations: 4 kB / 0.7738 GB, free: 10.01 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001221/0.6963, allocations: 0.5352 MB / 0.7743 GB, free: 9.426 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.6964, allocations: 8.031 kB / 0.7743 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.6965, allocations: 27.62 kB / 0.7743 GB, free: 9.391 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.6971, allocations: 275.6 kB / 0.7746 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.6971, allocations: 12 kB / 0.7746 GB, free: 9.066 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.6972, allocations: 8 kB / 0.7746 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001156/0.6983, allocations: 0.7734 MB / 0.7754 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.6987, allocations: 196.6 kB / 0.7756 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.6988, allocations: 0 / 0.7756 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.6988, allocations: 0.75 kB / 0.7756 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.6988, allocations: 4 kB / 0.7756 GB, free: 8.078 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.7001, allocations: 0.5723 MB / 0.7761 GB, free: 7.469 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.7007, allocations: 324.7 kB / 0.7764 GB, free: 7.141 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.7009, allocations: 116.9 kB / 0.7766 GB, free: 7.023 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007799/0.7017, allocations: 461.4 kB / 0.777 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.702, allocations: 168.5 kB / 0.7772 GB, free: 6.305 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.702, allocations: 0 / 0.7772 GB, free: 6.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.0008776/0.7029, allocations: 342.8 kB / 0.7775 GB, free: 5.965 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.7029, allocations: 89.09 kB / 0.7776 GB, free: 5.859 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.7033, allocations: 255.1 kB / 0.7778 GB, free: 5.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.7033, allocations: 25.7 kB / 0.7778 GB, free: 5.574 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.7034, allocations: 100.8 kB / 0.7779 GB, free: 5.473 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.7035, allocations: 118.3 kB / 0.778 GB, free: 5.355 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/0.7036, allocations: 4 kB / 0.778 GB, free: 5.352 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.7038, allocations: 334.7 kB / 0.7784 GB, free: 5.016 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.7039, allocations: 100.6 kB / 0.7785 GB, free: 4.914 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.7041, allocations: 139 kB / 0.7786 GB, free: 4.773 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.7046, allocations: 166.2 kB / 0.7788 GB, free: 4.613 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7046, allocations: 0 / 0.7788 GB, free: 4.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007656/0.7054, allocations: 398 kB / 0.7791 GB, free: 4.219 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7054, allocations: 4 kB / 0.7791 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7054, allocations: 1.125 kB / 0.7791 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7054, allocations: 0 / 0.7791 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.7057, allocations: 71.94 kB / 0.7792 GB, free: 4.145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.7057, allocations: 4 kB / 0.7792 GB, free: 4.141 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.7059, allocations: 15.75 kB / 0.7792 GB, free: 4.125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.7059, allocations: 19.98 kB / 0.7792 GB, free: 4.105 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.706, allocations: 109.9 kB / 0.7793 GB, free: 3.992 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.7061, allocations: 27.62 kB / 0.7794 GB, free: 3.965 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.7072, allocations: 474.2 kB / 0.7798 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.7072, allocations: 4 kB / 0.7798 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.7072, allocations: 0 / 0.7798 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.7072, allocations: 10.42 kB / 0.7798 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.7077, allocations: 309.7 kB / 0.7801 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7077, allocations: 0 / 0.7801 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.7079, allocations: 71.91 kB / 0.7802 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.7079, allocations: 0 / 0.7802 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.7079, allocations: 11.98 kB / 0.7802 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.708, allocations: 0 / 0.7802 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.708, allocations: 0 / 0.7802 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007642/0.7087, allocations: 385.7 kB / 0.7806 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.7089, allocations: 160.6 kB / 0.7807 GB, free: 2.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.709, allocations: 4 kB / 0.7807 GB, free: 2.516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.7091, allocations: 7.984 kB / 0.7807 GB, free: 2.508 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.7092, allocations: 26.66 kB / 0.7808 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.7092, allocations: 16 kB / 0.7808 GB, free: 2.469 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001922/0.7094, allocations: 205.6 kB / 0.781 GB, free: 2.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003862/0.7098, allocations: 91.84 kB / 0.7811 GB, free: 2.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006383/0.7104, allocations: 250.8 kB / 0.7813 GB, free: 1.988 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004629/0.7109, allocations: 293.3 kB / 0.7816 GB, free: 1.695 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7109, allocations: 0 / 0.7816 GB, free: 1.695 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.7111, allocations: 139.8 kB / 0.7817 GB, free: 1.559 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.7114, allocations: 28.56 kB / 0.7818 GB, free: 1.527 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009912/0.7124, allocations: 420.4 kB / 0.7822 GB, free: 1.094 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/0.713, allocations: 0.8273 MB / 0.783 GB, free: 244 kB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/0.713, allocations: 0 / 0.783 GB, free: 244 kB / 490.7 MB Notification: Performance of Templates: time 0.008767/0.7218, allocations: 3.826 MB / 0.7867 GB, free: 12.49 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)