Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.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.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") [: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.7691/0.7691, allocations: 132.4 MB / 139.7 MB, free: 15.52 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.001169/0.001169, allocations: 170.9 kB / 171.6 MB, free: 2 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.92 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.001811/0.001811, allocations: 108.1 kB / 444.4 MB, free: 9.445 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.5487/0.5487, allocations: 73.39 MB / 0.666 GB, free: 62.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.705, allocations: 103.7 MB / 0.7672 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.7053, allocations: 83.94 kB / 0.7673 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.02004/0.7254, allocations: 7.036 MB / 0.7742 GB, free: 9.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.7254, allocations: 4 kB / 0.7742 GB, free: 9.578 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009323/0.7264, allocations: 0.531 MB / 0.7747 GB, free: 9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.7264, allocations: 12.03 kB / 0.7747 GB, free: 8.988 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.7266, allocations: 27.7 kB / 0.7748 GB, free: 8.961 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.727, allocations: 256.3 kB / 0.775 GB, free: 8.668 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.7271, allocations: 8 kB / 0.775 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.7271, allocations: 8 kB / 0.775 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00106/0.7282, allocations: 0.7686 MB / 0.7758 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.7285, allocations: 191.6 kB / 0.7759 GB, free: 7.684 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.7285, allocations: 0 / 0.7759 GB, free: 7.684 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.7285, allocations: 0 / 0.7759 GB, free: 7.684 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.7286, allocations: 4 kB / 0.7759 GB, free: 7.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009548/0.7295, allocations: 0.5374 MB / 0.7765 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.73, allocations: 300.2 kB / 0.7768 GB, free: 6.801 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.7302, allocations: 105.4 kB / 0.7769 GB, free: 6.695 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/0.7309, allocations: 461.7 kB / 0.7773 GB, free: 6.152 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.7312, allocations: 176.5 kB / 0.7775 GB, free: 5.969 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 2.345e-06/0.7312, allocations: 4 kB / 0.7775 GB, free: 5.965 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007041/0.7319, allocations: 301.8 kB / 0.7778 GB, free: 5.664 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.732, allocations: 85.11 kB / 0.7778 GB, free: 5.562 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.7323, allocations: 239.1 kB / 0.7781 GB, free: 5.324 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.7323, allocations: 25.7 kB / 0.7781 GB, free: 5.293 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.7324, allocations: 104.7 kB / 0.7782 GB, free: 5.188 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.057e-05/0.7325, allocations: 102.4 kB / 0.7783 GB, free: 5.086 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.7325, allocations: 7.938 kB / 0.7783 GB, free: 5.078 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7326, allocations: 334.8 kB / 0.7786 GB, free: 4.742 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.7328, allocations: 93.02 kB / 0.7787 GB, free: 4.652 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.7329, allocations: 125.7 kB / 0.7788 GB, free: 4.523 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.7333, allocations: 143.6 kB / 0.779 GB, free: 4.383 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7333, allocations: 0 / 0.779 GB, free: 4.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006063/0.7339, allocations: 349.4 kB / 0.7793 GB, free: 4.035 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.7339, allocations: 8.031 kB / 0.7793 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7339, allocations: 0 / 0.7793 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.734, allocations: 0 / 0.7793 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.7342, allocations: 67.91 kB / 0.7794 GB, free: 3.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7342, allocations: 1.484 kB / 0.7794 GB, free: 3.961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.7343, allocations: 23.69 kB / 0.7794 GB, free: 3.938 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.7344, allocations: 13.95 kB / 0.7794 GB, free: 3.926 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 (37): * Single equations (assignments): 36 * 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.0001168/0.7345, allocations: 109.9 kB / 0.7795 GB, free: 3.812 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.7345, allocations: 27.72 kB / 0.7795 GB, free: 3.785 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009367/0.7355, allocations: 446.4 kB / 0.78 GB, free: 3.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.7355, allocations: 4 kB / 0.78 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.7355, allocations: 0 / 0.78 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.7355, allocations: 3.984 kB / 0.78 GB, free: 3.363 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.7359, allocations: 293.8 kB / 0.7803 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7359, allocations: 0 / 0.7803 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.7361, allocations: 63.91 kB / 0.7803 GB, free: 2.977 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.7361, allocations: 4 kB / 0.7803 GB, free: 2.973 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.7361, allocations: 11.98 kB / 0.7803 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.7362, allocations: 1.062 kB / 0.7803 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7362, allocations: 0.5625 kB / 0.7803 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005906/0.7368, allocations: 345.7 kB / 0.7807 GB, free: 2.602 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.7369, allocations: 152.7 kB / 0.7808 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.737, allocations: 0 / 0.7808 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.7371, allocations: 11.98 kB / 0.7808 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.7371, allocations: 23.97 kB / 0.7808 GB, free: 2.398 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.7372, allocations: 15.66 kB / 0.7809 GB, free: 2.387 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001875/0.7374, allocations: 199.3 kB / 0.781 GB, free: 2.191 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000377/0.7377, allocations: 75.88 kB / 0.7811 GB, free: 2.117 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 (35): * Single equations (assignments): 34 * 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.0006112/0.7384, allocations: 264.8 kB / 0.7814 GB, free: 1.918 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000455/0.7388, allocations: 273.4 kB / 0.7816 GB, free: 1.645 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7388, allocations: 0 / 0.7816 GB, free: 1.645 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.739, allocations: 132.4 kB / 0.7818 GB, free: 1.516 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.7393, allocations: 15.91 kB / 0.7818 GB, free: 1.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008509/0.7401, allocations: 406.1 kB / 0.7822 GB, free: 1.082 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/0.7407, allocations: 0.8113 MB / 0.783 GB, free: 248 kB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.7407, allocations: 3.938 kB / 0.783 GB, free: 244 kB / 490.7 MB Notification: Performance of Templates: time 0.0084/0.7491, allocations: 3.501 MB / 0.7864 GB, free: 12.82 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)