Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [: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.7741/0.7741, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001415/0.001415, allocations: 170 kB / 171.6 MB, free: 2.012 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.609/1.609, allocations: 170.5 MB / 373.8 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.001783/0.001783, allocations: 114.4 kB / 444.4 MB, free: 9.379 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.4442/0.4443, allocations: 73.4 MB / 0.666 GB, free: 62.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.675/5.119, allocations: 2.132 GB / 2.798 GB, free: 59.96 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/5.12, allocations: 83.95 kB / 2.798 GB, free: 59.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.7105/5.83, allocations: 109.3 MB / 2.905 GB, free: 192.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001803/5.83, allocations: 32.75 kB / 2.905 GB, free: 192 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.005042/5.836, allocations: 1.348 MB / 2.907 GB, free: 191.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/5.836, allocations: 11 kB / 2.907 GB, free: 191.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/5.839, allocations: 376.4 kB / 2.907 GB, free: 190.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/5.841, allocations: 0.6613 MB / 2.908 GB, free: 190.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/5.841, allocations: 81.55 kB / 2.908 GB, free: 190.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004193/5.841, allocations: 69.38 kB / 2.908 GB, free: 190.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003425/5.845, allocations: 1.276 MB / 2.909 GB, free: 190.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/5.848, allocations: 1.024 MB / 2.91 GB, free: 189.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/5.848, allocations: 3.938 kB / 2.91 GB, free: 189.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/5.848, allocations: 0 / 2.91 GB, free: 189.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/5.848, allocations: 34.81 kB / 2.91 GB, free: 189.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008404/5.857, allocations: 3.358 MB / 2.913 GB, free: 187.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/5.858, allocations: 0.849 MB / 2.914 GB, free: 186.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006476/5.859, allocations: 353.2 kB / 2.914 GB, free: 186.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008079/5.86, allocations: 485.8 kB / 2.915 GB, free: 186 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009838/5.861, allocations: 0.5131 MB / 2.915 GB, free: 185.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=92): time 7.283e-06/5.861, allocations: 0 / 2.915 GB, free: 185.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92): time 0.003212/5.864, allocations: 0.9312 MB / 2.916 GB, free: 185.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/5.864, allocations: 166.3 kB / 2.916 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/5.865, allocations: 0.5197 MB / 2.917 GB, free: 184.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/5.866, allocations: 28.58 kB / 2.917 GB, free: 184.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/5.866, allocations: 409.9 kB / 2.917 GB, free: 184.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/5.866, allocations: 284.8 kB / 2.918 GB, free: 184.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/5.866, allocations: 0 / 2.918 GB, free: 184.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001826/5.867, allocations: 386.3 kB / 2.918 GB, free: 183.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006321/5.867, allocations: 298.5 kB / 2.918 GB, free: 183.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007742/5.868, allocations: 409.2 kB / 2.919 GB, free: 183.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/5.869, allocations: 438.7 kB / 2.919 GB, free: 183.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/5.869, allocations: 5.125 kB / 2.919 GB, free: 183.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003027/5.872, allocations: 1.025 MB / 2.92 GB, free: 182.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/5.872, allocations: 9.031 kB / 2.92 GB, free: 182.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/5.872, allocations: 1.062 kB / 2.92 GB, free: 182.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/5.873, allocations: 80.14 kB / 2.92 GB, free: 182.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/5.874, allocations: 207.8 kB / 2.92 GB, free: 182.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/5.876, allocations: 1.387 MB / 2.922 GB, free: 181.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/5.877, allocations: 77.17 kB / 2.922 GB, free: 181.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/5.877, allocations: 37.28 kB / 2.922 GB, free: 181.2 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: 4 * 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 (104): * Single equations (assignments): 101 * 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.0004086/5.878, allocations: 134 kB / 2.922 GB, free: 181.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/5.878, allocations: 79.16 kB / 2.922 GB, free: 181 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004832/5.883, allocations: 1.307 MB / 2.923 GB, free: 180.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.417e-05/5.883, allocations: 14.97 kB / 2.923 GB, free: 180.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/5.883, allocations: 3.984 kB / 2.923 GB, free: 180.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/5.883, allocations: 5.109 kB / 2.923 GB, free: 180.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006332/5.89, allocations: 2.277 MB / 2.926 GB, free: 178.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/5.89, allocations: 0 / 2.926 GB, free: 178.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/5.891, allocations: 193.2 kB / 2.926 GB, free: 178.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005397/5.891, allocations: 83.66 kB / 2.926 GB, free: 178.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/5.891, allocations: 16.48 kB / 2.926 GB, free: 178.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/5.893, allocations: 1.4 MB / 2.927 GB, free: 177.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/5.893, allocations: 1.312 kB / 2.927 GB, free: 177.4 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003648/5.897, allocations: 1.092 MB / 2.928 GB, free: 176.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/5.898, allocations: 337.4 kB / 2.929 GB, free: 176.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/5.898, allocations: 2.844 kB / 2.929 GB, free: 176.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/5.9, allocations: 67.59 kB / 2.929 GB, free: 176.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/5.9, allocations: 61.11 kB / 2.929 GB, free: 176.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/5.9, allocations: 40.94 kB / 2.929 GB, free: 176.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001401/5.902, allocations: 447.8 kB / 2.929 GB, free: 176.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003525/5.905, allocations: 472.9 kB / 2.93 GB, free: 176.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.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 100 * 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.003814/5.909, allocations: 1.17 MB / 2.931 GB, free: 175.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002478/5.911, allocations: 0.9285 MB / 2.932 GB, free: 175.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/5.911, allocations: 5.125 kB / 2.932 GB, free: 175.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/5.913, allocations: 0.5258 MB / 2.932 GB, free: 174.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/5.914, allocations: 164.6 kB / 2.932 GB, free: 174.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/5.921, allocations: 1.643 MB / 2.934 GB, free: 174 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/5.922, allocations: 1.236 MB / 2.935 GB, free: 173.1 MB / 0.6198 GB Notification: Performance of SimCode: time 1.683e-06/5.923, allocations: 1.5 kB / 2.935 GB, free: 173.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.03852/5.961, allocations: 20.07 MB / 2.955 GB, free: 155.1 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)