Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.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.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") [: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.8317/0.8317, 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.001256/0.001255, allocations: 169.9 kB / 171.6 MB, free: 1.973 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.39/1.39, allocations: 170.5 MB / 373.9 MB, free: 15.81 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.001885/0.001885, allocations: 117.3 kB / 444.4 MB, free: 9.359 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.5979/0.5979, allocations: 73.39 MB / 0.666 GB, free: 62.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.762, allocations: 102.9 MB / 0.7665 GB, free: 1.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.7623, allocations: 80.52 kB / 0.7666 GB, free: 1.262 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01894/0.7813, allocations: 6.443 MB / 0.7729 GB, free: 10.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.7813, allocations: 4 kB / 0.7729 GB, free: 10.92 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009353/0.7823, allocations: 0.5178 MB / 0.7734 GB, free: 10.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.7823, allocations: 8.031 kB / 0.7734 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003942/0.7827, allocations: 47.67 kB / 0.7734 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.7832, allocations: 252.7 kB / 0.7737 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.7832, allocations: 8 kB / 0.7737 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.7833, allocations: 12 kB / 0.7737 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001115/0.7844, allocations: 0.7685 MB / 0.7745 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.7848, allocations: 192.2 kB / 0.7746 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.7848, allocations: 0 / 0.7746 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.7849, allocations: 4 kB / 0.7746 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.7849, allocations: 0.75 kB / 0.7746 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.7859, allocations: 0.54 MB / 0.7752 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.7865, allocations: 313.1 kB / 0.7755 GB, free: 8.129 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.7867, allocations: 101.4 kB / 0.7756 GB, free: 8.027 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/0.7868, allocations: 16.25 kB / 0.7756 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.787, allocations: 169.8 kB / 0.7757 GB, free: 7.836 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.787, allocations: 0 / 0.7757 GB, free: 7.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006213/0.7877, allocations: 289.1 kB / 0.776 GB, free: 7.547 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.7877, allocations: 90.14 kB / 0.7761 GB, free: 7.441 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.7881, allocations: 235 kB / 0.7763 GB, free: 7.203 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.7881, allocations: 25.7 kB / 0.7764 GB, free: 7.172 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.7882, allocations: 104.6 kB / 0.7765 GB, free: 7.066 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.7883, allocations: 110.4 kB / 0.7766 GB, free: 6.957 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/0.7883, allocations: 0 / 0.7766 GB, free: 6.957 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.7885, allocations: 334.7 kB / 0.7769 GB, free: 6.621 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.7887, allocations: 95.97 kB / 0.777 GB, free: 6.527 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.7889, allocations: 122 kB / 0.7771 GB, free: 6.402 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.7891, allocations: 128.2 kB / 0.7772 GB, free: 6.277 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7891, allocations: 0 / 0.7772 GB, free: 6.277 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005666/0.7897, allocations: 330.4 kB / 0.7775 GB, free: 5.949 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.7897, allocations: 4 kB / 0.7775 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.7897, allocations: 0 / 0.7775 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.7897, allocations: 0 / 0.7775 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.79, allocations: 67.91 kB / 0.7776 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.79, allocations: 0 / 0.7776 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.7902, allocations: 23.86 kB / 0.7776 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.7902, allocations: 11.91 kB / 0.7776 GB, free: 5.844 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 (36): * Single equations (assignments): 35 * 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.0001156/0.7904, allocations: 113.5 kB / 0.7777 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.7904, allocations: 23.72 kB / 0.7778 GB, free: 5.707 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000869/0.7913, allocations: 423.9 kB / 0.7782 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.7913, allocations: 5.812 kB / 0.7782 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.7913, allocations: 0 / 0.7782 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.7913, allocations: 0.6562 kB / 0.7782 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.7917, allocations: 297.8 kB / 0.7785 GB, free: 4.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.7917, allocations: 0 / 0.7785 GB, free: 4.977 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.7919, allocations: 63.91 kB / 0.7785 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.792, allocations: 4 kB / 0.7785 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.792, allocations: 11.98 kB / 0.7785 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.792, allocations: 0.7031 kB / 0.7785 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.792, allocations: 3.844 kB / 0.7785 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005299/0.7925, allocations: 322.5 kB / 0.7788 GB, free: 4.562 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.7927, allocations: 156.7 kB / 0.779 GB, free: 4.391 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/0.7928, allocations: 0 / 0.779 GB, free: 4.391 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.7929, allocations: 12.86 kB / 0.779 GB, free: 4.379 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.793, allocations: 23.97 kB / 0.779 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.793, allocations: 11.98 kB / 0.779 GB, free: 4.344 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002251/0.7933, allocations: 210 kB / 0.7792 GB, free: 4.141 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003416/0.7936, allocations: 59.84 kB / 0.7793 GB, free: 4.082 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 (34): * Single equations (assignments): 33 * 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.0006151/0.7942, allocations: 242.2 kB / 0.7795 GB, free: 3.906 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004972/0.7947, allocations: 281.8 kB / 0.7798 GB, free: 3.625 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7948, allocations: 0 / 0.7798 GB, free: 3.625 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.795, allocations: 131.8 kB / 0.7799 GB, free: 3.496 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.7952, allocations: 15.92 kB / 0.7799 GB, free: 3.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009011/0.7961, allocations: 400 kB / 0.7803 GB, free: 3.066 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/0.7966, allocations: 0.8074 MB / 0.7811 GB, free: 2.23 MB / 490.7 MB Notification: Performance of SimCode: time 3.7e-07/0.7967, allocations: 0 / 0.7811 GB, free: 2.23 MB / 490.7 MB Notification: Performance of Templates: time 0.008592/0.8053, allocations: 3.302 MB / 0.7843 GB, free: 15 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)