Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.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.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.5235/0.5235, allocations: 94.74 MB / 102 MB, free: 10.36 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.001038/0.001038, allocations: 174.6 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.181/1.181, allocations: 170.5 MB / 319 MB, free: 9.43 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.001719/0.001719, allocations: 102 kB / 381 MB, free: 18.17 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.245e-05/1.266e-05, allocations: 4.219 kB / 448.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1372, allocations: 61.51 MB / 0.4981 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3316/0.4688, allocations: 95.72 MB / 0.5916 GB, free: 6.699 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.4692, allocations: 84.98 kB / 0.5917 GB, free: 6.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.02074/0.4899, allocations: 7.082 MB / 0.5986 GB, free: 15.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.49, allocations: 4 kB / 0.5986 GB, free: 15.68 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009428/0.4909, allocations: 0.56 MB / 0.5991 GB, free: 15.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.491, allocations: 8.031 kB / 0.5992 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.4911, allocations: 23.72 kB / 0.5992 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.4915, allocations: 266.5 kB / 0.5994 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.4915, allocations: 8 kB / 0.5994 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.4916, allocations: 8 kB / 0.5994 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001061/0.4926, allocations: 0.7569 MB / 0.6002 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.493, allocations: 186.1 kB / 0.6004 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.493, allocations: 0 / 0.6004 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.493, allocations: 0 / 0.6004 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.493, allocations: 4.75 kB / 0.6004 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009881/0.494, allocations: 0.5301 MB / 0.6009 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004922/0.4945, allocations: 299.3 kB / 0.6012 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.4947, allocations: 101.4 kB / 0.6013 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/0.4954, allocations: 0.6657 MB / 0.6019 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.4957, allocations: 163.4 kB / 0.6021 GB, free: 11.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.517e-06/0.4957, allocations: 2.438 kB / 0.6021 GB, free: 11.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006373/0.4963, allocations: 289.1 kB / 0.6024 GB, free: 11.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.4964, allocations: 81.11 kB / 0.6024 GB, free: 11.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.4967, allocations: 235 kB / 0.6027 GB, free: 11.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.4967, allocations: 33.69 kB / 0.6027 GB, free: 11.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.4968, allocations: 96.69 kB / 0.6028 GB, free: 11.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.712e-05/0.4969, allocations: 110.3 kB / 0.6029 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.4969, allocations: 0 / 0.6029 GB, free: 10.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4971, allocations: 342.7 kB / 0.6032 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.4972, allocations: 91.98 kB / 0.6033 GB, free: 10.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.4974, allocations: 129.9 kB / 0.6034 GB, free: 10.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.4977, allocations: 132.4 kB / 0.6035 GB, free: 10.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4977, allocations: 4.031 kB / 0.6036 GB, free: 10.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005325/0.4982, allocations: 333 kB / 0.6039 GB, free: 9.906 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4983, allocations: 8 kB / 0.6039 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4983, allocations: 0 / 0.6039 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4983, allocations: 0 / 0.6039 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.4985, allocations: 59.91 kB / 0.6039 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4985, allocations: 0 / 0.6039 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4986, allocations: 20.27 kB / 0.604 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.4987, allocations: 15.98 kB / 0.604 GB, free: 9.805 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 (36): * Single equations (assignments): 34 * 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 0.0001024/0.4988, allocations: 112.9 kB / 0.6041 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.4989, allocations: 19.72 kB / 0.6041 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/0.4997, allocations: 422.6 kB / 0.6045 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4997, allocations: 8.547 kB / 0.6045 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4997, allocations: 3.906 kB / 0.6045 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4997, allocations: 1.781 kB / 0.6045 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.5, allocations: 289.9 kB / 0.6048 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5, allocations: 4 kB / 0.6048 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.5002, allocations: 55.97 kB / 0.6048 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.5002, allocations: 3.938 kB / 0.6048 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.5003, allocations: 15.98 kB / 0.6049 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5003, allocations: 3.906 kB / 0.6049 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5003, allocations: 0 / 0.6049 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005755/0.5009, allocations: 323.1 kB / 0.6052 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.5011, allocations: 156.6 kB / 0.6053 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.5011, allocations: 4 kB / 0.6053 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.5012, allocations: 8.922 kB / 0.6053 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.5013, allocations: 23.97 kB / 0.6054 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.5013, allocations: 8 kB / 0.6054 GB, free: 8.316 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001917/0.5015, allocations: 201.5 kB / 0.6056 GB, free: 8.121 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003954/0.5019, allocations: 71.84 kB / 0.6056 GB, free: 8.051 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 (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.0006624/0.5026, allocations: 274.5 kB / 0.6059 GB, free: 7.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004728/0.5031, allocations: 291.2 kB / 0.6062 GB, free: 7.566 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5031, allocations: 4 kB / 0.6062 GB, free: 7.562 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.5033, allocations: 127.8 kB / 0.6063 GB, free: 7.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.5035, allocations: 15.98 kB / 0.6063 GB, free: 7.422 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.5044, allocations: 390.8 kB / 0.6067 GB, free: 7.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.5049, allocations: 0.8125 MB / 0.6075 GB, free: 6.18 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5049, allocations: 0 / 0.6075 GB, free: 6.18 MB / 426.7 MB Notification: Performance of Templates: time 0.007478/0.5124, allocations: 3.293 MB / 0.6107 GB, free: 2.977 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)