Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.5198/0.5198, allocations: 94.73 MB / 102 MB, free: 10.39 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001162/0.001162, allocations: 173.5 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.188/1.188, allocations: 170.5 MB / 319 MB, free: 9.406 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001703/0.001703, allocations: 109.2 kB / 381 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.796e-06/8.826e-06, allocations: 4.219 kB / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 61.52 MB / 0.4981 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3605/0.4904, allocations: 96.33 MB / 0.5922 GB, free: 6.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.4907, allocations: 83.94 kB / 0.5923 GB, free: 5.938 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.02351/0.5143, allocations: 7.627 MB / 0.5997 GB, free: 14.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.5143, allocations: 4 kB / 0.5997 GB, free: 14.45 MB / 426.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.0009978/0.5154, allocations: 0.5715 MB / 0.6003 GB, free: 13.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5154, allocations: 15.59 kB / 0.6003 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.5156, allocations: 27.7 kB / 0.6003 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.516, allocations: 255.6 kB / 0.6006 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.516, allocations: 12.75 kB / 0.6006 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.5161, allocations: 8 kB / 0.6006 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00109/0.5172, allocations: 0.7686 MB / 0.6014 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.5175, allocations: 182.4 kB / 0.6015 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.5175, allocations: 4 kB / 0.6015 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.5176, allocations: 3.984 kB / 0.6015 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.5176, allocations: 4 kB / 0.6015 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009425/0.5185, allocations: 0.5332 MB / 0.6021 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.5191, allocations: 311.2 kB / 0.6024 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.5192, allocations: 105.4 kB / 0.6025 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.5204, allocations: 1.374 MB / 0.6038 GB, free: 9.828 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.5206, allocations: 174.4 kB / 0.604 GB, free: 9.648 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.5206, allocations: 0 / 0.604 GB, free: 9.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007068/0.5214, allocations: 287 kB / 0.6042 GB, free: 9.363 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.5214, allocations: 85.11 kB / 0.6043 GB, free: 9.262 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.5217, allocations: 237.9 kB / 0.6045 GB, free: 9.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.5218, allocations: 33.64 kB / 0.6046 GB, free: 8.984 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.5218, allocations: 100.7 kB / 0.6047 GB, free: 8.883 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.5219, allocations: 110.3 kB / 0.6048 GB, free: 8.773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.522, allocations: 4 kB / 0.6048 GB, free: 8.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5221, allocations: 334.8 kB / 0.6051 GB, free: 8.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.5223, allocations: 99.97 kB / 0.6052 GB, free: 8.336 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.5225, allocations: 129.5 kB / 0.6053 GB, free: 8.203 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.5228, allocations: 135.9 kB / 0.6055 GB, free: 8.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5228, allocations: 3.938 kB / 0.6055 GB, free: 8.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006057/0.5234, allocations: 334.2 kB / 0.6058 GB, free: 7.734 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5235, allocations: 8.031 kB / 0.6058 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5235, allocations: 4 kB / 0.6058 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5235, allocations: 1.312 kB / 0.6058 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.5238, allocations: 59.91 kB / 0.6058 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5238, allocations: 4 kB / 0.6058 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/0.5239, allocations: 19.73 kB / 0.6059 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.5239, allocations: 16 kB / 0.6059 GB, free: 7.625 MB / 426.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): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.923e-05/0.524, allocations: 107.8 kB / 0.606 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.5241, allocations: 31.62 kB / 0.606 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/0.525, allocations: 438.9 kB / 0.6064 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.525, allocations: 4 kB / 0.6064 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.525, allocations: 3.984 kB / 0.6064 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5251, allocations: 0.9375 kB / 0.6064 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.5254, allocations: 301.8 kB / 0.6067 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.5254, allocations: 0 / 0.6067 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.5256, allocations: 59.91 kB / 0.6068 GB, free: 6.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5256, allocations: 4 kB / 0.6068 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.5257, allocations: 15.98 kB / 0.6068 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5257, allocations: 2.438 kB / 0.6068 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5257, allocations: 0 / 0.6068 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005745/0.5263, allocations: 329.8 kB / 0.6071 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.5264, allocations: 152.7 kB / 0.6073 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.5265, allocations: 4 kB / 0.6073 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.5266, allocations: 4 kB / 0.6073 GB, free: 6.145 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.5267, allocations: 31.81 kB / 0.6073 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.5267, allocations: 16 kB / 0.6073 GB, free: 6.098 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001825/0.5269, allocations: 198.8 kB / 0.6075 GB, free: 5.906 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.5272, allocations: 91.72 kB / 0.6076 GB, free: 5.816 MB / 426.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.0006247/0.5279, allocations: 265.5 kB / 0.6079 GB, free: 5.625 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000469/0.5284, allocations: 307.9 kB / 0.6081 GB, free: 5.312 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5284, allocations: 0 / 0.6081 GB, free: 5.312 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.5286, allocations: 131.8 kB / 0.6083 GB, free: 5.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.5288, allocations: 13.73 kB / 0.6083 GB, free: 5.172 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008206/0.5296, allocations: 402.7 kB / 0.6087 GB, free: 4.758 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/0.5302, allocations: 0.8121 MB / 0.6095 GB, free: 3.914 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5302, allocations: 0 / 0.6095 GB, free: 3.914 MB / 426.7 MB Notification: Performance of Templates: time 0.007751/0.5379, allocations: 3.486 MB / 0.6129 GB, free: 0.5156 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)